Also define off_t in stdio.h for UNIX98.
[glibc.git] / ChangeLog
blob715acc66ab07155f4695dd7beb7b7c933d745936
1 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4         [__USE_LARGEFILE64] (off64_t): Likewise.
5         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6         variable.
8 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
12 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15         * resolv/res_init.c: Likewise.
16         * resolv/res_mkquery.c: Likewise.
18 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20         * resolv/res_init.c (isascii): Do not define.  Use definition in
21         <ctype.h>.
22         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
23         (LOG_AUTH): Remove.
24         (SPRINTF): Remove, adjust caller.
25         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
27 2016-04-28  Florian Weimer  <fweimer@redhat.com>
29         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
30         SUNSECURITY conditional.
31         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
33 2016-04-28  Florian Weimer  <fweimer@redhat.com>
35         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
36         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
37         Remove BSD-related preprocessor conditionals.
38         * conf/portability.h: Remove.
40 2016-04-28  Florian Weimer  <fweimer@redhat.com>
42         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
43         * resolv/res_data.c: Likewise.
45 2016-04-28  Florian Weimer  <fweimer@redhat.com>
47         * resolv/res_comp.c: Remove code conditional on __ultrix__.
48         * resolv/res_data.c: Remove code conditional on ultrix.
50 2016-04-28  Florian Weimer  <fweimer@redhat.com>
52         * resolv/res_init.c (RFC1535): Do not define.  Remove
53         RFC1535 preprocessor conditionals.
54         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
55         because there configuration options which make the resolver
56         behavior different.
58 2016-04-28  Florian Weimer  <fweimer@redhat.com>
60         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
61         RESOLVSORT preprocessor conditionals.
62         * resolv/nss_dns/dns-host.c: Likewise.
63         * resolv/res_init.c: Likewise.
65 2016-04-28  Florian Weimer  <fweimer@redhat.com>
67         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
68         is never defined.
70 2016-04-28  Florian Weimer  <fweimer@redhat.com>
72         * inet/inet_lnaof.c: Remove SCSS keyword.
73         * inet/inet_mkadr.c: Likewise.
74         * inet/inet_net.c: Likewise.
75         * inet/inet_netof.c: Likewise.
76         * inet/rcmd.c: Likewise.
77         * inet/rexec.c: Likewise.
78         * inet/ruserpass.c: Likewise.
80 2016-04-28  Florian Weimer  <fweimer@redhat.com>
82         * resolv/inet_addr.c: Remove _LIBC conditionals.
83         * resolv/res_data.c: Likewise.
84         * resolv/res_init.c: Likewise.
85         * resolv/res_mkquery.c: Likewise.
86         * resolv/res_libc.c: Update comment.
87         * resolv/README: Update.
89 2016-04-28  Florian Weimer  <fweimer@redhat.com>
91         * resolv/gethnamaddr.c: Remove SCSS keyword.
92         * resolv/herror.c: Likewise.
93         * resolv/inet_addr.c: Likewise.
94         * resolv/inet_net_ntop.c: Likewise.
95         * resolv/inet_net_pton.c: Likewise.
96         * resolv/inet_neta.c: Likewise.
97         * resolv/inet_ntop.c: Likewise.
98         * resolv/inet_pton.c: Likewise.
99         * resolv/ns_date.c: Remove RCS keyword.
100         * resolv/ns_name.c: Likewise.
101         * resolv/ns_netint.c: Likewise.
102         * resolv/ns_parse.c: Likewise.
103         * resolv/ns_print.c: Likewise.
104         * resolv/ns_samedomain.c: Likewise.
105         * resolv/ns_ttl.c: Likewise.
106         * resolv/nsap_addr.c: Likewise.
107         * resolv/res_comp.c: Remove SCSS and RCS keyword.
108         * resolv/res_data.c: Remove RCS keyword.
109         * resolv/res_debug.c: Remove SCSS and RCS keyword.
110         * resolv/res_init.c: Likewise.
111         * resolv/res_mkquery.c: Likewise.
112         * resolv/res_query.c: Likewise.
113         * resolv/res_send.c: Likewise.
115 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
117         * conform/data/stdio.h-data (fdopen): Expect also for
118         [XPG3 || XPG4].
120         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
121         (fseeko): Likewise.
122         (ftello): Likewise.
123         (ftrylockfile): Likewise.
124         (funlockfile): Likewise.
125         (getc_unlocked): Likewise.
126         (getchar_unlocked): Likewise.
127         (putc_unlocked): Likewise.
128         (putchar_unlocked): Likewise.
130 2016-04-27  Florian Weimer  <fweimer@redhat.com>
132         [BZ #19868]
133         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
134         DNS packet syntax checks (which were not needed before).  Skip
135         over non-PTR records.
137 2016-04-27  Florian Weimer  <fweimer@redhat.com>
139         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
140         definition.  Include <stddef.h> instead.
142 2016-04-27  Florian Weimer  <fweimer@redhat.com>
144         [BZ #19831]
145         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
146         function.
147         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
148         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
150 2016-04-27  Florian Weimer  <fweimer@redhat.com>
152         [BZ #19862]
153         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
154         (getanswer_r): Do not call syslog.
155         (gaih_getanswer_slice): Likewise.
156         * resolv/gethnamaddr.c (AskedForGot): Remove.
157         (getanswer): Do not call syslog.
158         (gethostbyaddr): Likewise.
160 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
162         * conform/data/signal.h-data (union sigval): Expect also if
163         [XOPEN2K].
164         (struct sigevent): Likewise.
165         (SIGEV_NONE): Likewise.
166         (SIGEV_SIGNAL): Likewise.
167         (SIGEV_THREAD): Likewise.
168         (SIGRTMIN): Likewise.
169         (SIGRTMAX): Likewise.
170         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
171         variable.
172         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
174 2016-04-27  Florian Weimer  <fweimer@redhat.com>
176         [BZ #19830]
177         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
178         (gaih_getanswer_slice): Likewise.
179         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
180         Also check for availability of RR metadata.
182 2016-04-27  Florian Weimer  <fweimer@redhat.com>
184         [BZ #19825]
185         * resolv/res_send.c (send_vc): Remove early *resplen2
186         initialization.  Set *resplen2 on socket error.  Call
187         close_and_return_error for other errors.
189 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
191         * sysdeps/unix/sysv/linux/netiucv/iucv.h
192         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
193         (SCM_IUCV_TRGCLS): New define.
195 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
197         [BZ #20005]
198         * libio/fmemopen.c (fmemopen_write): Update internal position after
199         write.
200         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
201         * stdio-common/tst-fmemopen4.c: New file..
203 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
205         [BZ #19996]
206         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
207         not [__USE_XOPEN2K].
208         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
209         variable.
211         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
212         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
213         variable.
215         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
216         [__USE_XOPEN2K8].
217         [__USE_LARGEFILE64] (off64_t): Likewise.
218         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
219         variable.
221 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
223         [BZ #19989]
224         * libio/stdio.h (cuserid): Do not declare if
225         [__USE_XOPEN2K && !__USE_GNU].
226         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
227         variable.
229 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
231         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
232         (sysdep_routines): Add P8 and PPC64 strcspn targets.
233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
234         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
235         ifunc'ed strcspn.
236         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
237         [EALIGN]: Removed.
238         [END]: Likewise
239         [STRSPN]: Define instead of the above to control symbol name.
240         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
241         New file.
242         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
243         Likewise.
244         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
245         Likewise.
246         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
247         Likewise.
248         * sysdeps/powerpc/powerpc64/power8/strspn.S:
249         [INITIAL_MASK]: New macro.
250         [STRCSPN]: Likewise.
251         [UPDATE_MASK]: Likewise.
252         [USE_AS_STRCSPN]: Lisewise.
254 2016-04-25  Florian Weimer  <fweimer@redhat.com>
256         [BZ #19931]
257         * stdio-common/tst-vfprintf-width-prec.c: New file.
258         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
259         (tests-special): Add tst-vfprintf-width-prec-mem.out.
260         (generated): Add mtrace-related files.
261         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
262         (tst-%-mem.out): New pattern rule, replaces
263         tst-printf-bz18872-mem.out.
264         * stdio-common/vfprintf.c (vfprintf): When handling a precision
265         specifier, deallocate any previously allocated work buffer.
267 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
269         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
270         Add nop before __startcontext, add explaining comments.
272 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
274         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
275         any more. Notably since IPV6_PKTINFO has been reintroduced with a
276         completely different API.
278         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
279         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
280         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
281         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
282         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
283         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
284         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
285         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
286         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
287         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
289 2016-04-23   H.J. Lu  <hongjiu.lu@intel.com>
291         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
293 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
295         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
296         when it is the default of 0.
298 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
300         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
301         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
302         (sysdep_routines): Add new strcasestr targets.
303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
304         (__libc_ifunc_impl_list): Likewise.
305         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
306         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
307         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
308         * sysdeps/powerpc/powerpc64/power8/Makefile:
309         New file to add strcasestr-ppc64 to sysdep_routines.
310         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
311         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
313 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
315         * benchtests/Makefile (wcsmbs-benchset): Include only for
316         native builds and runs.
317         (LOCALES): Likewise.
318         (bench-build): Build timing-type here instead of the bench
319         target.  Generate locale only for native builds.
320         * benchtests/README: Add note for cross-building.
322         * benchtests/Makefile (bench-clean): Clean up extra-objs.
324         * benchtests/README: Update README to include instructions on
325         using bench-build.
327         * Makefile.in (bench-build): New target.
328         * Rules (PHONY): Add bench-build target.
329         * benchtests/Makefile (bench): Depend on bench-build.
330         (bench-build): New target.
332 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
334         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
335         profil_reply_port.
336         (profile_waiter): Do not initialize profil_reply_port.
337         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
338         frequency instead of tick length in us.
340 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
342         [BZ #18712]
343         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
344         (__old_mempcpy_small): Likewise.
345         (__old_strcpy_small): Likewise.
346         (__old_stpcpy_small): Likewise.
347         (__old_strpbrk_c2): Fix compat symbol name.
348         (__old_strpbrk_c3): Likewise.
349         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
350         (__mempcpy_small): Remove.
351         (__strcpy_small): Remove.
352         (__stpcpy_small): Remove.
354 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
356         [BZ #19400]
357         * locale/iso-639.def: Add the Talossan/tzl language.
359 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
361         [BZ #16983]
362         * locale/programs/ld-address.c (address_finish): Update postal_fmt
363         comment.  Add "ln" to strchr check on postal_fmt.
365 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
367         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
368         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
369         tel_dom_fmt.
371 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
373         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
374         (sysdep_routines): Added __strlen_power8.
375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
376         __strlen_power8 entry.
377         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
378         Implementation for POWER8.
379         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
380         for __strlen_power8.
381         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
382         Implementation for POWER8.
384 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
386         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
388 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
390         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
391         Goldmont and Airmont processors.
393 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
395         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
396         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
397         (__STRING2_SMALL_GET32): Remove.
398         (memset): Remove.
399         (__memset_1): Remove.
400         (__memset_gc): Remove.
401         (__mempcpy): Remove.
402         (mempcpy): Remove.
403         (__mempcpy_args): Remove.
404         (strchr): Remove.
405         (strcpy): Remove.
406         (strcpy_args): Remove.
407         (__stpcpy_args): Remove.
408         (__strcmp_cc): Remove.
409         (__strcmp_gc): Remove.
410         (strstr): Remove.
412 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
414         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
415         * nis/nis_call.c (nis_server_cache_add): Likewise.
417 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
419         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
421 2016-04-14  Florian Weimer  <fweimer@redhat.com>
423         * malloc/arena.c (__malloc_fork_lock_parent)
424         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
425         internal_function attribute.
427 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
429         * stdio-common/printf_fp.c (__printf_fp_l):
430         Rename ___printf_fp_l to __printf_fp_l and
431         remove strong alias. Use libc_hidden_def instead
432         of ldbl_hidden_def macro.
434 2016-04-14  Florian Weimer  <fweimer@redhat.com>
436         Remove malloc hooks from fork handler.  They are no longer needed
437         because malloc runs right before fork, and no malloc calls from
438         other fork handlers are not possible anymore.
439         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
440         declarations.
441         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
442         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
443         (atfork_recursive_cntr): Remove.
444         (__malloc_fork_lock_parent): Do not override malloc hooks and
445         thread_arena.
446         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
447         thread_arena.
448         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
449         thread_arena instead of save_arena.
451 2016-04-14  Florian Weimer  <fweimer@redhat.com>
453         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
454         (thread_atfork, thread_atfork_static): Remove.
455         * sysdeps/mach/hurd/malloc-machine.h:
456         (thread_atfork, thread_atfork_static): Remove.
458 2016-04-14  Florian Weimer  <fweimer@redhat.com>
460         [BZ #19431]
461         Run the malloc fork handler as late as possible to avoid deadlocks.
462         * malloc/malloc-internal.h: New file.
463         * malloc/malloc.c: Include it.
464         * malloc/arena.c (ATFORK_MEM): Remove.
465         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
466         Update comment.
467         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
468         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
469         Remove outdated comment.
470         (ptmalloc_init): Do not call thread_atfork.  Remove
471         thread_atfork_static.
472         * malloc/tst-malloc-fork-deadlock.c: New file.
473         * Makefile (tests): Add tst-malloc-fork-deadlock.
474         (tst-malloc-fork-deadlock): Link against libpthread.
475         * manual/memory.texi (Aligned Memory Blocks): Update safety
476         annotation comments.
477         * sysdeps/nptl/fork.c (__libc_fork): Call
478         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
479         __malloc_fork_unlock_child.
480         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
482 2016-04-14  Florian Weimer  <fweimer@redhat.com>
484         [BZ #19613]
485         Remove union wait.
486         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
487         (w_stopsig, w_stopval): Remove.
488         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
489         stat_loc argument.
490         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
491         (__WAIT_STATUS_DEFN): Remove.
492         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
493         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
494         (wait, wait3, wait4): Use int * for the stat_loc argument.
495         * posix/wait.c (__wait): Likewise.
496         * posix/wait3.c (__wait3): Likewise.
497         * posix/wait4.c (__wait4): Likewise.
498         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
499         (__WAIT_STATUS_DEFN): Remove.
500         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
501         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
502         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
503         argument.
504         * sysdeps/posix/wait.c (__libc_wait): Likewise.
505         * sysdeps/posix/wait3.c (__wait3): Likewise.
506         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
507         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
508         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
509         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
510         stat_loc argument.
511         * manual/process.texi (BSD Wait Functions): Remove union wait.
513 2016-04-13  Andreas Schwab  <schwab@suse.de>
515         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
516         (test-extras): Add tst-tlsalign-vars.
517         * math/Makefile: Wrap long lines.
518         (libm-vec-test-wrappers): Define.
519         (test-extras): Add $(libm-vec-test-wrappers).
520         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
521         * nss/Makefile (extra-test-objs): Add nss_test1.os.
522         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
523         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
524         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
525         (extra-test-objs): Add corresponding objects.
527 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
529         [BZ #19928]
530         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
531         New.
532         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
533         times of shared cache size.
534         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
535         (VMOVNT): New.
536         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
537         (VMOVNT): Likewise.
538         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
539         (VMOVNT): Likewise.
540         (VMOVU): Changed to movups for smaller code sizes.
541         (VMOVA): Changed to movaps for smaller code sizes.
542         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
543         comments.
544         (PREFETCH): New.
545         (PREFETCH_SIZE): Likewise.
546         (PREFETCHED_LOAD_SIZE): Likewise.
547         (PREFETCH_ONE_SET): Likewise.
548         Rewrite to use forward and backward loops, which move 4 vector
549         registers at a time, to support overlapping addresses and use
550         non temporal store if size is above the threshold and there is
551         no overlap between destination and source.
553 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
555         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
556         Include dl-vdso.
557         * sysdeps/unix/sysv/linux/mips/Versions: Add
558         __vdso_clock_gettime.
559         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
560         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
561         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
562         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
563         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
564         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
565         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
566         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
567         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
569 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
571         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
572         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
574         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
575         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
576         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
579         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
581         syscalls generation.
582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
583         [__NR_pwrite64] (__NR_write): Remove define.
584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
585         [__NR_pwrite64] (__NR_write): Remove define.
586         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
587         Remove define.
588         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
589         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
590         Remove define.
591         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
592         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
593         Linux implementation as base.
594         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
596         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
597         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
599         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
602         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
603         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
604         syscall generation.
605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
606         [__NR_pread64] (__NR_pread): Remove define.
607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
608         [__NR_pread64] (__NR_pread): Likewise.
609         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
610         define.
611         (__libc_pread): Use SYSCALL_LL macro on offset argument.
612         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
613         Remove define.
614         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
615         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
616         Linux implementation as base.
617         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
618         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
619         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
621         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
622         definition.
623         (__ALIGNMENT_COUNT): Likewise.
624         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
625         (__ALIGNMENT_COUNT): Likewise.
626         (SYSCALL_LL): New define.
627         (SYSCALL_LL64): Likewise.
628         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
629         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
630         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
631         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
633         * sysdeps/unix/sysv/linux/arm/kernel-features.h
634         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
635         * sysdeps/unix/sysv/linux/mips/kernel-features.h
636         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
637         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
638         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
640 2016-04-11  Florian Weimer  <fweimer@redhat.com>
642         [BZ #19865]
643         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
644         original buffer before retry.
646 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
648         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
649         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
650         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
651         GLRO(dl_auxv) list.
652         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
653         including <ldsodefs.h>.
654         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
656 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
658         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
659         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
660         $(CPPFLAGS).
662 2016-04-09  Khem Raj  <raj.khem@gmail.com>
664         [BZ #17950]
665         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
666         Add -mfpmath=387.
668 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
670         * sysdeps/i386/configure.ac: Change == to = when calling test.
671         * sysdeps/x86_64/configure.ac: Likewise.
672         * sysdeps/i386/configure: Regenerated.
673         * sysdeps/x86_64/configure: Likewise.
675 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
677         [BZ #16137]
678         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
679         * benchtests/bench-strcoll.c (input_files): Likewise.
680         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
681         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
682         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
684 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
686         [BZ #19929]
687         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
688         [__USE_XOPEN2K8 && !__USE_GNU].
689         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
690         variable.
692         [BZ #19925]
693         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
694         define if [!__USE_MISC && __USE_XOPEN2K].
695         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
696         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
697         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
698         Likewise.
699         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
700         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
701         variable.
702         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
704 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
706         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
707         (sysdep_routines): Add new strspn targets.
708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
709         (__libc_ifunc_impl_list): Add strspn.
710         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
711         New file.
712         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
713         Likewise.
714         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
715         Likewise.
716         * sysdeps/powerpc/powerpc64/power8/strspn.S:
717         Likewise.
719 2016-04-07  Florian Weimer  <fweimer@redhat.com>
721         * misc/hsearch_r.c: Include <limits.h>.
723 2016-04-07  Florian Weimer  <fweimer@redhat.com>
725         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
727 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
729         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
730         (MEMCPY_SYMBOL): New.
731         (MEMPCPY_SYMBOL): Likewise.
732         (MEMMOVE_CHK_SYMBOL): Likewise.
733         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
734         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
735         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
736         Provide alias for memcpy in libc.a and ld.so.
738 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
740         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
741         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
742         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
743         Disabled fro now.
744         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
745         symbols.  Properly check USE_MULTIARCH on __memset symbols.
747 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
749         * benchtests/Makefile (string-benchset): Add memcpy-large,
750         memmove-large and memset-large.
751         * benchtests/bench-memcpy-large.c: New file.
752         * benchtests/bench-memmove-large.c: Likewise.
753         * benchtests/bench-memmove-large.c: Likewise.
754         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
756 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
758         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
759         32-bit displacement to avoid long nop between instructions.
761 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
763         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
764         a comment on VMOVU and VMOVA.
766 2016-04-04  Florian Weimer  <fweimer@redhat.com>
768         [BZ #19633]
769         Use specified locale for number formatting in strfmon_l.
770         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
771         (__nl_lookup_word): New inline functions.
772         * include/printf.h (__print_fp_l): Declare.
773         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
774         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
775         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
776         (___printf_fp): New function.
777         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
778         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
779         * stdlib/tst-strfmon_l.c (do_test): New test.
780         * stdlib/Makefile (tests): Add kt.
781         (LOCALES): Build additional locales.
782         (tst-strfmon_l.out): Require locales.
784 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
786         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
787         if not in libc.
788         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
789         Likewise.
790         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
791         Likewise.
792         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
793         Likewise.
795 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
797         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
798         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
799         with unaligned_erms.
800         (__memmove_erms): Skip if source == destination.
801         (__memmove_unaligned_erms): Don't check source == destination
802         first.
804 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
806         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
807         bit_arch_Fast_Copy_Backward for Intel Core proessors.
809 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
811         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
812         * string/strspn.c (strspn): Likewise.
814 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
816         * benchtests/bench-memset.c (do_test): Support 64-byte
817         alignment.
818         (test_main): Test 64-byte alignment.
820 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
822         * benchtests/bench-memmove.c (test_main): Test 64-byte
823         alignment.
825 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
827         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
829 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
831         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
832         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
833         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
835         * string/strpbrk.c (strpbrk): Rewrite function.
836         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
837         (__strpbrk_c2): Likewise.
838         (__strpbrk_c3): Likewise.
839         * string/string-inlines.c
840         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
841         Likewise.
842         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
843         Likewise.
845         * string/strspn.c (strcspn): Rewrite function.
846         * string/bits/string2.h (strspn): Use __builtin_strcspn.
847         (__strspn_c1): Remove inline function.
848         (__strspn_c2): Likewise.
849         (__strspn_c3): Likewise.
850         * string/string-inlines.c
851         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
852         compatibility symbol.
853         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
854         Likewise.
855         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
856         Likewise.
857         * string/string-inlines.c: Include generic version.
859 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
860             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
862         * string/Version (libc): Add GLIBC_2.24.
863         * string/strcspn.c (strcspn): Rewrite function.
864         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
865         (__strcspn_c1): Remove inline function.
866         (__strcspn_c2): Likewise.
867         (__strcspn_c3): Likewise.
868         * string/string-inline.c
869         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
870         compatibility symbol.
871         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
872         Likewise.
873         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
874         Likewise.
875         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
877 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
879         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
880         Use ahi instead of aghi to adjust stack pointer.
882 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
884         [BZ #19853]
885         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
886         TEST to take significant digits as second parameter.
887         [TEST]: Redefine in terms of TEST_N taking 30
888         significant digits.
889         (do_test): Add test case to demonstrate precision
890         failure in the ldbl-128ibm printf.
891         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
892         (__mpn_extract_long_double): Carry 7 extra intermediate
893         bits of precision to aide computing difference when
894         signs differ.
896 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
898         [BZ #19881]
899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
900         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
901         memset-avx512-unaligned-erms.
902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
903         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
904         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
905         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
906         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
907         __memset_sse2_unaligned_erms, __memset_erms,
908         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
909         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
910         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
911         file.
912         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
913         Likewise.
914         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
915         Likewise.
916         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
917         Likewise.
919 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
921         [BZ #19776]
922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
923         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
924         memmove-avx512-unaligned-erms.
925         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
926         (__libc_ifunc_impl_list): Test
927         __memmove_chk_avx512_unaligned_2,
928         __memmove_chk_avx512_unaligned_erms,
929         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
930         __memmove_chk_sse2_unaligned_2,
931         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
932         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
933         __memmove_avx512_unaligned_erms, __memmove_erms,
934         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
935         __memcpy_chk_avx512_unaligned_2,
936         __memcpy_chk_avx512_unaligned_erms,
937         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
938         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
939         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
940         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
941         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
942         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
943         __mempcpy_chk_avx512_unaligned_erms,
944         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
945         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
946         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
947         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
948         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
949         __mempcpy_erms.
950         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
951         file.
952         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
953         Likwise.
954         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
955         Likwise.
956         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
957         Likwise.
959 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
961         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
962         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
963         (La_s390_64_regs): Likewise.
964         (La_s390_32_retval): Append vector register lrv_v24.
965         (La_s390_64_retval): Likeweise.
966         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
967         Handle extended structs La_s390_32_regs and La_s390_32_retval.
968         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
969         Handle extended structs La_s390_64_regs and La_s390_64_retval.
971 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
973         [BZ #19916]
974         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
975         to create a non-vector/vector version for _dl_runtime_resolve and
976         _dl_runtime_profile. Move implementation to ...
977         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
978         (_dl_runtime_resolve) Save and restore fpr/vrs.
979         (_dl_runtime_profile) Save and restore vrs and fix some issues
980         if _dl_call_pltexit is called.
981         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
982         Choose the correct resolver function if running on a machine with vx.
983         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
984         to create a non-vector/vector version for _dl_runtime_resolve and
985         _dl_runtime_profile. Move implementation to ...
986         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
987         (_dl_runtime_resolve) Save and restore fpr/vrs.
988         (_dl_runtime_profile) Save and restore vrs and fix some issues
989         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
990         Choose the correct resolver function if running on a machine with vx.
992 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
994         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
996 2016-03-31  Florian Weimer  <fweimer@redhat.com>
998         [BZ #19509]
999         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1000         skip_map != NULL.
1001         * elf/tst-dlsym-error.c: New file.
1002         * elf/Makefile (tests): Add tst-dlsym-error.
1003         (tst-dlsym-error): Link against libdl.
1005 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1007         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1008         (__ASSUME_FUTIMESAT): Remove macro.
1009         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1011 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1013         [BZ #19879]
1014         CVE-2016-3075
1015         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1016         copy name.
1018 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1020         [BZ #19837]
1021         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1022         error if parse_line fails.
1024 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1026         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1027         (index_cpu_ERMS): Likewise.
1028         (reg_ERMS): Likewise.
1030 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1032         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1033         PER_LINUX_FDPIC): Add.
1035 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1038         memcpy-avx512-no-vzeroupper.
1039         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1040         to ...
1041         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1042         (MEMCPY): Don't define.
1043         (MEMCPY_CHK): Likewise.
1044         (MEMPCPY): Likewise.
1045         (MEMPCPY_CHK): Likewise.
1046         (MEMPCPY_CHK): Renamed to ...
1047         (__mempcpy_chk_avx512_no_vzeroupper): This.
1048         (MEMPCPY_CHK): Renamed to ...
1049         (__mempcpy_chk_avx512_no_vzeroupper): This.
1050         (MEMCPY_CHK): Renamed to ...
1051         (__memmove_chk_avx512_no_vzeroupper): This.
1052         (MEMCPY): Renamed to ...
1053         (__memmove_avx512_no_vzeroupper): This.
1054         (__memcpy_avx512_no_vzeroupper): New alias.
1055         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1057 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1059         [BZ #18858]
1060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1061         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1062         and mempcpy-avx512-no-vzeroupper.
1063         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1064         New.
1065         (MEMPCPY): Likewise.
1066         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1067         (MEMPCPY_CHK): New.
1068         (MEMPCPY): Likewise.
1069         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1070         (MEMPCPY): Likewise.
1071         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1072         (MEMPCPY): Likewise.
1073         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1074         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1075         Likewise.
1076         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1077         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1079 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1080              Amit Pawar  <Amit.Pawar@amd.com>
1082         [BZ #19583]
1083         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1084         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1085         processors.  Set Fast_Copy_Backward for AMD Excavator
1086         processors.
1087         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1088         New.
1089         (index_arch_Fast_Unaligned_Copy): Likewise.
1090         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1091         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1093 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1095         [BZ #19791]
1096         * resolv/res_send.c (close_and_return_error): New function.
1097         (send_dg): Initialize *resplen2 after reopen failure.  Call
1098         close_and_return_error for error returns.  On error paths without
1099         __res_iclose, initialze *resplen2 explicitly.  Update comment for
1100         successful return.
1102 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1104         [BZ# 19860]
1105         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1106         zero if the compiler does not provide the AVX512F bit.
1108 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
1110         [BZ #19848]
1111         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1112         from 8 to 4.
1113         (__ieee754_powl): Compare integer exponent against 4 not 8.
1114         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1115         from 8 to 4.
1116         (__ieee754_powl): Compare integer exponent against 4 not 8.
1117         * math/auto-libm-test-in: Add more tests of pow.
1118         * math/auto-libm-test-out: Regenerated.
1119         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1122 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1124         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1125         Make code unconditional.
1126         [!__NR_utimensat]: Remove conditional code.
1127         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1128         Make code unconditional.
1129         [!__NR_utimensat]: Remove conditional code.
1130         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
1131         Make code unconditional.
1132         [!__NR_utimensat]: Remove conditional code.
1134 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1136         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
1137         Make code unconditional.
1139 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
1141         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
1142         call-clobbered %eax on retry path.
1143         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1145 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1147         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
1148         Don't set %rcx twice before "rep movsb".
1150 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1152         [BZ #19583]
1153         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
1154         inline.  Check family before setting family, model and
1155         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
1156         bits here.
1157         (init_cpu_features): Replace HAS_CPU_FEATURE and
1158         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
1159         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
1160         for Intel processors with usable AVX2.  Call get_common_indeces
1161         for other processors with family == NULL.
1162         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
1163         (CPU_FEATURES_ARCH_P): Likewise.
1164         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
1165         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
1167 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1169         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
1170         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
1171         $(shared-thread-library) instead of hardcoding the path to libpthread.
1173 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
1175         * sysdeps/unix/sysv/linux/kernel-features.h
1176         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
1177         * sysdeps/unix/sysv/linux/getdents.c
1178         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
1179         [!have_no_getdents64_defined]: Likewise.
1180         (__GETDENTS): Remove __have_no_getdents64 conditional.
1182 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
1184         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
1185         Remove macro.
1186         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
1187         <kernel-features.h>.
1188         (signalfd) [__NR_signalfd4]: Make code unconditional.
1189         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
1191 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1193         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
1194         style.
1196 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1198         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
1199         (__pthread_enable_asynccancel): Use JUMPTARGET to call
1200         __pthread_unwind.
1201         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1202         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
1203         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1204         (__condvar_cleanup1): Likewise.
1206 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
1208         [BZ #19822]
1209         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
1210         move it to the final $@ location.
1212 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1214         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
1215         access where posix_spawn success and pid argument is null.
1216         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
1217         success case.
1219 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
1221         * sysdeps/mach/hurd/i386/c++-types.data: New file.
1223         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
1225         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
1226         and __fcntl.
1227         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
1228         __fcntl only.
1229         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
1230         adding attribute_hidden to __open and __fcntl.
1232         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
1233         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
1234         depend on libc-modules.h,
1235         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
1237 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
1239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
1240         Remove macro.
1241         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
1242         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
1243         entry.
1245         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
1246         Remove macro.
1247         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
1248         include <kernel-features.h>.
1249         [!__ASSUME_FALLOCATE]: Remove conditional code.
1250         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
1252 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
1255         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
1256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
1257         (_ZGVdN4v_cos_avx2): Likewise.
1258         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
1259         (_ZGVdN4v_cos): Likewise.
1260         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
1261         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
1262         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
1263         (_ZGVdN4v_exp_avx2): Likewise.
1264         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
1265         (_ZGVdN4v_exp): Likewise.
1266         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
1267         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
1268         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
1269         (_ZGVdN4v_log_avx2): Likewise.
1270         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
1271         (_ZGVdN4v_log): Likewise.
1272         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
1273         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
1274         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
1275         (_ZGVdN4vv_pow_avx2): Likewise.
1276         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
1277         (_ZGVdN4vv_pow): Likewise.
1278         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
1279         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
1280         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
1281         (_ZGVdN4v_sin_avx2): Likewise.
1282         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
1283         (_ZGVdN4v_sin): Likewise.
1284         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
1285         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
1286         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
1287         (_ZGVdN4vvv_sincos_avx2): Likewise.
1288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
1289         (_ZGVdN4vvv_sincos): Likewise.
1290         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
1291         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
1292         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
1293         (_ZGVbN4v_cosf_sse4): Likewise.
1294         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
1295         (_ZGVdN8v_cosf_avx2): Likewise.
1296         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
1297         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
1298         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
1299         (_ZGVbN4v_expf_sse4): Likewise.
1300         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
1301         (_ZGVdN8v_expf_avx2): Likewise.
1302         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
1303         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
1304         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
1305         (_ZGVbN4v_logf_sse4): Likewise.
1306         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
1307         (_ZGVdN8v_logf_avx2): Likewise.
1308         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
1309         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
1310         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
1311         (_ZGVbN4vv_powf_sse4): Likewise.
1312         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
1313         (_ZGVdN8vv_powf_avx2): Likewise.
1314         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1315         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
1316         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1317         (_ZGVbN4vvv_sincosf_sse4): Likewise.
1318         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1319         (_ZGVdN8vvv_sincosf_avx2): Likewise.
1320         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
1321         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
1322         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
1323         (_ZGVbN4v_sinf_sse4): Likewise.
1324         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
1325         (_ZGVdN8v_sinf_avx2): Likewise.
1326         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1327         Use JUMPTARGET to call callee.
1328         (WRAPPER_IMPL_SSE2_ff): Likewise.
1329         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1330         (WRAPPER_IMPL_AVX): Likewise.
1331         (WRAPPER_IMPL_AVX_ff): Likewise.
1332         (WRAPPER_IMPL_AVX_fFF): Likewise.
1333         (WRAPPER_IMPL_AVX512): Likewise.
1334         (WRAPPER_IMPL_AVX512_ff): Likewise.
1335         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1336         Likewise.
1337         (WRAPPER_IMPL_SSE2_ff): Likewise.
1338         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1339         (WRAPPER_IMPL_AVX): Likewise.
1340         (WRAPPER_IMPL_AVX_ff): Likewise.
1341         (WRAPPER_IMPL_AVX_fFF): Likewise.
1342         (WRAPPER_IMPL_AVX512): Likewise.
1343         (WRAPPER_IMPL_AVX512_ff): Likewise.
1344         (WRAPPER_IMPL_AVX512_fFF): Likewise.
1346 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1348         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
1349         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
1350         qualifier.
1351         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
1352         internal_function qualifiers.
1354 2016-03-15  Carlos O'Donell <carlos@redhat.com>
1356         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
1357         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
1358         * math/atest-exp.c (exp_mpn): Mark chk unused.
1359         * math/atest-exp2.c (exp_mpn): Likwise.
1360         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
1361         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
1363 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
1365         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
1366         Remove macro.
1367         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
1368         <kernel-features.h>.
1369         [__NR_ppoll]: Make code unconditional.
1370         [!__ASSUME_PPOLL]: Remove conditional code.
1372         * sysdeps/unix/sysv/linux/kernel-features.h
1373         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
1374         (__ASSUME_ACCEPT4): Likewise.
1375         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1376         Define.
1377         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
1378         Likewise.
1379         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1380         Likewise.
1381         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
1382         Likewise.
1383         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
1384         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
1385         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1386         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1387         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1388         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1390         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1391         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1392         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1393         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1394         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1395         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1396         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1397         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1399         Likewise.
1400         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1401         Likewise.
1402         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1403         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1404         0x040300].
1405         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1406         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1407         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1408         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1409         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1410         0x030300].
1411         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
1412         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1413         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1414         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1415         0x040300].
1416         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1417         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1418         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1419         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1420         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1421         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1422         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1423         0x030300].
1424         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1425         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1426         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1427         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1428         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1429         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1430         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1431         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1432         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1433         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1434         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1435         0x040300].
1436         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1437         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1438         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1439         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1440         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1441         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1442         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1443         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1444         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1445         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1446         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1447         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1448         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1449         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1450         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1451         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1452         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1453         Likewise.
1454         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1455         Likewise.
1457 2016-03-15  Andreas Schwab  <schwab@suse.de>
1459         [BZ #19257]
1460         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
1461         statp->_u._ext.nscount as loop count.
1463 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1465         * math/test-signgam-finite-c99.c: Also #undef
1466         __LIBC_INTERNAL_MATH_INLINES.
1467         * math/test-signgam-main.c: Likewise.
1469 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
1471         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
1472         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1473         (MADV_FREE): Likewise.
1474         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
1475         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
1476         EPOLLEXCLUSIVE.
1478 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
1480         * timezone/README: Remove mention of checktab.awk. Mention wiki
1481         SharedSourceFiles.
1483 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
1485         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
1486         WUNTRACED.
1488 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1490         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
1491         order to match the type of p when calling atomic_exchange_acq().
1493 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1495         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
1496         cfi_offset calls.
1497         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1498         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
1499         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
1500         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
1501         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
1503 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
1505         * timezone/checktab.awk: Removed.
1507 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
1509         * manual/math.texi (Errors in Math Functions): Document relaxed
1510         accuracy goals for IBM long double.
1511         * math/libm-test.inc (test_exceptions): Always allow spurious
1512         "underflow" and "inexact" exceptions for IBM long double.
1514 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
1516         [BZ #19762]
1517         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1518         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
1519         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1520         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
1521         (bit_arch_*): This for feature array.
1522         (bit_*): Renamed to ...
1523         (bit_cpu_*): This for cpu array.
1524         (index_*): Renamed to ...
1525         (index_arch_*): This for feature array.
1526         (index_*): Renamed to ...
1527         (index_cpu_*): This for cpu array.
1528         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
1529         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
1530         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
1531         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
1532         bit_##name with index_cpu_##name and bit_cpu_##name.
1533         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
1534         bit_##name with index_arch_##name and bit_arch_##name.
1536 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
1538         [BZ #19792]
1539         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1540         Terminate FDE before return label.
1542 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
1544         [BZ #19790]
1545         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
1546         (rintl): Define as macro.
1547         [USE_AS_NEARBYINTL] (__rintl): Likewise.
1548         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
1549         of fesetround.  Ensure results are evaluated before end of scope.
1550         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
1551         USE_AS_NEARBYINTL and include s_rintl.c.
1552         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
1553         Disable exception traps in new environment.
1554         (libc_feholdsetround_ppc_ctx): Likewise.
1556 2016-03-08  Roland McGrath  <roland@hack.frob.com>
1558         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
1559         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
1560         (tst_audit10_aux) [__AVX512F__]: ... here.
1562 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
1564         * include/sys/auxv.h: New file.
1566 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1568         [BZ #19759]
1569         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
1571 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1573         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
1574         operand modifier.
1575         (feclearexcept): Likewise.
1577 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1579         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
1580         to reflect the entire 32-bit HWCAP.
1581         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
1582         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
1584 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1586         [BZ #19783]
1587         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
1588         $(test-via-rtld-prefix).
1589         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
1591 2016-03-08  Florian Weimer  <fweimer@redhat.com>
1593         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
1594         union wait.  Report any non-zero exit status as error.
1596 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1598         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
1599         configured with --enable-hardcoded-path-in-tests.
1601 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
1603         [BZ #19677]
1604         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1605         (__ieee754_remainderl): Put zero low parts in canonical form.
1606         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
1607         file.  Based on
1608         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
1609         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
1610         with wrapper round test-fmodrem-ldbl-128ibm.c.
1611         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
1612         file.
1613         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
1614         Likewise.
1615         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1616         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1618 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1620         [BZ #19610]
1621         * elf/ldconfig.c (opt_link): Update comment.
1622         (options): Update help string for option -X.
1623         (search_dir): Unlink stale symbolic link only if updating symbolic
1624         links.
1625         * elf/tst-ldconfig-X.sh: New file.
1626         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1627         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1629 2016-03-07  Andreas Schwab  <schwab@suse.de>
1631         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1632         needed arguments.
1634 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
1636         [BZ #15333]
1637         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1638         to lstat64.
1640 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1642         * libio/filedoalloc.c (isatty): Remove.
1643         (local_isatty): Add comment.  Call __isatty directly.
1644         (_IO_file_doallocate): Update comment.  Assume _LIBC.
1645         * libio/wfiledoalloc.c (isatty): Remove.
1646         (_IO_wfile_doallocate): Update comment.
1648 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1650         [BZ #19269]
1651         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1652         tst-audit4-aux.o.
1653         (tst-audit10): Depend on tst-audit10-aux.o.
1654         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1655         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1656         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1657         instead of inline AVX code.
1658         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1659         instead of inline AVX512 code.
1660         * sysdeps/x86_64/tst-audit4-aux.c: New file
1661         * sysdeps/x86_64/tst-audit10-aux.c: New file
1663         [BZ #19648]
1664         * test-skeleton.c (main): Do not set RLIMIT_DATA.
1666 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1668         [BZ #14750]
1669         [BZ #10354]
1670         [BZ #18433]
1671         * include/sched.h (__clone): Add hidden prototype.
1672         (__clone2): Likewise.
1673         * include/unistd.h (__dup): Likewise.
1674         * posix/Makefile (tests): Add tst-spawn2.
1675         * posix/tst-spawn2.c: New file.
1676         * sysdeps/posix/dup.c (__dup): Add hidden definition.
1677         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
1678         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1679         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1680         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1681         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1682         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
1683         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1684         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
1685         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1686         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1688         Likewise.
1689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1690         Likewise.
1691         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1692         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1693         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1694         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1695         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1696         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1697         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1698         * sysdeps/unix/sysv/linux/nptl-signals.h
1699         (____nptl_is_internal_signal): New function.
1700         * sysdeps/unix/sysv/linux/spawni.c: New file.
1702         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1703         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1704         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1705         * posix/tst-execvp2.c (do_test): Likewise.
1706         * posix/tst-execvp3.c (do_test): Likewise.
1707         * posix/tst-execvp4.c (do_test): Likewise.
1708         * posix/tst-execvpe1.c: New file.
1709         * posix/tst-execvpe2.c: Likewise.
1710         * posix/tst-execvpe3.c: Likewise.
1711         * posix/tst-execvpe4.c: Likewise.
1712         * posix/tst-execvpe5.c: Likewise.
1713         * posix/tst-execvpe6.c: Likewise.
1715         [BZ #19534]
1716         * posix/execl.c (execl): Remove dynamic memory allocation.
1717         * posix/execle.c (execle): Likewise.
1718         * posix/execlp.c (execlp): Likewise.
1720 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1722         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1723         Replace .text with .text.avx512.
1724         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1725         Likewise.
1727 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
1729         * sysdeps/generic/libnsl.abilist: New file.
1730         * sysdeps/generic/libutil.abilist: New file.
1732 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1734         [BZ #19762]
1735         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1736         HAS_ARCH_FEATURE with Fast_Rep_String.
1737         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1738         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1739         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1740         Likewise.
1741         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1742         Likewise.
1743         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1744         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1745         Likewise.
1746         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1747         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1748         Likewise.
1750 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1752         [BZ #19745]
1753         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1754         with *%rax in call.
1756 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1758         [BZ #19745]
1759         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1760         with *__libc_start_main@GOTPCREL(%rip) in call.
1762 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1764         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1765         inside conditional for nonempty $(CXX).
1767         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1768         nonempty.
1770         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1771         to test for empty $(CXX) rather than $(CXX) of "no".
1773 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1775         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1777 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1778             H.J. Lu  <hongjiu.lu@intel.com>
1780         [BZ #18880]
1781         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1782         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1783         enable __memcpy_ssse3_back.
1785 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1787         [BZ #19758]
1788         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1789         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1791 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1793         [BZ #19490]
1794         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1795         (__fentry__): Likewise.
1797 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1799         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1800         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1802 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1804         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1805         __mcount_internal directly.
1806         (C_LABEL(__fentry__)): Likewise.
1807         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1808         directly.
1810 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1812         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1813         (__start_context): Call __setcontext directly.
1815 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1817         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1818         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1819         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1820         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1821         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1822         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1823         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1824         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1825         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1826         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1827         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1828         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1829         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1830         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1831         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1832         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1833         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1834         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1835         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1836         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1837         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1838         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1839         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1840         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1841         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1842         Remove conditional code.
1843         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1844         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1845         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1846         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1847         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1848         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1849         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1850         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1851         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1852         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1853         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1854         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1856 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1858         * NEWS (2.23): Fix typo in bug 19048 text.
1860 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1862         [BZ #14259]
1863         * Makeconfig: Rename msgcatdir to localedir.
1864         Rename inst_msgcatdir to inst_localedir.
1865         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1866         * config.make.in: Add localedir.
1867         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1868         (ldd-rewrite): Likewise.
1869         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1870         (install-others): Use inst_localedir.
1871         (CPPFLAGS): Use localedir.
1872         * locale/Makefile (locale-CPPFLAGS): Likewise.
1873         * po/Makefile (mo-installed): Use inst_localedir.
1875         [BZ #19575]
1876         * localedata/charmaps/GB18030: Update comments regarding PAU to
1877         non-PUA mappings.
1879 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1881         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1882         test for header.
1883         * sysdeps/unix/sysv/linux/configure: Regenerated.
1884         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1885         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1886         Remove conditional code.
1887         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1889         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1890         Define to 3.2.0.
1891         (arch_minimum_kernel): Likewise.
1892         * sysdeps/unix/sysv/linux/configure: Regenerated.
1893         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1894         Define to 2.6.32.
1895         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1896         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1897         (arch_minimum_kernel): Define to 2.6.32.
1898         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1899         * README: Document Linux 3.2 requirement.
1900         * manual/install.texi (Linux): Document Linux 3.2 headers
1901         requirement.
1902         * INSTALL: Regenerated.
1904 2016-02-24  Andreas Schwab  <schwab@suse.de>
1906         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1907         if !NO_LONG_DOUBLE.
1909 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1911         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1912         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1914 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1916         [BZ #19512]
1917         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1919 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1921         * posix/tst-dir.c: Include libc-internal.h.
1923 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1925         [BZ #19056]
1926         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1927         * manual/filesys.texi (Reading/Closing Directory): Mention
1928         deprecaion.
1929         * posix/tst-dir.c (main): Disable deprecation warning in test.
1931 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1933         [BZ #19679]
1934         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1935         Renamed to ...
1936         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1937         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1938         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1939         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1940         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1941         * sysdeps/x86_64/dl-trampoline.h
1942         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1943         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1945 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1947         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1949 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1951         * elf/elf.h (R_386_GOT32X): New.
1952         (R_386_NUM): Update.
1953         (R_X86_64_GOTPCRELX: New.
1954         (R_X86_64_REX_GOTPCRELX): New.
1955         (R_X86_64_NUM): Update.
1957 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1959         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1961 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1963         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1964         assign attr->stackaddr to it, and adjust it down when
1965         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1966         [_STACK_GROWS_UP]: Delete assert.
1967         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1968         Implement stack grows up logic.
1969         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1970         stack grows up logic.
1972 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1974         * NEWS: Update with 2.24 template.
1976 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1978         [BZ #19678]
1979         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1980         Ensure +0.0 is returned when taking the next value below the least
1981         positive value.
1983 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1985         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1986         available.  Do not define NO_THREADS.
1987         * malloc/malloc.c: Do not check NO_THREADS.
1988         * malloc/arena.c: Likewise.
1990 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1992         * malloc/malloc.c (__libc_mallinfo): Update comment.
1993         (struct malloc_par): Remove max_total_mem member, it was always 0.
1994         (int_mallinfo): Store 0 into usmblks (no functional change).
1995         * malloc/hooks.c (struct malloc_state): Document that
1996         max_total_mem is always 0.
1997         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1998         always 0.
1999         * manual/memory.texi (Statistics of Malloc): Likewise.
2001 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2003         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2004         * malloc/arena.c (arena_max): Remove.
2005         (heap_trim, _int_new_arena): Do not update arena_max.
2007 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2009         * resolv/res_init.c (res_ninit): Update comment.
2011 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2013         [BZ #19505]
2014         * posix/spawn_int.h: Add headers and include guard.
2015         (__spawn_valid_fd): New function.
2016         * posix/spawn_faction_addopen.c
2017         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2018         * posix/spawn_faction_addclose.c
2019         (posix_spawn_file_actions_addclose): Likewise.
2020         * posix/spawn_faction_adddup2.c
2021         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2022         second file descriptor.
2023         * posix/spawn_valid_fd.c: New file.
2024         * posix/tst-posix_spawn-fd.c: New file.
2025         * posix/Makefile (routines): Add spawn_valid_fd.
2026         (tests): Add tst-posix_spawn-fd.
2028 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2030         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2031         (do_test): Limit the number of arenas, so that we can use fewer
2032         outer threads.  Limit timeout to 3 seconds, in preparation for a
2033         larger TIMEOUT value.
2035 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2037         [BZ #19674]
2038         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2039         sign in overflowing and underflowing results when overflow or
2040         underflow is detected early.  Include sign in result before rather
2041         than after scaling.
2043         [BZ #19603]
2044         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2045         (__ieee754_remainderl): Adjust sign of integer version of low part
2046         when taking absolute value of high part.
2047         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2048         * math/libm-test.inc (remainder_test_data): Add another test.
2049         (remquo_test_data): Likewise.
2051 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2053         [BZ #19602]
2054         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2055         equal high parts and both low parts zero specially.
2056         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2057         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2058         Add test-fmodl-ldbl-128ibm.
2060         [BZ #19595]
2061         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2062         common logic for all cases of shifting subnormal results.  Do not
2063         insert sign bit in shifted mantissa.  Always pass -1023 as biased
2064         exponent to ldbl_insert_mantissa in subnormal case.
2066         [BZ #19594]
2067         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2068         on high and low parts then adjust result and use
2069         ldbl_canonicalize_int if needed.
2071         [BZ #19593]
2072         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2073         on high part and __floor or __ceil on low part then use
2074         ldbl_canonicalize_int if needed.
2076         [BZ #19592]
2077         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2078         high and low parts then use ldbl_canonicalize_int if needed.
2080         [BZ #17899]
2081         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2082         New function.
2083         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2084         on high and low parts then use ldbl_canonicalize_int if needed.
2086 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2088         * configure: Regenerated.
2090         * po/libc.pot: Regenerated.
2092         * po/be.po: Updated translation.
2093         * po/bg.po: Likewise.
2094         * po/ca.po: Likewise.
2095         * po/cs.po: Likewise.
2096         * po/da.po: Likewise.
2097         * po/el.po: Likewise.
2098         * po/eo.po: Likewise.
2099         * po/es.po: Likewise.
2100         * po/fi.po: Likewise.
2101         * po/fr.po: Likewise.
2102         * po/gl.po: Likewise.
2103         * po/hr.po: Likewise.
2104         * po/hu.po: Likewise.
2105         * po/ia.po: Likewise.
2106         * po/id.po: Likewise.
2107         * po/it.po: Likewise.
2108         * po/ja.po: Likewise.
2109         * po/lt.po: Likewise.
2110         * po/nb.po: Likewise.
2111         * po/nl.po: Likewise.
2112         * po/pt_BR.po: Likewise.
2113         * po/rw.po: Likewise.
2114         * po/sk.po: Likewise.
2115         * po/sl.po: Likewise.
2116         * po/sv.po: Likewise.
2117         * po/tr.po: Likewise.
2118         * po/zh_CN.po: Likewise.
2119         * po/zh_TW.po: Likewise.
2121         * version.h (RELEAES): Set to "development".
2122         (VERSION): Set to 2.23.90.
2124         * version.h (RELEASE): Set to "stable".
2125         (VERSION): Set to 2.23.
2126         * include/feature.h (__GLIBC_MINOR__): Set to 23.
2128         * NEWS: Updated fixed bugs.
2130 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2131             Wilco Dijkstra  <wdijkstr@arm.com>
2133         [BZ #19462]
2134         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
2135         (_STRING_INLINE_unaligned): This.
2136         * include/string.h: Include <string_private.h>.
2137         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
2138         _STRING_INLINE_unaligned.
2139         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
2140         (_STRING_INLINE_unaligned): New.
2141         * sysdeps/aarch64/string_private.h: New file.
2142         * sysdeps/generic/string_private.h: Likewise.
2143         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
2144         * sysdeps/s390/string_private.h: Likewise.
2145         * sysdeps/x86/string_private.h: Likewise.
2146         * sysdeps/m68k/m680x0/m68020/bits/string.h
2147         (_STRING_ARCH_unaligned): Renamed to ...
2148         (_STRING_INLINE_unaligned): This.
2149         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
2150         to ...
2151         (_STRING_INLINE_unaligned): This.
2152         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
2153         to ...
2154         (_STRING_INLINE_unaligned): This.
2155         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
2156         to ...
2157         (_STRING_INLINE_unaligned): This.
2159 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2160             H.J. Lu  <hongjiu.lu@intel.com>
2162         [BZ #19590]
2163         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
2164         relocation.
2166 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
2168         [BZ #18665]
2169         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
2170         *herrno_p.
2171         (gaih_getanswer): Document functional behviour. Return tryagain
2172         if any result is tryagain.
2173         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
2174         when freed.
2175         * resolv/res_send.c: Add copyright text.
2176         (__libc_res_nsend): Document that MAXPACKET is expected.
2177         (send_vc): Document. Remove buffer reuse.
2178         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
2179         size of the buffer. Add Dprint for truncated UDP buffer.
2181 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
2183         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
2184         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
2185         * INSTALL: Regenerate.
2187 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
2188             Jonathan Wakely  <jwakely@redhat.com>
2189             Carlos O'Donell  <carlos@redhat.com>
2191         [BZ 19439]
2192         * math/Makefile (tests): Add test-math-isinff.
2193         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
2194         * math/bits/mathcalls.h [__USE_MISC]: Use
2195         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
2196         functions not in C++11 and which don't conflict e.g. isinff,
2197         isinfl etc.
2198         * math/test-math-isinff.cc: New file.
2200 2016-02-12  Florian Weimer  <fweimer@redhat.com>
2202         * misc/bug18240.c (do_test): Set RLIMIT_AS.
2204 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2206         [BZ #19529]
2207         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
2209 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2211         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2213 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
2215         [BZ #19550]
2216         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
2217         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
2218         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
2219         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
2220         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
2221         New syscall entry.
2222         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
2223         New syscall entry.
2224         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
2225         syscall entry.
2227 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
2229         [BZ #18240]
2230         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
2231         unsigned int wraparound.
2233 2016-01-27  Florian Weimer  <fweimer@redhat.com>
2235         [BZ #18240]
2236         * misc/bug18240.c: New test.
2237         * misc/Makefile (tests): Add it.
2239 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
2240             Joseph Myers  <joseph@codesourcery.com>
2242         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
2243         load in branch delay slot when less than a word of input left.
2245 2016-01-27  Andreas Schwab  <schwab@suse.de>
2247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
2248         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
2249         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
2250         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
2252 2016-01-26  David S. Miller  <davem@davemloft.net>
2254         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
2256 2016-01-25  David S. Miller  <davem@davemloft.net>
2258         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
2259         __sqrtl_finite.
2260         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
2261         instead using versioned_symbol.
2262         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
2263         of entries.
2265         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
2266         __sqrtl_finite to GLIBC_2.23
2268 2016-01-25  Ricchard Henderson  <rth@redhat.com>
2270         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2272 2016-01-25  Andreas Schwab  <schwab@suse.de>
2274         [BZ #17514]
2275         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
2276         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
2277         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
2278         * nptl/tst-mutex-errorcheck.c: New file.
2280 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2282         [BZ #18560]
2283         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
2284         (IPCOP_semop): Likewise.
2285         (IPCOP_semget): Likewise.
2286         (IPCOP_semctl): Likewise.
2287         (IPCOP_msgsnd): Likewise.
2288         (IPCOP_msgrcv): Likewise.
2289         (IPCOP_msgget): Likewise.
2290         (IPCOP_msgctl): Likewise.
2291         (IPCOP_shmat): Likewise.
2292         (IPCOP_shmdt): Likewise.
2293         (IPCOP_shmget): Likewise.
2294         (IPCOP_shmctl): Likewise.
2296 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2298         * string/tst-endian.c: Include <libc-internal.h>.
2299         (do_test): Ignore tautological-compare warnings around
2300         "htobeXX (beXXtoh (i)) != i" and
2301         "htoleXX (leXXtoh (i)) != i" if-statements.
2303 2016-01-24  David S. Miller  <davem@davemloft.net>
2305         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2306         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
2307         alias.
2308         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2309         __sqrtl_finite.
2311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2313 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
2315         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
2316         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
2317         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2319 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2321         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
2322         (thread_func): Use new function to simplify barrier check.
2323         (do_test): Use new function to simplify checking barrier exit
2324         code, and actually join the child thread.
2326 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2328         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
2329         semicolon.
2330         (__libc_tend): Likewise.
2331         (__libc_tabort): Likewise.
2333 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
2335         * sysdeps/nios2/libm-test-ulps: Update.
2336         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
2337         (__gtsf2): Likewise.
2338         (__unorddf2): Likewise.
2339         (__unordsf2): Likewise.
2340         (__ledf2): Likewise.
2342 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
2344         * nis/nis_table.c (__follow_path): Disable diagnostic for
2345         uninitialized variable that is a false positive for gcc 4.7.
2346         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
2348 2016-01-20  Roland McGrath  <roland@hack.frob.com>
2350         * sysdeps/nacl/lowlevellock-futex.h
2351         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
2352         Always evaluate PRIVATE argument.
2354 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
2356         [BZ #19490]
2357         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
2358         (pthread_cond_broadcast): Use ENTRY/END
2359         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
2360         (pthread_cond_signal): Likewise.
2361         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
2362         Likewise.
2363         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
2364         Likewise.
2365         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
2366         Likewise.
2368 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
2370         * sysdeps/ieee754/dbl-64/s_finite.c
2371         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
2372         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
2373         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
2374         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
2375         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
2377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2378         (__gtsf2): Add as optional for libc.so.
2379         (__unordsf2): Likewise.
2380         (__signbit): Remove for libc.so.
2381         (__signbitl): Likewise.
2383 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2385         * iconvdata/bug-iconv11.c (test_ibm93x):
2386         Use %zu printf format specifier for size_t argument.
2388 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
2390         * math/gen-libm-test.pl (parse_ulps): Do not reduce
2391         already-recorded ulps.
2392         * sysdeps/arm/libm-test-ulps: Regenerated.
2393         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2394         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2395         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2397 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2398             Paul Pluzhnikov  <ppluzhnikov@google.com>
2400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
2401         assembler not supporting AVX-512.
2403 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2405         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2407 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
2409         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2410         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2412         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2414         * sysdeps/arm/libm-test-ulps: Regenerated.
2416 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2418         [BZ #19451]
2419         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
2421 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2423         [BZ #19486]
2424         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
2425         * sysdeps/generic/fix-fp-int-convert-overflow.h
2426         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
2427         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
2428         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
2429         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
2430         Likewise.
2431         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
2432         Avoid conversions to long int where inexact exceptions
2433         could be raised.
2434         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
2435         Likewise.
2436         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
2437         Avoid conversions to long long int where inexact exceptions
2438         could be raised.
2439         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
2440         Likewise.
2442 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
2444         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
2445         * configure: Regenerated.
2447 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2449         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
2451 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
2453         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
2454         outside of comment.
2456 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2458         * nptl/tst-barrier1.c: Add description on first line.
2459         * nptl/tst-barrier2.c: Likewise.
2460         * nptl/tst-barrier3.c: Likewise.
2461         * nptl/tst-barrier4.c: Likewise.
2462         * nptl/tst-barrier5.c: Likewise.
2464 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2466         [BZ #18868]
2467         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
2469 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
2472         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2473         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
2474         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
2475         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
2476         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
2477         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2478         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2479         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2480         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2481         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2483 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2485         [BZ #13065]
2486         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
2487         new implementation.
2488         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
2489         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
2490         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
2491         (BARRIER_IN_THRESHOLD): New macro.
2492         * nptl/pthread_barrierattr_setpshared.c
2493         (pthread_barrierattr_setpshared): Clean up.
2494         * nptl/tst-barrier4.c: Correct comment.
2495         * nptl/tst-barrier5.c: New file.
2496         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
2497         (gen-as-const-headers): Remove lowlevelbarrier.sym.
2498         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
2499         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
2500         * nptl/lowlevelbarrier.sym: Remove.
2501         * nptl/DESIGN-barrier.txt: Remove.
2502         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
2503         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
2504         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
2505         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
2506         error.
2507         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
2508         implementation.
2510 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2512         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
2513         (do_child): Mask SIGRTMIN while thr is running.
2515 2016-01-15  Martin Sebor  <msebor@redhat.com>
2517         [BZ #19432]
2518         * iconvdata/Makefile: Add bug-iconv11.
2519         * iconvdata/bug-iconv11.c: New test.
2520         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
2521         * iconvdata/ibm933.c: Same.
2522         * iconvdata/ibm935.c: Same.
2523         * iconvdata/ibm937.c: Same.
2524         * iconvdata/ibm939.c: Same.
2526 2016-01-15  Martin Sebor  <msebor@redhat.com>
2528         [BZ #19443]
2529         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
2530         [DEBUG] (_ufc_set_bits): Declare used.
2531         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
2532         [DEBUG] (print_all): Declare used.
2533         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
2534         operands of the ternary ?: expression to target type.
2535         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
2536         calling the undeclared abort.
2537         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
2539 2016-01-15  Martin Sebor  <msebor@redhat.com>
2541         [BZ #18755]
2542         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
2543         warnings.
2544         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
2545         (__gai_create_helper_thread): Same.
2546         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
2547         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
2548         to suppress -Wmaybe-uninitialized warnings.
2550 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
2552         [BZ #19465]
2553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
2554         inside if.
2555         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2556         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2559 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2561         [BZ #19466]
2562         * time/tst-mktime2.c (time_t_max): Removed.
2563         (time_t_min): Likewise.
2564         (TYPE_SIGNED): New.
2565         (TYPE_MINIMUM): Likewise.
2566         (TYPE_MAXIMUM): Likewise.
2567         (TIME_T_MIN): Likewise.
2568         (TIME_T_MAX): Likewise.
2569         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
2570         and TIME_T_MIN.
2571         (do_test): Likewise.
2573 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
2575         [BZ #19467]
2576         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2577         index_Fast_Unaligned_Load flag for Excavator family CPUs.
2579 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
2581         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
2583 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
2585         * benchtests/Makefile (PYTHON): Define.
2586         (bench-func): Use $(PYTHON) to run python scripts.
2587         ($(objpfx)bench-%.c): Likewise.
2589 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
2591         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
2592         leading slash when `file_name' is "/".
2594 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
2596         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
2597         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
2598         Likewise.
2599         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
2600         Likewise.
2601         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
2602         Likewise.
2603         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
2604         enum constant and macro.
2605         (PTRACE_SETSIGMASK): Likewise.
2606         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2607         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2608         (PTRACE_GETSIGMASK): Likewise.
2609         (PTRACE_SETSIGMASK): Likewise.
2610         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2611         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
2612         Likewise.
2613         (PTRACE_SETSIGMASK): Likewise.
2614         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2615         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2616         (PTRACE_GETSIGMASK): Likewise.
2617         (PTRACE_SETSIGMASK): Likewise.
2618         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2619         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2620         Likewise.
2621         (PTRACE_SETSIGMASK): Likewise.
2622         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2623         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2624         Likewise.
2625         (PTRACE_SETSIGMASK): Likewise.
2626         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2627         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2628         Likewise.
2629         (PTRACE_SETSIGMASK): Likewise.
2630         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2632 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2633             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2635         [BZ #19439]
2636         * math/bits/mathcalls.h
2637         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2638         prototype.
2639         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2641 2016-01-11  Andreas Schwab  <schwab@suse.de>
2643         [BZ #19253]
2644         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2645         cache when TZDEFRULES was used.
2646         * time/tst-tzname.c: New file.
2647         * time/Makefile (test): Add tst-tzname.
2648         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2649         * timezone/Makefile (test-zones): Add $(posixrules-file).
2650         ($(testdata)/$(posixrules-file)): New rule.
2652 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
2654         Fix doc quoting problems with Texinfo 5
2655         Without this change, in the info file output, Texinfo 5 quotes code
2656         in text with undirected single quotes 'like this' and generates
2657         code examples that with many PDF readers cannot be cut out of PDFs
2658         and pasted into code.
2659         * manual/libc.texinfo: Configure the libc manual like the GNU
2660         Emacs manual, by using @documentencoding and setting
2661         txicodequoteundirected and txicodequotebacktick.  This way,
2662         Texinfo 5 quotes code in text with directed single quotes ‘like
2663         this’ and produces examples that can be cut out of PDFs.  This
2664         change causes Texinfo 5 to generate info files that contain UTF-8
2665         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
2666         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
2668 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2670         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
2671         __libc_tabort, __libc_tend): New wrappers that enforce compiler
2672         barriers to their respective compiler built-ins.
2673         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
2674         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
2675         * sysdeps/powerpc/sysdep.h: Likewise.
2676         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
2677         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
2678         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
2680 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
2682         * scripts/config.guess: Revert previous shebang change.
2683         * scripts/config.sub: Likewise.
2684         * scripts/mkinstalldirs: Likewise.
2686 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2688         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
2689         PPC_FEATURE2_HAS_IEEE128.
2690         * sysdeps/powerpc/dl-procinfo.c:
2691         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
2693 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
2695         [BZ #19415]
2696         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
2697         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
2698         (_dl_lookup_address): Rewrite using function resolver trampoline.
2699         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
2700         two bits in address.
2702 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2704         * longlong.h: Change !__SHMEDIA__ to
2705         (!defined (__SHMEDIA__) || !__SHMEDIA__).
2706         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2708 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
2709             Joseph Myers  <joseph@codesourcery.com>
2710             Mark Shinwell  <shinwell@codesourcery.com>
2711             Andrew Stubbs  <ams@codesourcery.com>
2712             Rich Felker <dalias@libc.org>
2714         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2716 2016-01-07  Richard Henderson  <rth@redhat.com>
2718         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2720 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2722         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2723         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2724         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2725         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2726         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2728 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2729             Joseph Myers  <joseph@codesourcery.com>
2731         * timezone/private.h: Update from tzcode 2015g.
2732         * timezone/tzfile.h: Likewise.
2733         * timezone/tzselect.ksh: Likewise.
2734         * timezone/zdump.c: Likewise.
2735         * timezone/zic.c: Likewise.
2736         * timezone/ialloc.c: Remove file.
2737         * timezone/scheck.c: Likewise.
2738         * timezone/Makefile (extra-objs): Remove variable.
2739         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2740         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2741         -Wno-maybe-uninitialized.
2742         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2743         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2744         (CFLAGS-ialloc.c): Remove variable.
2745         (CFLAGS-scheck.c): Likewise.
2746         * timezone/README: Update list of files from tzcode.
2748 2016-01-07  Khem Raj  <raj.khem@gmail.com>
2750         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2751         instead of __fxprintf when _LIBC is undefined.
2753 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2755         * catgets/test-gencat.sh: Remove space after shebang.
2756         * conform/GlibcConform.pm: Likewise.
2757         * conform/check-header-lists.sh: Likewise.
2758         * conform/conformtest.pl: Likewise.
2759         * conform/linknamespace.pl: Likewise.
2760         * conform/list-header-symbols.pl: Likewise.
2761         * debug/catchsegv.sh: Likewise.
2762         * elf/genrtldtbl.awk: Likewise.
2763         * elf/tst-pathopt.sh: Likewise.
2764         * elf/tst-rtld-load-self.sh: Likewise.
2765         * grp/tst_fgetgrent.sh: Likewise.
2766         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2767         * iconvdata/gen-8bit-gap.sh: Likewise.
2768         * iconvdata/gen-8bit.sh: Likewise.
2769         * iconvdata/run-iconv-test.sh: Likewise.
2770         * intl/tst-gettext.sh: Likewise.
2771         * intl/tst-gettext2.sh: Likewise.
2772         * intl/tst-gettext4.sh: Likewise.
2773         * intl/tst-gettext6.sh: Likewise.
2774         * intl/tst-translit.sh: Likewise.
2775         * io/ftwtest-sh: Likewise.
2776         * libio/test-freopen.sh: Likewise.
2777         * locale/gen-translit.pl: Likewise.
2778         * malloc/tst-mtrace.sh: Likewise.
2779         * manual/check-safety.sh: Likewise.
2780         * manual/libc-texinfo.sh: Likewise.
2781         * manual/tsort.awk: Likewise.
2782         * manual/xtract-typefun.awk: Likewise.
2783         * nptl/tst-cancel-wrappers.sh: Likewise.
2784         * nptl/tst-tls6.sh: Likewise.
2785         * posix/globtest.sh: Likewise.
2786         * posix/tst-getconf.sh: Likewise.
2787         * posix/wordexp-tst.sh: Likewise.
2788         * scripts/check-c++-types.sh: Likewise.
2789         * scripts/check-local-headers.sh: Likewise.
2790         * scripts/config.guess: Likewise.
2791         * scripts/config.sub: Likewise.
2792         * scripts/cpp: Likewise.
2793         * scripts/cross-test-ssh.sh: Likewise.
2794         * scripts/documented.sh: Likewise.
2795         * scripts/evaluate-test.sh: Likewise.
2796         * scripts/gen-libc-abis: Likewise.
2797         * scripts/gen-sorted.awk: Likewise.
2798         * scripts/list-fixed-bugs.py: Likewise.
2799         * scripts/merge-test-results.sh: Likewise.
2800         * scripts/mkinstalldirs: Likewise.
2801         * scripts/rellns-sh: Likewise.
2802         * scripts/test-installation.pl: Likewise.
2803         * scripts/update-copyrights: Likewise.
2804         * stdio-common/tst-printf.sh: Likewise.
2805         * stdio-common/tst-unbputc.sh: Likewise.
2806         * stdlib/tst-fmtmsg.sh: Likewise.
2807         * stdlib/tst-setcontext3.sh: Likewise.
2808         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2809         * sysdeps/unix/make-syscalls.sh: Likewise.
2811 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2813         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2814         asm stw with atomic_exchange_rel.  Add explanatory comment.
2815         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2816         Likewise.
2818 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2820         [BZ #19122]
2821         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2822         * sysdeps/generic/dl-unistd.h: New file.
2823         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2825 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2827          [BZ #19122]
2828          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2829          * sysdeps/generic/dl-mman.h: New file.
2830          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2832 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2834         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2835         trailing whitespace removed.
2836         * scripts/config.guess: Update to version 2016-01-01.
2837         * scripts/config.sub: Update to version 2016-01-01.
2838         * scripts/move-if-change: Update from gnulib.
2840 2016-01-04  Anton Blanchard  <anton@samba.org>
2842         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2843         for array indices.
2844         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2846 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2848         * NEWS: Update copyright dates.
2849         * catgets/gencat.c (print_version): Likewise.
2850         * csu/version.c (banner): Likewise.
2851         * debug/catchsegv.sh: Likewise.
2852         * debug/pcprofiledump.c (print_version): Likewise.
2853         * debug/xtrace.sh (do_version): Likewise.
2854         * elf/ldconfig.c (print_version): Likewise.
2855         * elf/ldd.bash.in: Likewise.
2856         * elf/pldd.c (print_version): Likewise.
2857         * elf/sotruss.sh: Likewise.
2858         * elf/sprof.c (print_version): Likewise.
2859         * iconv/iconv_prog.c (print_version): Likewise.
2860         * iconv/iconvconfig.c (print_version): Likewise.
2861         * locale/programs/locale.c (print_version): Likewise.
2862         * locale/programs/localedef.c (print_version): Likewise.
2863         * login/programs/pt_chown.c (print_version): Likewise.
2864         * malloc/memusage.sh (do_version): Likewise.
2865         * malloc/memusagestat.c (print_version): Likewise.
2866         * malloc/mtrace.pl: Likewise.
2867         * manual/libc.texinfo: Likewise.
2868         * nptl/version.c (banner): Likewise.
2869         * nscd/nscd.c (print_version): Likewise.
2870         * nss/getent.c (print_version): Likewise.
2871         * nss/makedb.c (print_version): Likewise.
2872         * posix/getconf.c (main): Likewise.
2873         * scripts/test-installation.pl: Likewise.
2874         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2876         * All files with FSF copyright notices: Update copyright dates
2877         using scripts/update-copyrights.
2878         * intl/plural.c: Regenerated.
2879         * locale/programs/charmap-kw.h: Likewise.
2880         * locale/programs/locfile-kw.h: Likewise.
2882 2016-01-02  Helge Deller  <deller@gmx.de>
2884         [BZ #19285]
2885         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2886         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2887         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2888         (MADV_xxK_PAGES): Remove.
2890 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2892         [BZ #15421]
2893         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2894         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2895         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2896         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2898 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2900         [BZ #19408]
2901         * sysdeps/unix/sysv/linux/personality.c: New file.
2902         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2903         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2904         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2905         (sysdep_routines): Add personality.
2906         (tests): Add tst-personality.
2907         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2908         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2909         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2910         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2911         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2912         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2913         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2914         Likewise.
2915         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2916         Likewise.
2917         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2918         Likewise.
2919         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2920         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2921         Likewise.
2923 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2925         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2926         (PATH_ARM_SYSTYPE): Remove.
2927         (PATH_CPUINFO): Likewise.
2928         (IO_BASE_FOOTBRIDGE): Likewise.
2929         (IO_SHIFT_FOOTBRIDGE): Likewise.
2930         (struct platform): Likewise.
2931         (init_iosys): Remove compatibility code for 2.4 kernels.
2932         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2934 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2936         * malloc/tst-malloc-thread-fail.c: New file.
2937         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2938         (tst-malloc-thread-fail): Link against libpthread.
2940 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2942         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2943         (get_parser): New function.
2944         (main): New function.
2946 2015-12-29  Rob Wu  <rob@robwu.nl>
2948         [BZ #19369]
2949         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2951 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2953         [BZ #19270]
2954         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2956 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2958         [BZ #15421]
2959         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2961 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2963         [BZ #13690]
2964         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2965         after releasing it.
2966         (__lll_robust_unlock): Likewise.
2967         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2968         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2969         (lll_robust_unlock): Likewise.
2970         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2971         Prevent warnings in callers.
2973 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2975         * malloc/arena.c (list_lock): Update comment.
2977 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2979         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2980         __parse_hwcap_and_convert_at_platform to libc.a.
2982 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2984         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2985         platform and feature support for POWER9.
2986         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2987         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2988         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2989         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2990         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2991         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2992         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2993         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2995 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2997         Harmonize generic stdio-lock support with nptl
2999         This fixes build when _IO_funlockfile is a macro, fixes build where
3000         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3001         stack unwind.
3003         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3004         _IO_release_lock ): Use cleanup attribute on new
3005         _IO_acquire_lock_file variable instead of assuming that
3006         _IO_release_lock will be called.
3007         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3008         _IO_acquire_lock_needs_exceptions_enabled.
3009         (_IO_acquire_lock_clear_flags2): New macro.
3011 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3013         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3015 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3017         [BZ #19182]
3018         * malloc/arena.c (list_lock): Document lock ordering requirements.
3019         (free_list_lock): New lock.
3020         (ptmalloc_lock_all): Comment on free_list_lock.
3021         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3022         (detach_arena): Update comment.  free_list_lock is now needed.
3023         (_int_new_arena): Use free_list_lock around detach_arena call.
3024         Acquire arena lock after list_lock.  Add comment, including FIXME
3025         about incorrect synchronization.
3026         (get_free_list): Switch to free_list_lock.
3027         (reused_arena): Acquire free_list_lock around detach_arena call
3028         and attached threads counter update.  Add two FIXMEs about
3029         incorrect synchronization.
3030         (arena_thread_freeres): Switch to free_list_lock.
3031         * malloc/malloc.c (struct malloc_state): Update comments to
3032         mention free_list_lock.
3034 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3036         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3037         Remove functions.
3038         (sloww, sloww1): Accept argument to offset quadrant.
3039         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3040         quadrant.
3041         (__sin, __cos): Consolidate common code into new functions.
3042         (reduce_sincos_1, do_sincos_1): New functions.
3043         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3045         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3046         code to new functions.
3047         (reduce_sincos_2, do_sincos_2): New functions.
3048         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3050         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3051         common code for sincos.
3052         (__cos) [!IN_SINCOS]: Likewise.
3053         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3054         New function.
3055         (__sincos): Use it.
3057 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3059         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3060         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3061         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3063 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3065         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3068         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3069         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3070         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3071         index_Prefer_No_VZEROUPPER): New feature.
3072         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3073         Prefer_No_VZEROUPPER for Knights Landing.
3075 015-12-18  Torvald Riegel  <triegel@redhat.com>
3077         * math/atest-exp2.c (mp_exp_m1): Remove.
3079 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3081         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3082         syscalls.
3083         (__SYSCALL0): New macro.
3084         (__SYSCALL1): Likewise.
3085         (__SYSCALL2): Likewise.
3086         (__SYSCALL3): Likewise.
3087         (__SYSCALL4): Likewise.
3088         (__SYSCALL5): Likewise.
3089         (__SYSCALL6): Likewise.
3090         (__SYSCALL_CONCAT_X): Likewise.
3091         (__SYSCALL_CONCAT): Likewise.
3092         (__SYSCALL_DIST): Likewise.
3093         (__SYSCALL_CALL): Likewise.
3095 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
3097         [BZ #19363]
3098         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3100 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3102         [BZ #19375]
3103         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3104         negative subnormals.
3106 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
3108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3109         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3110         (INTERNAL_SYSCALL_NCS): Use it.
3111         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3113 2015-12-16  Florian Weimer  <fweimer@redhat.com>
3115         [BZ #19243]
3116         * malloc/arena.c (get_free_list): Remove assert and adjust
3117         reference count handling.  Add comment about reused_arena
3118         interaction.
3119         (reused_arena): Add comments abount get_free_list interaction.
3120         * malloc/tst-malloc-thread-exit.c: New file.
3121         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3122         (tst-malloc-thread-exit): Link against libpthread.
3124 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3126         [BZ #19367]
3127         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3128         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3129         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3130         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
3131         (index_Prefer_MAP_32BIT_EXEC): Likewise.
3133 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3135         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
3136         Silvermont optimizations for Knights Landing.
3138 2015-12-15  Andreas Schwab  <schwab@suse.de>
3140         [BZ #17197]
3141         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
3142         immediately after emitting SI.
3143         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
3144         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
3145         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
3146         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
3147         * iconvdata/bug-iconv10.c: New file.
3148         * iconvdata/Makefile (tests): Add bug-iconv10.
3149         ($(objpfx)bug-iconv10.out): New rule.
3151 2015-12-15  Florian Weimer  <fweimer@redhat.com>
3153         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
3154         aliasing violation.
3156 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
3158         [BZ #18472]
3159         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
3160         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
3161         conditionals for them.
3162         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
3163         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
3164         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3165         sys/kdaemon.h.
3166         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
3167         compat-only syscall, obsoleted in glibc 2.23.
3168         (create_module): Likewise.
3169         (get_kernel_syms): Likewise.
3170         (query_module): Likewise.
3171         (uselib): Likewise.
3172         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
3174 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
3176         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
3177         <linux/version.h>.
3178         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
3179         conditional code.
3180         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
3181         and ioshift_name initialization.
3183 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3186         Fix indentation.
3188 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3190         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
3192 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3194         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
3196 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
3197             Jakub Wilk  <jwilk@debian.org>
3199         [BZ #19347]
3200         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
3201         to change the group of the device to the tty group.
3203 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3205         Split large string section; add truncation advice
3206         * manual/examples/strncat.c: Remove.
3207         This example was misleading, as the code would have undefined
3208         behavior if "hello" was longer than SIZE.  Anyway, the manual
3209         shouldn't encourage strncpy+strncat for this sort of thing.
3210         * manual/string.texi (Copying Strings and Arrays): Split into
3211         three sections Copying Strings and Arrays, Concatenating Strings,
3212         and Truncating Strings, as this section was way too long.  All
3213         cross-referenced changed.  Add advice about string-truncation
3214         functions.  Remove misleading strncat example.
3216 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
3218         * manual/nss.texi (NSS Modules Interface): Document
3219         NSS_STATUS_NOTFOUND and SUCCESS.
3221 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3223         [BZ 18568]
3224         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3225         201505L, for Unicode 8.
3227 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
3229         * locale/C-translit.h: Regenerate.
3231 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3233         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
3234         and U+0153.
3236 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
3238         [BZ #19351]
3239         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
3240         expanding log(1+z), compare z rather than its square with epsilon
3241         to determine when to avoid evaluating the expansion.
3243         [BZ #19350]
3244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3245         Increase overflow threshold.
3247         [BZ #19349]
3248         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
3249         when small.
3251         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3252         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3253         New macro.
3254         [__LINUX_KERNEL_VERSION >= 0x040300]
3255         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3257         Likewise.
3258         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3259         Likewise.
3260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3261         Likewise.
3262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3263         Likewise.
3264         [__LINUX_KERNEL_VERSION >= 0x040300]
3265         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3266         [__LINUX_KERNEL_VERSION >= 0x040300]
3267         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3268         [__LINUX_KERNEL_VERSION >= 0x040300]
3269         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3270         [__LINUX_KERNEL_VERSION >= 0x040300]
3271         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3272         [__LINUX_KERNEL_VERSION >= 0x040300]
3273         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3275         Likewise.
3276         [__LINUX_KERNEL_VERSION >= 0x040300]
3277         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3278         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3279         Likewise.
3280         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3281         Likewise.
3282         [__LINUX_KERNEL_VERSION >= 0x040300]
3283         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3284         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3285         Likewise.
3286         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3287         Likewise.
3288         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
3290         Likewise.
3291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
3292         Likewise.
3293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3294         Likewise.
3295         [__LINUX_KERNEL_VERSION >= 0x040300]
3296         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3298         Likewise.
3299         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3300         Likewise.
3301         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3302         Likewise.
3303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3304         Likewise.
3305         [__LINUX_KERNEL_VERSION >= 0x040300]
3306         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3307         [__LINUX_KERNEL_VERSION >= 0x040300]
3308         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3309         [__LINUX_KERNEL_VERSION >= 0x040300]
3310         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3311         [__LINUX_KERNEL_VERSION >= 0x040300]
3312         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3313         [__LINUX_KERNEL_VERSION >= 0x040300]
3314         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3316         Likewise.
3317         [__LINUX_KERNEL_VERSION >= 0x040300]
3318         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3319         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3320         Likewise.
3321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3322         Likewise.
3323         [__LINUX_KERNEL_VERSION >= 0x040300]
3324         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3325         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3326         Likewise.
3327         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3328         Likewise.
3329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3330         (__ASSUME_SOCKET_SYSCALL): Likewise.
3331         (__ASSUME_BIND_SYSCALL): Likewise.
3332         (__ASSUME_CONNECT_SYSCALL): Likewise.
3333         (__ASSUME_LISTEN_SYSCALL): Likewise.
3334         (__ASSUME_ACCEPT_SYSCALL): Likewise.
3335         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3336         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3337         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3338         (__ASSUME_SEND_SYSCALL): Likewise.
3339         (__ASSUME_SENDTO_SYSCALL): Likewise.
3340         (__ASSUME_RECV_SYSCALL): Likewise.
3341         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3342         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
3343         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3344         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3345         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3346         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3347         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3348         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
3349         Likewise.
3350         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
3351         Likewise.
3352         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
3353         Likewise.
3354         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
3355         Likewise.
3356         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
3357         Likewise.
3358         [__LINUX_KERNEL_VERSION >= 0x020625]
3359         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3360         [__LINUX_KERNEL_VERSION >= 0x020625]
3361         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3362         [__LINUX_KERNEL_VERSION >= 0x020625]
3363         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3364         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
3365         Likewise.
3366         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
3367         Likewise.
3368         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
3369         Likewise.
3370         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
3371         Likewise.
3372         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
3373         Likewise.
3374         [__LINUX_KERNEL_VERSION >= 0x020625]
3375         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3376         [__LINUX_KERNEL_VERSION >= 0x020625]
3377         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3378         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
3379         Likewise.
3380         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
3381         Likewise.
3383 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3385         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
3386         record the current if the current ABI and CPU support the FP64
3387         extension.
3388         (has-modd-spreg): Define to record the current if the current ABI and
3389         CPU support 32-bit floating point values in odd FPU registers.
3390         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3391         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
3392         $(has-modd-spreg) equals yes.
3393         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
3394         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
3395         $(has-modd-spreg) equal yes.
3397 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3399         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
3400         basename.
3402 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
3404         * benchtests/Makefile (bench-math): Move ffs and ffsll...
3405         (bench-string): ... here.
3406         (bench): Add bench-string.
3407         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
3408         to *-benchset to reflect what they are.
3409         (benchset): Adjust.
3411         * benchtests/sincos-inputs: Add inputs from sin-inputs and
3412         cos-inputs.
3414 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
3416         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
3417         __attribute__ ((__simd__)) for vector math function declarations.
3419 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3421         Fix typo in strncat, wcsncat manual entries
3422         * manual/string.texi (Copying and Concatenation): Fix typos in
3423         sample implementations of strncat and wcsncat, by having them use
3424         the old value of the destination length, not the new one.
3426 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
3428         [BZ #16961]
3429         [BZ #16962]
3430         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
3431         string on the stack for strtod.
3432         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
3433         a string on the stack for strtof.
3434         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
3435         constructing a string on the stack for strtold.
3436         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
3437         __strtold_nan to GLIBC_PRIVATE.
3438         * math/test-nan-overflow.c: New file.
3439         * math/test-nan-payload.c: Likewise.
3440         * math/Makefile (tests): Add test-nan-overflow and
3441         test-nan-payload.
3443 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3445         Consistency about byte vs character in string.texi
3446         * manual/string.texi (String and Array Utilities):
3447         Distinguish more carefully among bytes, multibyte characters,
3448         and wide characters.  Use "byte" when talking about C 'char',
3449         to distinguish it more clearly from multibyte characters.
3450         Say "wide character" or "multibyte character" instead of
3451         "character", when a wide or multibyte character is intended.
3452         Similarly for "multibyte string" versus "string".
3453         Define these terms more carefully.
3455 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
3457         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
3458         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
3459         Likewise.
3460         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3461         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3462         * sysdeps/sh/math_private.h: New file.
3463         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
3464         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
3465         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
3466         long double function name.
3467         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3468         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3469         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3470         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
3473         Remove __finitel, __isinfl, and __isnanl.
3474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3475         Likewise.
3476         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3478         Remove __finitel.
3479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3480         Likewise.
3481         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3483 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
3485         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
3486         installed libmvec_nonshared.a.
3488 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3490         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
3491         (sysdep_routines): Likewise.
3492         (sysdep-rtld-routines): Likewise.
3493         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
3494         [$(subdir) = nptl](tests-static): test-get_hwcap-static
3495         * sysdeps/powerpc/Versions: Added new
3496         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
3497         * sysdeps/powerpc/hwcapinfo.c: New file.
3498         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
3499         and parse hwcap, hwcap2 and platform number information.
3500         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
3501         to store HWCAP+HWCAP2 and platform number.
3502         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
3503         for HWCAP+HWCAP2 and platform number in the TCB.
3504         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
3505         the HWCAP, HWCAP2 and platform number in the TCB.
3506         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
3507         (TLS_INIT_TP): Included calls to add the hwcap and
3508         at_platform values in the TCB in TP initialization.
3509         (TLS_DEFINE_INIT_TP): Likewise.
3510         (THREAD_GET_HWCAP): New macro.
3511         (THREAD_SET_HWCAP): Likewise.
3512         (THREAD_GET_AT_PLATFORM): Likewise.
3513         (THREAD_SET_AT_PLATFORM): Likewise.
3514         * sysdeps/powerpc/powerpc32/dl-machine.h:
3515         (dl_platform_init): New function that calls
3516         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
3517         powerpc32.
3518         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
3519         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
3520         this functionality, static linking case.
3521         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
3522         linking case.
3523         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
3524         __parse_hwcap_and_convert_at_platform for the static linking case.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
3526         Included the new __parse_hwcap_and_convert_at_platform symbol in the
3527         ABI list for GLIBC 2.23.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
3529         Likewise.
3530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
3531         Likewise.
3533 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
3535         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
3536         * configure: Regenerate.
3537         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
3538         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
3540 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
3542         * iconvdata/ibm930.c: Add comment explaining encoding uses.
3543         * iconvdata/ibm933.c: Likewise.
3544         * iconvdata/ibm935.c: Likewise.
3545         * iconvdata/ibm937.c: Likewise.
3546         * iconvdata/ibm939.c: Likewise.
3548 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3550         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
3551         pthread_join.
3552         * nptl/tst-cancel21.c (tf): Likewise.
3554 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
3556         [BZ #19313]
3557         * bits/typesizes.h (__CPU_MASK_TYPE): New.
3558         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3559         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3560         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
3561         Likewise.
3562         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
3563         Likewise.
3564         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
3565         Likewise.
3566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
3567         Likewise.
3568         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
3569         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
3570         unsigned long int with __CPU_MASK_TYPE.
3572 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3574         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3576 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
3578         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
3579         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
3580         t512.x.
3581         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
3583 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
3585         [BZ #19214]
3586         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
3587         argument to return extended model.  Update family and model
3588         with extended family and model when family == 0x0f.
3589         (init_cpu_features): Updated.
3591 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3593         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
3594         signed off_t, so 32bit bigger than 2GiB values are fine actually.
3596         * sysdeps/mach/hurd/mmap64.c: New file.
3598 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
3600         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
3601         rights for its main user thread in NEWTASK.
3603 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
3605         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
3606         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
3608 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
3610         [BZ #14259]
3611         * Makeconfig: Rename localedir to complocaledir.
3612         Rename inst_localedir to inst_complocaledir.
3613         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
3614         * config.make.in: Use complocaledir and libc_cv_complocaledir.
3615         * configure.ac: Use libc_cv_complocaledir.
3616         * configure: Regenerate.
3617         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3618         -DCOMPLOCALEDIR.
3619         * locale/findlocale.c: Use COMPLOCALEDIR.
3620         * locale/loadarchive.c: Likewise.
3621         * locale/programs/locale.c: Likewise.
3622         * locale/programs/localedef.c: Likewise.
3623         * locale/programs/locarchive.c: Likewise.
3624         * localedata/Makefile: Use inst_complocaledir.
3625         * sysdeps/gnu/configure: Regenerate.
3626         * sysdeps/hppa/configure: Regenerate.
3627         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3628         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3630         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3631         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3632         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3633         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3635 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
3637         [BZ #19058]
3638         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3639         AS_NEEDED.
3640         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3641         workaround.
3642         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3643         libmvec-static-only-routines): Added new file.
3644         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3646 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3648         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3649         of interrupted RPC instead of restoring it.
3651         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3652         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3653         libc_hidden_def.
3654         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3655         into initialized data instead of common. Define rtld_hidden_data_def.
3656         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3657         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3658         libc_hidden_def.
3659         (if_freenameindex): Add libc_hidden_weak.
3660         (if_nameindex): Add libc_hidden_weak.
3661         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
3662         __open64.
3663         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
3664         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
3665         * sysdeps/mach/nanosleep.c: Include <time.h>
3666         (__nanosleep): Rename to __libc_nanosleep.
3667         (__nanosleep): Add weak_alias.
3668         (nanosleep): Update alias.
3670 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3672         * stdlib/strtod_nan.c: New file.
3673         * stdlib/strtod_nan_double.h: Likewise.
3674         * stdlib/strtod_nan_float.h: Likewise.
3675         * stdlib/strtod_nan_main.c: Likewise.
3676         * stdlib/strtod_nan_narrow.h: Likewise.
3677         * stdlib/strtod_nan_wide.h: Likewise.
3678         * stdlib/strtof_nan.c: Likewise.
3679         * stdlib/strtold_nan.c: Likewise.
3680         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
3681         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
3682         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
3683         * wcsmbs/wcstod_nan.c: Likewise.
3684         * wcsmbs/wcstof_nan.c: Likewise.
3685         * wcsmbs/wcstold_nan.c: Likewise.
3686         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
3687         strtold_nan.
3688         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
3689         wcstof_nan.
3690         * include/stdlib.h (__strtof_nan): Declare and use
3691         libc_hidden_proto.
3692         (__strtod_nan): Likewise.
3693         (__strtold_nan): Likewise.
3694         (__wcstof_nan): Likewise.
3695         (__wcstod_nan): Likewise.
3696         (__wcstold_nan): Likewise.
3697         * include/wchar.h (____wcstoull_l_internal): Declare.
3698         * stdlib/strtod_l.c: Do not include <ieee754.h>.
3699         (____strtoull_l_internal): Remove declaration.
3700         (STRTOF_NAN): Define macro.
3701         (SET_MANTISSA): Remove macro.
3702         (STRTOULL): Likewise.
3703         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3704         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3705         (STRTOF_NAN): Define macro.
3706         (SET_MANTISSA): Remove macro.
3707         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3708         (SET_MANTISSA): Remove macro.
3709         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3710         macro.
3711         (SET_MANTISSA): Remove macro.
3712         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3713         macro.
3714         (SET_MANTISSA): Remove macro.
3715         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3716         (SET_MANTISSA): Remove macro.
3717         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3718         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3719         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3721         [BZ #19266]
3722         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3723         upper case and lower case letters inside NAN(), not using TOLOWER.
3724         * stdlib/tst-strtod-nan-locale-main.c: New file.
3725         * stdlib/tst-strtod-nan-locale.c: Likewise.
3726         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3727         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3728         Depend on $(gen-locales).
3729         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3730         * wcsmbs/tst-wcstod-nan-locale.c: New file.
3731         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3732         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3733         Depend on $(gen-locales).
3734         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3736 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
3738         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3740         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3742         __finitel, __isinfl, and __isnanl.
3743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3744         Likewise.
3745         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3747         __finitel.
3748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3749         Likewise.
3750         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3752 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3754         * malloc/memusage.c (me): Remove redundant getenv call.
3756 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3758         [BZ #19143]
3759         [BZ #19164]
3760         * nptl/check-cpuset.h: Remove.
3761         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3762         Remove CPU set size check.
3763         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3764         Likewise.
3765         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3766         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3767         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3768         (__pthread_setaffinity_new): Remove CPU set size check.
3769         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3770         (__kernel_cpumask_size): Remove.
3771         (__sched_setaffinity_new): Remove CPU set size check.
3772         * manual/threads.texi (Default Thread Attributes): Remove stale
3773         reference to check_cpuset_attr, determine_cpumask_size in comment.
3774         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3775         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3776         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3777         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3778         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3779         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3780         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3781         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3782         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3783         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3784         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3785         skeleton test file.
3786         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3787         tst-affinity-pid.
3789 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3791         * scripts/update-abilist.sh: New file.
3792         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3793         * Makerules (update-all-abi-%, update-all-abi)
3794         (subdir_update-all-abi): New targets.
3795         * elf/Makefile (update-all-abi): New target.
3797 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3799         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3800         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3801         (__libc_lock_define_initialized): Use it.
3802         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3803         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3804         * malloc/malloc.c (main_arena): Likewise.
3805         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3806         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3808 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3810         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3811         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3812         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3813         (PTRACE_O_MASK): Update value.
3814         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3815         New value in enum __ptrace_setoptions.
3816         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3817         (PTRACE_O_MASK): Update value.
3818         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3819         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3820         (PTRACE_O_MASK): Update value.
3821         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3822         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3823         (PTRACE_O_MASK): Update value.
3824         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3825         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3826         (PTRACE_O_MASK): Update value.
3827         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3828         New value in enum __ptrace_setoptions.
3829         (PTRACE_O_MASK): Update value.
3830         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3831         New value in enum __ptrace_setoptions.
3832         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3833         (PTRACE_O_MASK): Update value.
3835         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3836         New macro.
3837         (PACKET_AUXDATA): Likewise.
3838         (PACKET_ORIGDEV): Likewise.
3839         (PACKET_VERSION): Likewise.
3840         (PACKET_HDRLEN): Likewise.
3841         (PACKET_RESERVE): Likewise.
3842         (PACKET_TX_RING): Likewise.
3843         (PACKET_LOSS): Likewise.
3844         (PACKET_VNET_HDR): Likewise.
3845         (PACKET_TX_TIMESTAMP): Likewise.
3846         (PACKET_TIMESTAMP): Likewise.
3847         (PACKET_FANOUT): Likewise.
3848         (PACKET_TX_HAS_OFF): Likewise.
3849         (PACKET_QDISC_BYPASS): Likewise.
3850         (PACKET_ROLLOVER_STATS): Likewise.
3851         (PACKET_FANOUT_DATA): Likewise.
3852         (PACKET_MR_UNICAST): Likewise.
3854         [BZ #19242]
3855         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3856         (TOUPPER): Likewise.
3857         * stdlib/tst-strtol-locale-main.c: New file.
3858         * stdlib/tst-strtol-locale.c: Likewise.
3859         * stdlib/Makefile (tests): Add tst-strtol-locale.
3860         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3861         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3862         Depend on $(gen-locales).
3863         * wcsmbs/tst-wcstol-locale.c: New file.
3864         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3865         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3866         tr_TR.ISO-8859-9.
3867         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3868         Depend on $(gen-locales).
3870 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3872         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3873         __glibc_likely instead of __builtin_expect.  After falling back to
3874         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3875         system interface to register the code pages as occupied.
3877 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3879         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3880         [!ARM_MATH_PRIVATE_H].
3881         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3882         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3883         [!HPPA_MATH_PRIVATE_H].
3884         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3885         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3886         to [!I386_MATH_PRIVATE_H].
3887         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3888         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3889         Change guard to [!M68K_MATH_PRIVATE_H].
3890         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3891         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3892         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3893         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3894         macro.
3895         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3896         [!MIPS_MATH_PRIVATE_H].
3897         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3898         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3899         [!NIO2_MATH_PRIVATE_H].
3900         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3901         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3902         [!TILE_MATH_PRIVATE_H].
3903         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3905         [BZ #15421]
3906         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3907         initialize with 0 and define as weak alias of __signgam.
3908         * include/math.h [!_ISOMAC] (__signgam): Declare.
3909         * math/Makefile (libm-calls): Add w_lgamma_compat.
3910         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3911         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3912         test-signgam-ullong-init.
3913         (tests-static): Add test-signgam-uchar-static,
3914         test-signgam-uchar-init-static, test-signgam-uint-static,
3915         test-signgam-uint-init-static, test-signgam-ullong-static and
3916         test-signgam-ullong-init-static.
3917         (CFLAGS-test-signgam-uchar.c): New variable.
3918         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3919         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3920         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3921         (CFLAGS-test-signgam-uint.c): Likewise.
3922         (CFLAGS-test-signgam-uint-init.c): Likewise.
3923         (CFLAGS-test-signgam-uint-static.c): Likewise.
3924         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3925         (CFLAGS-test-signgam-ullong.c): Likewise.
3926         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3927         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3928         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3929         * math/Versions (libm): Add GLIBC_2.23.
3930         * math/lgamma-compat.h: New file.
3931         * math/test-signgam-main.c: Likewise.
3932         * math/test-signgam-uchar-init-static.c: Likewise.
3933         * math/test-signgam-uchar-init.c: Likewise.
3934         * math/test-signgam-uchar-static.c: Likewise.
3935         * math/test-signgam-uchar.c: Likewise.
3936         * math/test-signgam-uint-init-static.c: Likewise.
3937         * math/test-signgam-uint-init.c: Likewise.
3938         * math/test-signgam-uint-static.c: Likewise.
3939         * math/test-signgam-uint.c: Likewise.
3940         * math/test-signgam-ullong-init-static.c: Likewise.
3941         * math/test-signgam-ullong-init.c: Likewise.
3942         * math/test-signgam-ullong-static.c: Likewise.
3943         * math/test-signgam-ullong.c: Likewise.
3944         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3945         wrapper of w_lgamma_main.c.
3946         * math/w_lgamma_compat.c: New file.
3947         * math/w_lgamma_compatf.c: Likewise.
3948         * math/w_lgamma_compatl.c: Likewise.
3949         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3950         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3951         defining compatibility symbols.
3952         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3953         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3954         wrapper of w_lgammaf_main.c.
3955         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3956         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3957         defining compatibility symbols.
3958         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3959         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3960         wrapper of w_lgammal_main.c.
3961         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3962         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3963         defining compatibility symbols.
3964         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3965         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3966         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3967         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3968         <lgamma-compat.h>.
3969         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3970         (__ieee754_gamma): Define as alias.
3971         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3972         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3973         <lgamma-compat.h>.
3974         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3975         (__ieee754_gammaf): Define as alias.
3976         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3977         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3978         <lgamma-compat.h>.
3979         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3980         (__ieee754_gammal): Define as alias.
3981         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3982         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3983         <math/w_lgamma_compat.c>.
3984         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3985         Define as alias of __lgamma_compat and use in defining lgammal.
3986         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3987         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3988         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3989         (USE_AS_COMPAT): New macro.
3990         (LGAMMA_OLD_VER): Undefine and redefine.
3991         (lgammal): Do not define here.
3992         (gammal): Only define here if [GAMMA_ALIAS].
3993         * conform/linknamespace.pl (@whitelist): Remove signgam.
3994         * sysdeps/nacl/libm.abilist: Update.
3995         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3996         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3997         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3998         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3999         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4000         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4001         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4002         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4003         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4004         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4005         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4006         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4008         Likewise.
4009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4010         Likewise.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4012         Likewise.
4013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4014         Likewise.
4015         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4016         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4017         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4018         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4019         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4021         Likewise.
4022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4023         Likewise.
4024         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4025         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4026         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4028 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4030         [BZ #16364]
4031         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4032         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4034 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4036         * sysdeps/s390/fpu/bits/mathinline.h:
4037         Use __asm__ [__volatile__] instead of asm [volatile].
4038         * sysdeps/s390/abort-instr.h: Likewise.
4039         * sysdeps/s390/atomic-machine.h: Likewise.
4040         * sysdeps/s390/bits/string.h: Likewise.
4041         * sysdeps/s390/dl-tls.h: Likewise.
4042         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4043         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4044         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4045         * sysdeps/s390/fpu/fesetround.c: Likewise.
4046         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4047         * sysdeps/s390/fpu/s_fma.c: Likewise.
4048         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4049         * sysdeps/s390/memusage.h: Likewise.
4050         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4051         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4052         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4053         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4054         * sysdeps/s390/nptl/tls.h: Likewise.
4055         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4056         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4057         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4058         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4059         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4060         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4061         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4062         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4063         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4064         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4065         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4066         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4067         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4068         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4069         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4070         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4071         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4072         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4073         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4074         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4075         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4076         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4077         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4079 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4080             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4082         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4083         Add lwarx hint, and use macro for acquire instruction.
4084         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4085         Likewise.
4086         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4087         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4088         update to use new atomic macros.
4090 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4092         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4093         (__lll_trylock_elision): Fix setting of adapt_count.
4094         * sysdeps/unix/sysv/linux/powerpc/htm.h
4095         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4096         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4097         (_ABORT_SYSCALL): Renumber, and clarify definition.
4098         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4100 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4102         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4103         after system headers to prevent MIN/MAX redefinition.  Define
4104         HAVE_ALLOCA to preserve builtin alloca usage.
4106 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4108         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4109         static and don't set or restore rounding.
4110         (__cos)[IN_SINCOS]: Likewise.
4111         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4112         (__sincos): Set and restore rounding mode.  Remove check for infinite
4113         or NaN input.
4115         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4117         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4118         as used.
4120 2015-11-16  Florian Weimer  <fweimer@redhat.com>
4122         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4124 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4126         * config.make.in (have-glob-dat-reloc): New.
4127         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
4128         target supports GLOB_DAT relocaton. AC_SUBST.
4129         * configure: Regenerated.
4130         * elf/Makefile (tests): Add tst-prelink.
4131         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4132         (tst-prelink-ENV): New.
4133         ($(objpfx)tst-prelink-conflict.out): Likewise.
4134         ($(objpfx)tst-prelink-cmp.out): Likewise.
4135         * sysdeps/x86/tst-prelink.c: Moved to ...
4136         * elf/tst-prelink.c: Here.
4137         * sysdeps/x86/tst-prelink.exp: Moved to ...
4138         * elf/tst-prelink.exp: Here.
4139         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
4140         (tst-prelink-ENV): Removed.
4141         ($(objpfx)tst-prelink-conflict.out): Likewise.
4142         ($(objpfx)tst-prelink-cmp.out): Likewise.
4143         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
4145 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
4147         [BZ #14551]
4148         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
4149         (__mpn_construct_long_double): If high part overflows to infinity,
4150         set errno and recompute overflowed result of the correct sign.
4151         * sysdeps/ieee754/ldbl-128ibm/Makefile
4152         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
4153         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
4154         $(libm).
4155         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
4157 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
4159         [BZ #15479]
4160         [BZ #19238]
4161         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
4162         floating-point state after first operation on input.  Restore full
4163         state rather than just rounding mode.
4164         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4165         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4166         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4168         [BZ #19235]
4169         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
4170         add 0.5 to integer arguments.
4171         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
4172         Likewise.
4173         (.LC2): New object.
4175 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
4177         * scripts/pylintrc (reports): Set to no.
4179 2015-11-10  Roland McGrath  <roland@hack.frob.com>
4181         * elf/dl-load.c (open_verify): Take new argument FD.
4182         Skip __open call if passed FD is not -1.
4183         (_dl_map_object, open_path): Update callers.
4184         * elf/dl-sysdep-open.h: New file.
4185         * elf/dl-load.c: Include it.
4186         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
4187         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
4188         * sysdeps/nacl/dl-sysdep-open.h: New file.
4189         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
4190         from libc to rtld.
4192 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4194         [BZ #19228]
4195         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
4196         and restore full floating-point state.
4197         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4198         Likewise.
4199         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4200         Likewise.
4201         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4202         Likewise.
4203         * math/test-nearbyint-except-2.c: New file.
4204         * math/Makefile (tests): Add test-nearbyint-except-2.
4206 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
4208         [BZ #19178]
4209         * sysdeps/x86/Makefile (tests): Add tst-prelink.
4210         (tst-prelink-ENV): New.
4211         ($(objpfx)tst-prelink-conflict.out): Likewise.
4212         ($(objpfx)tst-prelink-cmp.out): Likewise.
4213         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4214         * sysdeps/x86/tst-prelink.c: New file.
4215         * sysdeps/x86/tst-prelink.exp: Likewise.
4217 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4219         * math/auto-libm-test-in: Add another test of pow.
4220         * math/auto-libm-test-out: Regenerated.
4221         * math/libm-test.inc (pow_test_data): Add another test.
4223 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4225         [BZ #19219]
4226         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
4227         weak_alias to nearbyintl.
4229 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4231         * sysdeps/aarch64/bits/string.h: New file.
4232         (_STRING_ARCH_unaligned): Define.
4234 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4236         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
4237         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4238         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4239         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
4242 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
4244         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
4245         for original name of the DSO.  Add it to the name list of the DSO
4246         if it is actually given.
4247         (_dl_map_object): Keep track of whether an audit module rewrote
4248         the file name.  If yes, pass the original name to
4249         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
4250         debugging is enabled, log the change of the file name.
4251         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
4252         _dl_map_object_from_fd.
4253         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
4254         * elf/tst-audit11.c: New file
4255         * elf/tst-auditmod11.c: New file.
4256         * elf/tst-audit11mod1.c: New file.
4257         * elf/tst-audit11mod2.c: New file.
4258         * elf/tst-audit11mod2.map: New file.
4259         * elf/tst-audit12.c: New file
4260         * elf/tst-auditmod12.c: New file.
4261         * elf/tst-audit12mod1.c: New file.
4262         * elf/tst-audit12mod2.c: New file.
4263         * elf/tst-audit12mod2.map: New file.
4264         * elf/tst-audit12mod3.c: New file.
4266 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4268         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
4269         Don't create weak aliases,
4270         because versioned symbols are created later.
4271         * sysdeps/s390/s390-32/setjmp.S
4272         (setjmp, _setjmp): Remove weak and rename to an unique name
4273         in SHARED case due to existing versioned symbols.
4274         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4275         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
4276         (getcontext): Create weak alias only in non SHARED case.
4277         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4279 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4281         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
4282         (__ASSUME_*_SYSCALL) Define new macros.
4283         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
4284         Remove socketcall syscalls.
4285         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
4286         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
4287         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
4288         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
4289         * sysdeps/unix/sysv/linux/send.c (__libc_send):
4290         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
4292 2015-11-09  Florian Weimer  <fweimer@redhat.com>
4294         [BZ #12926]
4295         Terminate process on invalid netlink response.
4296         * sysdeps/unix/sysv/linux/netlinkaccess.h
4297         (__netlink_assert_response): Declare.
4298         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
4299         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
4300         (sysdep_routines): Add netlink_assert_response.
4301         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
4302         __netlink_assert_response.
4303         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4304         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4305         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
4306         __netlink_assert_response.
4308 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4310         [BZ #19178]
4311         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
4312         (RTYPE_CLASS_PLT): Likewise.
4313         (RTYPE_CLASS_COPY): Likewise.
4314         (RTYPE_CLASS_TLS): Likewise.
4315         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
4316         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
4317         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
4318         DL_DEBUG_PRELINK.
4320 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
4322         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
4323         calls with argument -0.5.
4324         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
4326         * configure.ac (libc_cv_z_nodelete): Remove configure test.
4327         (libc_cv_z_nodlopen): Likewise.
4328         (libc_cv_z_initfirst): Likewise.
4329         * configure: Regenerated.
4331 2015-11-06  Florian Weimer  <fweimer@redhat.com>
4333         Simplify abilist format to be line-based.
4334         * scripts/abilist.awk: Collect descriptors in the descs variable.
4335         (emit): Write descs variable and sort it
4336         externally, with sort.
4337         * sysdeps/**/*.abilist: Convert to new format.
4339 2015-11-06  Mark Wielaard  <mjw@redhat.com>
4341         [BZ #11460]
4342         * io/Makefile (routines): Add fts64.
4343         (tests): Add tst-fts and tst-fts-lfs.
4344         (CFLAGS-fts64.c): New.
4345         * io/Versions (GLIBC_2.23): New.
4346         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
4347         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
4348         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
4349         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
4350         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
4351         (FTSENT64): Likewise.
4352         (fts64_children): Likewise.
4353         (fts64_close): Likewise.
4354         (fts64_open): Likewise.
4355         (fts64_read): Likewise.
4356         (fts64_set): Likewise.
4357         * io/fts64.c: New file.
4358         * io/tst-fts.c: New test.
4359         * io/tst-fts-lfs.c: Likewise.
4360         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
4361         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
4362         fts64_set.
4363         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4364         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4365         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4366         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4367         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4368         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4369         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4370         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4371         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4372         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4373         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4374         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4375         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4377         Likewise.
4378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4379         Likewise.
4380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4382         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4383         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4384         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4385         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4386         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4389         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4390         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4391         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4392         * sysdeps/wordsize-64/fts.c: New file.
4393         * sysdeps/wordsize-64/fts64.c: Likewise.
4394         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
4395         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
4396         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
4397         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
4399 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4401         * math/libm-test.inc (NON_FINITE): New macro.
4402         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
4403         * math/gen-libm-test.pl (show_exceptions): Add argument
4404         $non_finite.
4405         (parse_args): Update call to show_exceptions.
4406         * math/test-math-finite.h: New file.
4407         * math/test-math-no-finite.h: Likewise.
4408         * math/test-double-finite.c: Likewise.
4409         * math/test-float-finite.c: Likewise.
4410         * math/test-ldouble-finite.c: Likewise.
4411         * math/test-double.c: Include "test-math-no-finite.h".
4412         * math/test-float.c: Include "test-math-no-finite.h".
4413         * math/test-ldouble.c: Include "test-math-no-finite.h".
4414         * math/test-math-inline.h (TEST_FINITE): New macro.
4415         * math/test-math-vector.h (TEST_FINITE): Likewise.
4416         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
4417         (libm-tests): Add test-float-finite and test-double-finite.
4418         ($(objpfx)test-float-finite.o): New dependency on
4419         $(objpfx)libm-test.stmp.
4420         ($(objpfx)test-double-finite.o): Likewise.
4421         ($(objpfx)test-ldouble-finite.o): Likewise.
4422         (libm-test-no-inline-cflags): New variable.
4423         (libm-test-finite-cflags): Likewise.
4424         (CFLAGS-test-float-finite.c): Likewise.
4425         (CFLAGS-test-double-finite.c): Likewise.
4426         (CFLAGS-test-ldouble-finite.c): Likewise.
4427         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
4428         (CFLAGS-test-double.c): Likewise.
4429         (CFLAGS-test-ldouble.c): Likewise.
4431 2015-11-05  Roland McGrath  <roland@hack.frob.com>
4433         * io/fcntl.c (__fcntl): Add ... to prototype.
4434         * misc/ioctl.c (__ioctl): Likewise.
4435         * misc/syscall.c (syscall): Likewise.
4437 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4439         * scripts/list-fixed-bugs.py: New file.
4441         [BZ #19213]
4442         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
4443         returned for argument 1.
4444         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
4445         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
4446         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
4447         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
4448         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
4449         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
4451         [BZ #19211]
4452         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
4453         __USE_XOPEN], not if [!__USE_ISOC99].
4454         (lgammaf): Likewise.
4455         (lgammal): Likewise.
4456         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
4457         (gammaf): Likewise.
4458         (gammal): Likewise.
4459         * math/test-signgam-finite-c11.c: New file.
4460         * math/test-signgam-finite-c99.c: Likewise.
4461         * math/test-signgam-finite.c: Likewise.
4462         * math/Makefile (tests): Add test-signgam-finite,
4463         test-signgam-finite-c99 and test-signgam-finite-c11.
4464         (CFLAGS-test-signgam-finite.c): New variable.
4465         (CFLAGS-test-signgam-finite-c99.c): Likewise.
4466         (CFLAGS-test-signgam-finite-c11.c): Likewise.
4468         [BZ #19212]
4469         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
4470         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
4471         500].
4472         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
4473         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
4474         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
4475         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
4476         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
4477         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
4478         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
4479         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
4480         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
4481         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
4483         [BZ #19209]
4484         * math/bits/math-finite.h (ldexp): Remove declaration.
4485         (ldexpf): Likewise.
4486         (ldexpl): Likewise.
4488         [BZ #19205]
4489         * math/bits/math-finite.h (acosf): Condition declaration on
4490         [__USE_ISOC99].
4491         (acosl): Likewise.
4492         (acoshf): Likewise.
4493         (acoshl): Likewise.
4494         (asinf): Likewise.
4495         (asinl): Likewise.
4496         (atan2f): Likewise.
4497         (atan2l): Likewise.
4498         (atanhf): Likewise.
4499         (atanhl): Likewise.
4500         (coshf): Likewise.
4501         (coshl): Likewise.
4502         (expf): Likewise.
4503         (expl): Likewise.
4504         (fmodf): Likewise.
4505         (fmodl): Likewise.
4506         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
4507         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
4508         (j0l): Likewise.
4509         (y0f): Likewise.
4510         (y0l): Likewise.
4511         (j1f): Likewise.
4512         (j1l): Likewise.
4513         (y1f): Likewise.
4514         (y1l): Likewise.
4515         (jnf): Likewise.
4516         (jnl): Likewise.
4517         (ynf): Likewise.
4518         (ynl): Likewise.
4519         (lgammaf_r): Condition declaration on [__USE_ISOC99].
4520         (lgammal_r): Likewise.
4521         (__lgamma_r_finite): New declaration.
4522         (__lgammaf_r_finite): Likewise.
4523         (__lgammal_r_finite): Likewise.
4524         (lgamma): Use __lgamma_r_finite.
4525         (lgammaf): Condition definition on [__USE_ISOC99].  Use
4526         __lgammaf_r_finite.
4527         (lgammal): Condition definition on [__USE_ISOC99].  Use
4528         __lgammal_r_finite.
4529         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
4530         __lgamma_r_finite.
4531         (gammaf): Condition definition on [__USE_ISOC99].  Use
4532         __lgammaf_r_finite.
4533         (gammal): Condition definition on [__USE_ISOC99].  Use
4534         __lgammal_r_finite.
4535         (logf): Condition declaration on [__USE_ISOC99].
4536         (logl): Likewise.
4537         (log10f): Likewise.
4538         (log10l): Likewise.
4539         (ldexpf): Likewise.
4540         (ldexpl): Likewise.
4541         (powf): Likewise.
4542         (powl): Likewise.
4543         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
4544         __USE_ISOC99].
4545         (remainderf): Condition declaration on [__USE_ISOC99].
4546         (remainderl): Likewise.
4547         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
4548         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
4549         (scalbl): Likewise.
4550         (sinhf): Condition declaration on [__USE_ISOC99].
4551         (sinhl): Likewise.
4552         (sqrtf): Likewise.
4553         (sqrtl): Likewise.
4555 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4557         * sysdeps/arm/atomic-machine.h
4558         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4559         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4560         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
4561         Remove conditional code.
4562         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4563         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4564         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
4565         Change conditional to [__ASSEMBLER__].
4566         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4567         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
4568         [!__ASSEMBLER__].
4569         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
4570         code.
4571         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
4572         conditional macro definitions.
4573         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
4574         (__arch_compare_and_exchange_val_16_acq): Likewise.
4575         (__arch_compare_and_exchange_val_32_acq): Likewise.
4576         (atomic_exchange_and_add): Likewise.
4577         (atomic_add): Likewise.
4578         (atomic_add_negative): Likewise.
4579         (atomic_add_zero): Likewise.
4580         (atomic_bit_set): Likewise.
4581         (atomic_bit_test_set): Likewise.
4582         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
4583         code unconditional.
4584         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4586         * math/test-math-errno.h: New file.
4587         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
4588         empty.
4589         (TEST_ERRNO): New macro.
4590         (TEST_EXCEPTIONS): Likewise.
4591         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
4592         (TEST_EXCEPTIONS): Likewise.
4593         * math/test-math-vector.h (TEST_ERRNO): Likewise.
4594         * math/test-double.c: Include "test-math-errno.h".
4595         * math/test-float.c: Likewise.
4596         * math/test-ldouble.c: Likewise.
4597         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
4598         code unconditional.
4599         (test_exceptions): Only run code if TEST_EXCEPTIONS.
4600         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
4601         unconditional.
4602         (test_errno): Only run code if TEST_ERRNO.
4603         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
4605 2015-11-04  Florian Weimer  <fweimer@redhat.com>
4607         * nptl/tst-once5.cc: Remove attribution.
4609 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4611         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
4612         sqrt, tan, tanh, y0, y1 and yn.
4613         * math/auto-libm-test-out: Regenerated.
4614         * math/libm-test.inc (scalb_test_data): Add more tests.
4615         (scalbn_test_data): Likewise.
4616         (scalbln_test_data): Likewise.
4617         (signbit_test_data): Likewise.
4618         (sin_test_data): Likewise.
4619         (sincos_test_data): Likewise.
4620         (sinh_test_data): Likewise.
4621         (sqrt_test_data): Likewise.
4622         (tan_test_data): Likewise.
4623         (tanh_test_data): Likewise.
4624         (tgamma_test_data): Likewise.
4625         (y0_test_data): Likewise.
4626         (y1_test_data): Likewise.
4627         (yn_test_data): Likewise.
4628         (significand_test_data): Likewise.
4629         * sysdeps/i386/fpu/libm-test-ulps: Update.
4631 2015-11-03  David Kastrup  <dak@gnu.org>
4633         [BZ #18604]
4634         * assert/assert.h (assert): Don't macro-expand failed assertion
4635         expression in error message.
4636         * malloc/malloc.c (assert): Likewise.
4638 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
4640         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4641         test.
4642         * configure: Regenerated.
4644 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
4646         * math/libm-test.inc (modf_test_data): Add more tests.
4647         (nearbyint_test_data): Likewise.
4648         (nextafter_test_data): Likewise.
4649         (nexttoward_test_data): Likewise.
4650         (pow_test_data): Likewise.
4651         (remainder_test_data): Likewise.
4652         (remquo_test_data): Likewise.
4653         (rint_test_data): Likewise.
4655         [BZ #19201]
4656         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4657         Check for zero remainder in case of large exponents and ensure
4658         correct sign of result in that case.
4659         * math/libm-test.inc (remainder_test_data): Add more tests.
4661         [BZ #6799]
4662         * math/s_nextafter.c: Include <errno.h>.
4663         (__nextafter): Set errno on overflow and underflow.
4664         * math/s_nexttowardf.c: Include <errno.h>.
4665         (__nexttowardf): Set errno on overflow and underflow.
4666         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
4667         (__nextafterl): Set errno on overflow and underflow.
4668         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
4669         (__nexttoward): Set errno on overflow and underflow.
4670         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
4671         (__nexttowardf): Set errno on overflow and underflow.
4672         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
4673         (__nextafterf): Set errno on overflow and underflow.
4674         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
4675         (__nextafterl): Set errno on overflow and underflow.
4676         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
4677         (__nexttoward): Set errno on overflow and underflow.
4678         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
4679         (__nexttowardf): Set errno on overflow and underflow.
4680         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
4681         (__nextafterl): Set errno on overflow and underflow.
4682         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
4683         (__nexttoward): Set errno on overflow and underflow.
4684         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
4685         (__nexttowardf): Set errno on overflow and underflow.
4686         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
4687         (__nexttoward): Set errno on overflow and underflow.
4688         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
4689         (__nexttowardf): Set errno on overflow and underflow.
4690         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
4691         (__nldbl_nexttowardf): Set errno on overflow and underflow.
4692         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
4693         (__nextafterl): Set errno on overflow and underflow.
4694         * math/libm-test.inc (nextafter_test_data): Do not allow errno
4695         setting to be missing on overflow.  Add more tests.
4696         (nexttoward_test_data): Likewise.
4698         * configure.ac (libc_cv_initfini_array): Remove configure test.
4699         * configure: Regenerated.
4701 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
4703         [BZ #19189]
4704         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4705         non-finite argument handle arguments with negative sign.
4707         * math/libm-test.inc (j0_test_data): Do not test sign of zero
4708         result from infinite argument.
4709         (j1_test_data): Likewise.
4710         (jn_test_data): Likewise.
4711         (y0_test_data): Likewise.
4712         (y1_test_data): Likewise.
4713         (yn_test_data): Likewise.
4715         [BZ #16171]
4716         * math/w_remainder.c (drem): Define as weak alias of __remainder.
4717         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4718         * math/w_remainderf.c (dremf): Define as weak alias of
4719         __remainderf.
4720         * math/w_remainderl.c (dreml): Define as weak alias of
4721         __remainderl.
4722         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4723         __remainder.
4724         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4725         __remainderf.
4726         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4727         __remainderl.
4728         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4729         weak alias of remainderl.
4730         * sysdeps/ieee754/ldbl-opt/w_remainder.c
4731         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4732         alias of __remainder.
4733         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4734         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4735         strong alias of __remainderl.
4736         (dreml): Use long_double_symbol.
4737         * math/Makefile (libm-calls): Remove w_drem.
4738         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4739         (CFLAGS-nldbl-drem.c): Remove variable.
4740         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4741         * math/w_drem.c: Remove file.
4742         * math/w_dremf.c: Likewise.
4743         * math/w_dreml.c: Likewise.
4744         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4745         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4746         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4748         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4749         * sysdeps/i386/configure: Regenerated.
4750         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4751         * sysdeps/x86_64/configure: Regenerated.
4753         * configure.ac (libc_cv_asm_protected_directive): Remove configure
4754         test.
4755         (libc_cv_visibility_attribute): Likewise.
4756         (libc_cv_protected_data): Test unconditionally.
4757         (libc_cv_broken_visibility_attribute): Remove configure test.
4758         (libc_cv_have_sdata_section): Test unconditionally.
4759         * configure: Regenerated.
4761         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4762         * include/scratch_buffer.h: Include <stddef.h> instead of
4763         <libc-internal.h>.
4764         (struct scratch_buffer): Use max_align_t instead of
4765         libc_max_align_t.
4767 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4769         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4770         instead of extend_alloca.  Change control flow to avoid a goto.
4771         Remove assert which is trivially always true.
4773 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4775         [BZ #16068]
4776         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4777         (FE_ALL_EXCEPT_X86): New macro.
4778         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4779         FE_ALL_EXCEPT.  Ensure precision control is included in
4780         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4781         handle "denormal operand exception" and clear FZ and DAZ bits.
4782         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4783         (FE_ALL_EXCEPT_X86): New macro.
4784         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4785         FE_ALL_EXCEPT.  Ensure precision control is included in
4786         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4787         handle "denormal operand exception" and clear FZ and DAZ bits.
4788         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4789         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4790         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4791         test-fenv-x87 and test-fenv-sse-2.
4792         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4794         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4795         * math/test-double.h (BUILD_COMPLEX): New macro.
4796         * math/test-float.h (BUILD_COMPLEX): Likewise.
4797         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4799         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4800         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4801         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4802         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4803         instead of DBL_DENORM_MIN in comment.
4804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4805         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4806         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4807         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4808         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4809         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4811 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4813         [BZ# 19048]
4814         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4815         attached_threads member.
4816         (main_arena): Initialize attached_threads.
4817         * malloc/arena.c (list_lock): Update comment.
4818         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4819         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4820         (deattach_arena): New function.
4821         (_int_new_arena): Initialize arena reference count and deattach
4822         replaced arena.
4823         (get_free_list, reused_arena): Update reference count and deattach
4824         replaced arena.
4825         (arena_thread_freeres): Update arena reference count and only put
4826         unreferenced arenas on the free list.
4828 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4830         [BZ #19181]
4831         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4832         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4833         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4834         * math/test-fenv-clear-main.c: New file.
4835         * math/test-fenv-clear.c: Likewise.
4836         * math/Makefile (tests): Add test-fenv-clear.
4837         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4838         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4839         test-fenv-clear-sse.
4840         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4842         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4843         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4844         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4846 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4848         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4849         static libc.
4851 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4853         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4854         test.
4855         * sysdeps/i386/configure: Regenerated.
4856         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4857         test.
4858         * sysdeps/x86_64/configure: Regenerated.
4859         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4861         memset-avx2 unconditionally instead of conditionally on
4862         [$(config-cflags-avx2) = yes].
4863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4864         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4865         unconditional.
4866         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4867         * sysdeps/x86_64/multiarch/memset_chk.S
4868         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4869         to [IS_IN (libc) && SHARED].
4871 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4873         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4874         configure test.
4875         * sysdeps/arm/configure: Regenerated.
4876         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4877         Define variable if not already defined.
4879         [BZ #17404]
4880         * sysdeps/mips/atomic-machine.h
4881         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4882         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4883         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4885         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4886         unconditional.
4887         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4888         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4889         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4890         unconditional.
4891         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4892         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4893         unconditional.
4894         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4895         * stdlib/setenv.c
4896         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4897         code unconditional.
4898         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4899         Remove conditional code.
4900         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4901         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4902         unconditional.
4903         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4904         code.
4905         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4906         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4907         unconditional.
4908         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4909         code.
4910         * sysdeps/ieee754/ldbl-128/k_tanl.c
4911         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4912         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4913         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4914         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4915         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4916         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4917         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4918         unconditional.
4919         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4920         code.
4921         * sysdeps/ieee754/ldbl-96/k_tanl.c
4922         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4923         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4925         * nptl/tst-initializers1-c11.c: New file.
4926         * nptl/tst-initializers1-gnu11.c: Likewise.
4927         * nptl/Makefile (tests): Add these new tests.
4928         (CFLAGS-tst-initializers1-c11.c): New variable.
4929         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4931         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4932         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4933         instead of -std=gnu99.
4934         * configure.ac (systemtap): Test with -std=gnu11 instead of
4935         -std=gnu99.
4936         * configure: Regenerated.
4937         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4938         in compilation command in comment.
4940         * sysdeps/nptl/configure.ac: Remove file.
4941         * sysdeps/nptl/configure: Remove generated file.
4942         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4943         * configure: Regenerated.
4944         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4945         * config.make.in (have-forced-unwind): Remove variable.
4946         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4947         unconditional.
4948         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4949         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4950         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4951         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4952         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4953         unconditional.
4955 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4957         [BZ #19174]
4958         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4959         .skip_lock_out_of_tbegin_retries.
4960         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4961         (__lll_lock_elision): Likewise, and respect a value of
4962         try_tbegin <= 0.
4964 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4966         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4967         statement.
4969 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4971         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4972         variable.
4973         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4974         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4976         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4977         of -std=c1x -D_ISOC11_SOURCE.
4979         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4980         * configure: Regenerated.
4981         * manual/install.texi (Tools for Compilation): Document
4982         requirement for GCC 4.7 or later.
4983         * INSTALL: Regenerated.
4985 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4987         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4988         on CNT to a conditional jump to 'puntdata'.
4990 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4992         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4993         (libc_cv_gcc_tls_model_attr): Likewise.
4994         * configure: Regenerated.
4996         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4997         * configure: Regenerated.
4998         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5000 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5002         * configure.ac (old_glibc_headers): Remove configure test.
5003         * configure: Regenerated.
5004         * config.make.in (old-glibc-headers): Remove variable.
5005         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5006         (install): Remove dependency on remove-old-headers.
5007         (headers2_0): Remove variable.
5008         (remove-old-headers): Remove rule.
5010         * configure.ac (libc_cv_dot_text): Remove configure test.
5011         (libc_cv_asm_set_directive): Use .text instead of
5012         ${libc_cv_dot_text} in configure test.
5013         * configure: Regenerated.
5015 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5017         [BZ #19168]
5018         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5020 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5022         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5023         not support static linking.
5024         * configure: Regenerate.
5026 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
5028         * math/libm-test.inc (check_float_internal): Do not special-case
5029         errors up to 0.5 ulp.
5031         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5032         log2.
5033         * math/auto-libm-test-out: Regenerated.
5034         * math/libm-test.inc (MAX_EXP): New macro.
5035         (ilogb_test_data): Add more tests.
5036         (isfinite_test_data): Likewise.
5037         (isgreater_test_data): Likewise.
5038         (isgreaterequal_test_data): Likewise.
5039         (isinf_test_data): Likewise.
5040         (isless_test_data): Likewise.
5041         (islessequal_test_data): Likewise.
5042         (islessgreater_test_data): Likewise.
5043         (isnan_test_data): Likewise.
5044         (isnormal_test_data): Likewise.
5045         (issignaling_test_data): Likewise.
5046         (isunordered_test_data): Likewise.
5047         (j0_test_data): Likewise.
5048         (j1_test_data): Likewise.
5049         (jn_test_data): Likewise.
5050         (lgamma_test_data): Likewise.
5051         (log_test_data): Likewise.
5052         (log10_test_data): Likewise.
5053         (log1p_test_data): Likewise.
5054         (log2_test_data): Likewise.
5055         (logb_test_data): Likewise.
5056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5058         [BZ #18611]
5059         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5060         avoid excess range and precision on underflow.
5061         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5062         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5063         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5064         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5065         underflow.
5066         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5067         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5068         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5069         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5070         * math/auto-libm-test-in: Do not allow missing errno setting for
5071         tests of j1 and jn.
5072         * math/auto-libm-test-out: Regenerated.
5074 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
5076         [BZ #15491]
5077         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5078         floating-point environment instead of clearing all exceptions.
5079         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5080         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5081         merging in "invalid" exceptions from frndint.
5082         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5083         * math/test-nearbyint-except.c: New file.
5084         * math/Makefile (tests): Add test-nearbyint-except.
5086 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
5088         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5090         * sysdeps/tile/libm-test-ulps: Regenerated.
5092 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5095         (__NR_sync_file_range2): Assume it is always defined.
5096         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5097         (__NR_sync_file_range): Assume it is always defined.
5099 2015-10-22  Andreas Schwab  <schwab@suse.de>
5101         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5102         INTERNAL_SYSCALL_ERRNO.
5103         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5104         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5105         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5106         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5107         Likewise.
5108         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5110 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5112         * io/tst-fcntl.c (fd): New static variable.
5113         (do_prepare): Open temporary file here....
5114         (do_test): ...not here.
5116         * io/ftwtest-sh: Also trap on exit to remove temporary files.
5118 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5120         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5121         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5122         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5123         Moved before "#ifdef __ASSEMBLER__".
5125 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5127         [BZ #19156]
5128         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5129         arguments very close to 0.
5131 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
5133         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
5134         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
5136 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5138         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5139         New.  Defined for GCC 5 and above when not compiling for
5140         profiling.
5141         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5143         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5144         Renamed to ...
5145         (CFLAGS-epoll_pwait.o): This.
5146         (CFLAGS-mmap.c): Renamed to ...
5147         (CFLAGS-mmap.o): This.
5148         (CFLAGS-mmap64.c): Renamed to ...
5149         (CFLAGS-mmap64.o): This.
5150         (CFLAGS-epoll_pwait.os): New.
5151         (CFLAGS-mmap.os): Likewise.
5152         (CFLAGS-mmap64.os): Likewise.
5153         (CFLAGS-semtimedop.os): Likewise.
5154         (CFLAGS-semtimedop.c): Renamed to ...
5155         (CFLAGS-semtimedop.o): This.
5157 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5159         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
5160         warning message.
5162 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5164         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
5165         * Makefile ($(objpfx)c++-types-check.out): Filter out
5166         $(+gccwarn-c) instead of -Wstrict-prototypes.
5168         * io/fts.c (fts_open): Convert to prototype-style function
5169         definition.
5170         * malloc/mcheck.c (mcheck): Likewise.
5171         (mcheck_pedantic): Likewise.
5172         * posix/regexec.c (re_search_2_stub): Likewise.  Use
5173         internal_function.
5174         (re_search_internal): Likewise.
5175         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
5176         prototype-style function definition.
5177         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5178         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5179         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
5180         (xdr_utmpptr): Likewise.
5181         (xdr_utmparr): Likewise.
5182         (xdr_utmpidle): Likewise.
5183         (xdr_utmpidleptr): Likewise.
5184         (xdr_utmpidlearr): Likewise.
5186         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
5187         log, log10 and log2.
5188         * math/auto-libm-test-out: Regenerated.
5189         * math/libm-test.inc (fmod_test_data): Add more tests.
5190         (fpclassify_test_data): Likewise.
5191         (frexp_test_data): Likewise.
5192         (hypot_test_data): Likewise.
5193         (ilogb_test_data): Likewise.
5195 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
5197         * debug/fortify_fail.c (__fortify_fail): Convert to
5198         prototype-style function definition.  Use internal_function.
5199         * libio/genops.c (save_for_backup): Convert to prototype-style
5200         function definition.
5201         * libio/wgenops.c (save_for_wbackup): Likewise.
5202         * login/grantpt.c (grantpt): Likewise.
5203         * login/ptsname.c (ptsname): Likewise.
5204         (__ptsname_r): Likewise.
5205         * login/unlockpt.c (unlockpt): Likewise.
5206         * mach/msgserver.c (__mach_msg_server): Likewise.
5207         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
5208         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
5209         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
5210         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
5211         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
5212         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
5213         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
5214         Likewise.
5215         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
5216         internal_function.
5217         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
5218         prototype-style function definition.
5219         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
5220         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
5221         (__pthread_create_2_0): Likewise.
5222         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
5223         * nptl/register-atfork.c (__register_atfork): Likewise.
5224         * posix/glob.c (glob): Likewise.
5225         * posix/regcomp.c (re_comp): Likewise.
5226         * posix/regexec.c (re_exec): Likewise.
5227         * stdlib/add_n.c [__STDC__]: Make code unconditional.
5228         [!__STDC__]: Remove conditional code.
5229         * stdlib/cmp.c [__STDC__]: Make code unconditional.
5230         [!__STDC__]: Remove conditional code.
5231         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
5232         [!__STDC__]: Remove conditional code.
5233         * stdlib/divrem.c [__STDC__]: Make code unconditional.
5234         [!__STDC__]: Remove conditional code.
5235         * stdlib/lshift.c [__STDC__]: Make code unconditional.
5236         [!__STDC__]: Remove conditional code.
5237         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
5238         [!__STDC__]: Remove conditional code.
5239         * stdlib/mul.c [__STDC__]: Make code unconditional.
5240         [!__STDC__]: Remove conditional code.
5241         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
5242         [!__STDC__]: Remove conditional code.
5243         * stdlib/rshift.c [__STDC__]: Make code unconditional.
5244         [!__STDC__]: Remove conditional code.
5245         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
5246         function definition.
5247         (STRTOF): Likewise.
5248         * stdlib/strtod_l.c (__STRTOF): Likewise.
5249         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
5250         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
5251         (__strtol_l): Likewise.
5252         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
5253         [!__STDC__]: Remove conditional code.
5254         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
5255         definition.
5256         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5257         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5258         type.
5259         (__strcasecmp): Convert to prototype-style function definition.
5260         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
5261         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5262         type.
5263         (__strncasecmp): Convert to prototype-style function definition.
5264         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
5265         * sunrpc/xdr.c (xdr_union): Likewise.
5266         * sunrpc/xdr_array.c (xdr_array): Likewise.
5267         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
5268         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
5269         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
5270         Likewise.
5271         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
5272         Likewise.
5273         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
5274         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5275         Likewise.
5276         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
5277         (LOCALE_PARAM_PROTO): Likewise.
5278         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
5279         argument type.
5280         (ut_argument_spec): Remove macro.
5281         (ut_argument_spec_iso): Rename to ut_argument_spec.
5282         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
5283         prototype-style function definition.
5284         (memcpy_uppcase): Likewise.
5285         (__strftime_internal): Likewise.
5286         (my_strftime): Likewise.
5287         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
5288         (LOCALE_PARAM_DECL): Likewise.
5289         [_LIBC] (LOCALE_PARAM): Include argument type.
5290         (__strptime_internal): Convert to prototype-style function
5291         definition.
5292         (strptime): Likewise.
5293         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5294         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5295         type.
5296         (__wcscasecmp): Convert to prototype-style function definition.
5297         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
5298         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5299         type.
5300         (__wcsncasecmp): Convert to prototype-style function definition.
5302         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
5303         function definition.
5304         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5305         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5306         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
5307         * elf/dl-minimal.c (_itoa): Likewise.
5308         * hurd/hurdmalloc.c (malloc): Likewise.
5309         (free): Likewise.
5310         (realloc): Likewise.
5311         * inet/inet6_option.c (inet6_option_space): Likewise.
5312         (inet6_option_init): Likewise.
5313         (inet6_option_append): Likewise.
5314         (inet6_option_alloc): Likewise.
5315         (inet6_option_next): Likewise.
5316         (inet6_option_find): Likewise.
5317         * io/ftw.c (FTW_NAME): Likewise.
5318         (NFTW_NAME): Likewise.
5319         (NFTW_NEW_NAME): Likewise.
5320         (NFTW_OLD_NAME): Likewise.
5321         * libio/iofwide.c (_IO_fwide): Likewise.
5322         * libio/strops.c (_IO_str_init_static_internal): Likewise.
5323         (_IO_str_init_static): Likewise.
5324         (_IO_str_init_readonly): Likewise.
5325         (_IO_str_overflow): Likewise.
5326         (_IO_str_underflow): Likewise.
5327         (_IO_str_count): Likewise.
5328         (_IO_str_seekoff): Likewise.
5329         (_IO_str_pbackfail): Likewise.
5330         (_IO_str_finish): Likewise.
5331         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
5332         (_IO_wstr_overflow): Likewise.
5333         (_IO_wstr_underflow): Likewise.
5334         (_IO_wstr_count): Likewise.
5335         (_IO_wstr_seekoff): Likewise.
5336         (_IO_wstr_pbackfail): Likewise.
5337         (_IO_wstr_finish): Likewise.
5338         * locale/programs/localedef.c (normalize_codeset): Likewise.
5339         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5340         (add_locales_to_archive): Likewise.
5341         (delete_locales_from_archive): Likewise.
5342         * malloc/malloc.c (__libc_mallinfo): Likewise.
5343         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
5344         * misc/tsearch.c (__tfind): Likewise.
5345         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
5346         * nptl/pthread_attr_getdetachstate.c
5347         (__pthread_attr_getdetachstate): Likewise.
5348         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
5349         Likewise.
5350         * nptl/pthread_attr_getinheritsched.c
5351         (__pthread_attr_getinheritsched): Likewise.
5352         * nptl/pthread_attr_getschedparam.c
5353         (__pthread_attr_getschedparam): Likewise.
5354         * nptl/pthread_attr_getschedpolicy.c
5355         (__pthread_attr_getschedpolicy): Likewise.
5356         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
5357         Likewise.
5358         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
5359         Likewise.
5360         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
5361         Likewise.
5362         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
5363         Likewise.
5364         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
5365         (__pthread_attr_init_2_0): Likewise.
5366         * nptl/pthread_attr_setdetachstate.c
5367         (__pthread_attr_setdetachstate): Likewise.
5368         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
5369         Likewise.
5370         * nptl/pthread_attr_setinheritsched.c
5371         (__pthread_attr_setinheritsched): Likewise.
5372         * nptl/pthread_attr_setschedparam.c
5373         (__pthread_attr_setschedparam): Likewise.
5374         * nptl/pthread_attr_setschedpolicy.c
5375         (__pthread_attr_setschedpolicy): Likewise.
5376         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
5377         Likewise.
5378         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
5379         Likewise.
5380         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
5381         Likewise.
5382         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
5383         Likewise.
5384         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
5385         Likewise.
5386         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
5387         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
5388         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
5389         use internal_function.
5390         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
5391         prototype-style function definition.
5392         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
5393         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
5394         internal_function.
5395         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
5396         Convert to prototype-style function definition.
5397         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5398         Likewise.
5399         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5400         Likewise.
5401         (__pthread_mutex_unlock): Likewise.
5402         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
5403         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
5404         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
5405         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
5406         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
5407         * nss/makedb.c (process_input): Likewise.
5408         * posix/fnmatch.c (__strchrnul): Likewise.
5409         (__wcschrnul): Likewise.
5410         (fnmatch): Likewise.
5411         * posix/fnmatch_loop.c (FCT): Likewise.
5412         * posix/glob.c (globfree): Likewise.
5413         (__glob_pattern_type): Likewise.
5414         (__glob_pattern_p): Likewise.
5415         * posix/regcomp.c (re_compile_pattern): Likewise.
5416         (re_set_syntax): Likewise.
5417         (re_compile_fastmap): Likewise.
5418         (regcomp): Likewise.
5419         (regerror): Likewise.
5420         (regfree): Likewise.
5421         * posix/regexec.c (regexec): Likewise.
5422         (re_match): Likewise.
5423         (re_search): Likewise.
5424         (re_match_2): Likewise.
5425         (re_search_2): Likewise.
5426         (re_search_stub): Likewise.  Use internal_function
5427         (re_copy_regs): Likewise.
5428         (re_set_registers): Convert to prototype-style function
5429         definition.
5430         (prune_impossible_nodes): Likewise.  Use internal_function.
5431         * resolv/inet_net_pton.c (inet_net_pton): Convert to
5432         prototype-style function definition.
5433         (inet_net_pton_ipv4): Likewise.
5434         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5435         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
5436         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
5437         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
5438         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5439         Make variadic.
5440         * time/strptime_l.c (localtime_r): Convert to prototype-style
5441         function definition.
5442         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5443         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5444         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5445         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5447         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
5448         definition.
5449         (_ufc_doit_r): Likewise.
5450         * crypt/crypt_util.c (_ufc_copymem): Likewise.
5451         (_ufc_output_conversion_r): Likewise.
5452         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
5453         * inet/rcmd.c (rcmd_af): Likewise.
5454         (rcmd): Likewise.
5455         (ruserok_af): Likewise.
5456         (ruserok): Likewise.
5457         (ruserok2_sa): Likewise.
5458         (ruserok_sa): Likewise.
5459         (iruserok_af): Likewise.
5460         (iruserok): Likewise.
5461         (__ivaliduser): Likewise.
5462         (__validuser2_sa): Likewise.
5463         * inet/rexec.c (rexec_af): Likewise.
5464         (rexec): Likewise.
5465         * inet/ruserpass.c (ruserpass): Likewise.
5466         * locale/programs/xmalloc.c (xcalloc): Likewise.
5467         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
5468         * math/w_drem.c (__drem): Likewise.
5469         * math/w_dremf.c (__dremf): Likewise.
5470         * math/w_dreml.c (__dreml): Likewise.
5471         * misc/daemon.c (daemon): Likewise.
5472         * resolv/res_debug.c (p_fqnname): Likewise.
5473         * stdlib/div.c (div): Likewise.
5474         * string/memcmp.c (memcmp_bytes): Likewise.
5475         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
5476         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
5478         * crypt/cert.c (main): Convert to prototype-style function
5479         definition.
5480         * io/pipe.c (__pipe): Likewise.
5481         * io/pipe2.c (__pipe2): Likewise.
5482         * misc/futimesat.c (futimesat): Likewise.
5483         * misc/utimes.c (__utimes): Likewise.
5484         * posix/execve.c (__execve): Likewise.
5485         * posix/execvp.c (execvp): Likewise.
5486         * posix/execvpe.c (__execvpe): Likewise.
5487         * posix/fexecve.c (fexecve): Likewise.
5488         * socket/socketpair.c (socketpair): Likewise.
5489         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5490         * stdlib/erand48.c (erand48): Likewise.
5491         * stdlib/erand48_r.c (__erand48_r): Likewise.
5492         * stdlib/jrand48.c (jrand48): Likewise.
5493         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
5494         * stdlib/lcong48.c (lcong48): Likewise.
5495         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
5496         * stdlib/nrand48.c (nrand48): Likewise.
5497         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
5498         * stdlib/seed48.c (seed48): Likewise.
5499         * stdlib/seed48_r.c (__seed48_r): Likewise.
5500         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
5501         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
5502         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
5504 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5506         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
5507         * configure: Regenerated.
5508         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
5509         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
5510         unconditional.
5511         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5512         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5513         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5514         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
5515         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
5516         unconditional.
5517         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5519         * posix/Makefile (CFLAGS-regex.c): Remove variable.
5520         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
5522         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
5523         function definition.
5524         * crypt/crypt_util.c (__encrypt_r): Likewise.
5525         * libio/genops.c (_IO_no_init): Likewise.
5526         * libio/iofopncook.c (_IO_fopencookie): Likewise.
5527         (_IO_old_fopencookie): Likewise.
5528         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5529         * libio/iogetline.c (_IO_getline): Likewise.
5530         (_IO_getline_info): Likewise.
5531         * libio/iogetwline.c (_IO_getwline): Likewise.
5532         (_IO_getwline_info): Likewise.
5533         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5534         * libio/vswprintf.c (_IO_vswprintf): Likewise.
5535         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
5536         (find_entry): Likewise.
5537         (iterate_table): Likewise.
5538         (lookup): Likewise.
5539         * login/forkpty.c (forkpty): Likewise.
5540         * misc/hsearch_r.c (__hsearch_r): Likewise.
5541         * misc/select.c (__select): Likewise.
5542         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
5543         Likewise.
5544         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
5545         Likewise.
5546         * nptl/old_pthread_cond_timedwait.c
5547         (__pthread_cond_timedwait_2_0): Likewise.
5548         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5549         * nptl/pthread_barrierattr_getpshared.c
5550         (pthread_barrierattr_getpshared): Likewise.
5551         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5552         Likewise.
5553         * nptl/pthread_mutex_setprioceiling.c
5554         (pthread_mutex_setprioceiling): Likewise.
5555         * nptl/pthread_mutexattr_getprioceiling.c
5556         (pthread_mutexattr_getprioceiling): Likewise.
5557         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5558         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5559         Likewise.
5560         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5561         Likewise.
5562         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
5563         Likewise.
5564         * socket/recvfrom.c (__recvfrom): Likewise.
5565         * socket/sendto.c (__sendto): Likewise.
5566         * socket/setsockopt.c (__setsockopt): Likewise.
5567         * stdio-common/_itoa.c (_itoa): Likewise.
5568         * stdio-common/_itowa.c (_itowa): Likewise.
5569         * stdio-common/reg-printf.c (__register_printf_specifier):
5570         Likewise.
5571         (__register_printf_function): Likewise.
5572         * stdio-common/tempname.c (__path_search): Likewise.
5573         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
5574         * stdlib/mul_1.c (mpn_mul_1): Likewise.
5575         * stdlib/random_r.c (__initstate_r): Likewise.
5576         * stdlib/setenv.c (__add_to_environ): Likewise.
5577         * stdlib/submul_1.c (mpn_submul_1): Likewise.
5578         * streams/getpmsg.c (getpmsg): Likewise.
5579         * streams/putmsg.c (putmsg): Likewise.
5580         * streams/putpmsg.c (putpmsg): Likewise.
5581         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
5582         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5583         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
5584         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
5585         * sunrpc/pm_getport.c (pmap_getport): Likewise.
5586         * sunrpc/svc_udp.c (cache_get): Likewise.
5587         * sunrpc/xdr_array.c (xdr_vector): Likewise.
5588         * sysdeps/mach/hurd/getcwd.c
5589         (__canonicalize_directory_name_internal): Likewise.
5590         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
5591         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
5592         * sysdeps/mach/hurd/select.c (__select): Likewise.
5593         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5594         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
5595         * sysdeps/sparc/nptl/pthread_barrier_init.c
5596         (__pthread_barrier_init): Likewise.
5597         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
5598         (__pthread_cond_timedwait): Likewise.
5599         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
5600         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
5601         Likewise.
5602         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
5603         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
5604         Likewise.
5605         * sysvipc/semtimedop.c (semtimedop): Likewise.
5606         * time/setitimer.c (__setitimer): Likewise.
5607         * time/strftime_l.c (emacs_strftime): Likewise.
5609 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5611         * config.make.in (have-ssp): Delete.
5612         (stack-protector): New variable.
5613         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
5614         cache test for -fstack-protector-strong.  Export stack_protector to
5615         the best ssp flag.
5616         * configure: Regenerated.
5617         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5618         * nscd/Makefile (CFLAGS-nscd): Likewise.
5619         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5621 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
5623         [BZ #19122]
5624         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5625         attribute_hidden.
5627 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5629         [BZ #18743]
5630         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5631         code to...
5632         (ELIDE_LOCK): ...here.
5633         (__get_new_count): New function with part of the code from
5634         __elide_lock that updates the value of adapt_count after a
5635         transaction abort.
5636         (__elided_trylock): Moved this code to...
5637         (ELIDE_TRYLOCK): ...here.
5639 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5641         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5642         * configure: Regenerate.
5643         * INSTALL: Regenerate.
5644         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5645         and tweak grammar.
5647 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
5649         * login/programs/pt_chown.c: Include signal.h
5650         (main): Clear any signal mask from the parent process.
5652 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5654         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5655         * configure: Regenerated.
5656         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5657         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5658         $(gnu89-inline-CFLAGS).
5660         * configure.ac (libc_cv_asm_weak_directive): Remove configure
5661         test.
5662         (libc_cv_asm_weakext_directive): Likewise.
5663         * configure: Regenerated.
5664         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
5665         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
5666         * include/libc-symbols.h
5667         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
5668         #error.
5669         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
5670         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
5672         * sysdeps/arm/backtrace.c (__backtrace): Convert to
5673         prototype-style function definition.
5674         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5675         * sysdeps/i386/ffs.c (__ffs): Likewise.
5676         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5677         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
5678         Likewise.
5679         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5680         Likewise.
5681         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5682         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5683         Likewise.
5684         * sysdeps/m68k/ffs.c (__ffs): Likewise.
5685         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
5686         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
5687         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
5688         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
5689         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
5690         * sysdeps/mach/hurd/access.c (__access): Likewise.
5691         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
5692         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
5693         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5694         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
5695         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
5696         (cthread_getspecific): Likewise.
5697         (cthread_setspecific): Likewise.
5698         (__libc_getspecific): Likewise.
5699         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
5700         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
5701         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
5702         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5703         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5704         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5705         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5706         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5707         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5708         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5709         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5710         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5711         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5712         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5713         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5714         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5715         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5716         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5717         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5718         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5719         * sysdeps/mach/hurd/link.c (__link): Likewise.
5720         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5721         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5722         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5723         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5724         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5725         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5726         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5727         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5728         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5729         * sysdeps/mach/hurd/rename.c (rename): Likewise.
5730         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5731         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5732         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5733         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5734         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5735         * sysdeps/mach/hurd/send.c (__send): Likewise.
5736         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5737         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5738         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5739         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5740         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5741         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5742         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5743         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5744         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5745         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5746         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5747         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5748         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5749         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5750         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5751         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5752         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5753         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5754         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5755         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5756         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5757         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5758         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5759         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5760         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5761         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5762         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5763         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5764         * sysdeps/posix/alarm.c (alarm): Likewise.
5765         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5766         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5767         * sysdeps/posix/dup.c (__dup): Likewise.
5768         * sysdeps/posix/dup2.c (__dup2): Likewise.
5769         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5770         (main): Likewise.
5771         * sysdeps/posix/flock.c (__flock): Likewise.
5772         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5773         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5774         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5775         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5776         * sysdeps/posix/isatty.c (__isatty): Likewise.
5777         * sysdeps/posix/killpg.c (killpg): Likewise.
5778         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5779         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5780         * sysdeps/posix/raise.c (raise): Likewise.
5781         * sysdeps/posix/remove.c (remove): Likewise.
5782         * sysdeps/posix/rename.c (rename): Likewise.
5783         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5784         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5785         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5786         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5787         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5788         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5789         * sysdeps/posix/sigset.c (sigset): Likewise.
5790         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5791         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5792         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5793         * sysdeps/posix/time.c (time): Likewise.
5794         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5795         (ttyname): Likewise.
5796         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5797         * sysdeps/posix/utime.c (utime): Likewise.
5798         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5799         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5800         Likewise.
5801         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5802         (pthread_spin_trylock): Likewise.
5803         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5804         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5805         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5806         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5807         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5808         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5809         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5810         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5811         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5812         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5813         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5814         * sysdeps/s390/ffs.c (__ffs): Likewise.
5815         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5816         Likewise.
5817         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5818         Likewise.
5819         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5820         Likewise.
5821         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5822         (pthread_barrier_destroy): Likewise.
5823         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5824         (__pthread_barrier_wait): Likewise.
5825         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5826         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5827         (__pthread_barrier_wait): Likewise.
5828         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5829         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5830         (memcmp_not_common_alignment): Likewise.
5831         (MEMCMP): Likewise.
5832         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5833         (_wordcopy_fwd_dest_aligned): Likewise.
5834         (_wordcopy_bwd_aligned): Likewise.
5835         (_wordcopy_bwd_dest_aligned): Likewise.
5836         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5837         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5838         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5839         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5840         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5841         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5842         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5843         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5844         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5845         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5846         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5847         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5848         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5849         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5850         * sysdeps/unix/stime.c (stime): Likewise.
5851         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5852         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5853         Likewise.  Use internal_function.
5854         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5855         Convert to prototype-style function definition.
5856         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5857         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5858         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5859         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5860         Likewise.  Use internal_function.
5861         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5862         prototype-style function definition
5863         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5864         Likewise.
5865         (__getlogin_r): Likewise.
5866         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5867         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5868         (__pthread_cond_broadcast): Likewise.
5869         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5870         (__pthread_cond_destroy): Likewise.
5871         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5872         (__pthread_cond_init): Likewise.
5873         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5874         (__pthread_cond_signal): Likewise.
5875         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5876         (__pthread_cond_wait): Likewise.
5877         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5878         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5879         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5880         Likewise.
5881         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5882         Likewise.
5883         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5884         Likewise.
5885         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5886         Likewise.
5887         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5889         (__ftruncate64): Likewise.
5890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5891         (truncate64): Likewise.
5892         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5893         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5894         (pthread_getcpuclockid): Likewise.
5895         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5896         Likewise.
5897         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5898         Likewise.
5899         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5900         Likewise.
5901         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5902         Likewise.
5903         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5904         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5905         (__libc_sigaction): Likewise.
5906         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5907         Likewise.
5908         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5909         (__sigprocmask): Likewise.
5910         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5911         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5912         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5913         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5914         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5915         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5916         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5917         Likewise.
5918         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5919         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5920         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5921         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5922         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5923         Likewise.
5924         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5925         (__sigprocmask): Likewise.
5926         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5927         (cfgetispeed): Likewise.
5928         (cfsetospeed): Likewise.
5929         (cfsetispeed): Likewise.
5930         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5931         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5932         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5933         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5934         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5935         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5936         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5937         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5938         Likewise.
5939         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5940         Likewise.
5941         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5942         Likewise.
5943         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5944         Likewise.
5945         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5947 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5949         sunrpc: Rewrite with explicit TLS access using __thread.
5950         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5951         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5952         directly.
5953         (__rpc_thread_variables): Access thread_rpc_vars directly.
5954         Eliminate redundant assignment of the tvp variable.
5956 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5958         malloc: Rewrite with explicit TLS access using __thread.
5959         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5960         (tsd_setspecific, tsd_getspecific): Remove.
5961         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5962         (tsd_setspecific, tsd_getspecific): Likewise.
5963         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5964         (tsd_setspecific, tsd_getspecific): Likewise.
5965         * malloc/arena.c (thread_arena): New TLS variable.
5966         (arena_key): Remove variable.
5967         (arena_get): Use thread_arena.
5968         (arena_lookup): Remove macro.
5969         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5970         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5971         (_int_new_arena, get_free_list, reused_arena)
5972         (arena_thread_freeres): Use thread_arena.
5973         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5974         tsd_getspecific, tsd_setspecific from safety annotations.
5975         (Allocating Cleared Space): Remove arena_lookup from safety
5976         annotations.
5978 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5980         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5981         struct scratch_buffer instead of extend_alloca.
5983 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5985         * sysdeps/unix/sysv/linux/kernel-features.h
5986         (__ASSUME_SOCK_CLOEXEC): Remove.
5987         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5988         (__have_paccept): Remove unused macro.
5989         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5990         * misc/syslog.c (openlog_internal): Remove fallback code for
5991         !__ASSUME_SOCK_CLOEXEC.
5992         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5993         missing SOCK_CLOEXEC.
5994         * nscd/connections.c (have_sock_cloexec): Remove definition.
5995         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5996         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5997         !__ASSUME_SOCK_CLOEXEC.
5998         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5999         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6000         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6001         definition.
6002         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6003         code for !__ASSUME_SOCK_CLOEXEC.
6005 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6007         [BZ #18982]
6008         * manual/stdio.texi (Variable Arguments Output): Add portability
6009         note, explaining that vfprintf clobbers the va_list pointer.
6011 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6013         * math/libm-test.inc (fabs_test_data): Add more tests.
6014         (fdim_test_data): Likewise.
6015         (fma_test_data): Likewise.
6016         (fmax_test_data): Likewise.
6017         (fmin_test_data): Likewise.
6018         (fmod_test_data): Likewise.
6020 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6022         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6023         data.
6025 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6027         * math/libm-test.inc (ceil_test_data): Add more tests and more
6028         expectations for "inexact".
6029         (floor_test_data): Add more tests.
6030         (round_test_data): Likewise.
6031         (trunc_test_data): Likewise.
6033         * crypt/cert.c (good_bye): Convert to prototype-style function
6034         definition.
6035         (get8): Likewise.
6036         (put8): Likewise.
6037         * crypt/crypt-entry.c (crypt): Likewise.
6038         (__fcrypt): Likewise.
6039         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6040         (_ufc_set_bits): Likewise.
6041         (_ufc_clearmem): Likewise.
6042         (__init_des_r): Likewise.
6043         (shuffle_sb): Likewise.
6044         (shuffle_sb): Likewise.
6045         (_ufc_setup_salt_r): Likewise.
6046         (_ufc_mk_keytab_r): Likewise.
6047         (_ufc_dofinalperm_r): Likewise.
6048         (encrypt): Likewise.
6049         (__setkey_r): Likewise.
6050         (setkey): Likewise.
6051         * crypt/md5.c (md5_init_ctx): Likewise.
6052         (md5_read_ctx): Likewise.
6053         (md5_finish_ctx): Likewise.
6054         (md5_stream): Likewise.
6055         (md5_buffer): Likewise.
6056         (md5_process_bytes): Likewise.
6057         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6058         (__sha256_finish_ctx): Likewise.
6059         (__sha256_process_bytes): Likewise.
6060         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6061         (__sha512_finish_ctx): Likewise.
6062         (__sha512_process_bytes): Likewise.
6063         * ctype/isctype.c (__isctype): Likewise.
6064         * debug/backtrace.c (__backtrace): Likewise.
6065         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6066         * debug/fgets_chk.c (__fgets_chk): Likewise.
6067         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6068         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6069         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6070         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6071         * debug/memset_chk.c (__memset_chk): Likewise.
6072         * debug/strcat_chk.c (__strcat_chk): Likewise.
6073         * debug/strncat_chk.c (__strncat_chk): Likewise.
6074         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6075         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6076         * dirent/dirfd.c (dirfd): Likewise.
6077         * dirent/getdents.c (__getdirentries): Likewise.
6078         * dirent/getdents64.c (getdirentries64): Likewise.
6079         * dirent/rewinddir.c (__rewinddir): Likewise.
6080         * dirent/seekdir.c (seekdir): Likewise.
6081         * dirent/telldir.c (telldir): Likewise.
6082         * elf/sln.c (makesymlinks): Likewise.
6083         (makesymlink): Likewise.
6084         * gmon/gmon.c (__moncontrol): Likewise.
6085         (__monstartup): Likewise.
6086         (write_hist): Likewise.
6087         (write_call_graph): Likewise.
6088         (write_bb_counts): Likewise.
6089         * grp/setgroups.c (setgroups): Likewise.
6090         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6091         * inet/inet_net.c (inet_network): Likewise.
6092         * inet/inet_netof.c (inet_netof): Likewise.
6093         * inet/rcmd.c (rresvport_af): Likewise.
6094         (rresvport): Likewise.
6095         * io/access.c (__access): Likewise.
6096         * io/chdir.c (__chdir): Likewise.
6097         * io/chmod.c (__chmod): Likewise.
6098         * io/chown.c (__chown): Likewise.
6099         * io/close.c (__close): Likewise.
6100         * io/creat.c (creat): Likewise.
6101         * io/creat64.c (creat64): Likewise.
6102         * io/dup.c (__dup): Likewise.
6103         * io/dup2.c (__dup2): Likewise.
6104         * io/dup3.c (__dup3): Likewise.
6105         * io/euidaccess.c (__euidaccess): Likewise.
6106         * io/faccessat.c (faccessat): Likewise.
6107         * io/fchmod.c (__fchmod): Likewise.
6108         * io/fchmodat.c (fchmodat): Likewise.
6109         * io/fchown.c (__fchown): Likewise.
6110         * io/fchownat.c (fchownat): Likewise.
6111         * io/fcntl.c (__fcntl): Likewise.
6112         * io/flock.c (__flock): Likewise.
6113         * io/fts.c (fts_load): Likewise.
6114         (fts_close): Likewise.
6115         (fts_read): Likewise.
6116         (fts_set): Likewise.
6117         (fts_children): Likewise.
6118         (fts_build): Likewise.
6119         (fts_stat): Likewise.
6120         (fts_sort): Likewise.
6121         (fts_alloc): Likewise.
6122         (fts_lfree): Likewise.
6123         (fts_palloc): Likewise.
6124         (fts_padjust): Likewise.
6125         (fts_maxarglen): Likewise.
6126         (fts_safe_changedir): Likewise.
6127         * io/getwd.c (getwd): Likewise.
6128         * io/isatty.c (__isatty): Likewise.
6129         * io/lchown.c (__lchown): Likewise.
6130         * io/link.c (__link): Likewise.
6131         * io/linkat.c (linkat): Likewise.
6132         * io/lseek.c (__libc_lseek): Likewise.
6133         * io/mkdir.c (__mkdir): Likewise.
6134         * io/mkdirat.c (mkdirat): Likewise.
6135         * io/mkfifo.c (mkfifo): Likewise.
6136         * io/mkfifoat.c (mkfifoat): Likewise.
6137         * io/open.c (__libc_open): Likewise.
6138         * io/open64.c (__libc_open64): Likewise.
6139         * io/readlink.c (__readlink): Likewise.
6140         * io/readlinkat.c (readlinkat): Likewise.
6141         * io/rmdir.c (__rmdir): Likewise.
6142         * io/symlink.c (__symlink): Likewise.
6143         * io/symlinkat.c (symlinkat): Likewise.
6144         * io/ttyname.c (ttyname): Likewise.
6145         * io/ttyname_r.c (__ttyname_r): Likewise.
6146         * io/umask.c (__umask): Likewise.
6147         * io/unlink.c (__unlink): Likewise.
6148         * io/unlinkat.c (unlinkat): Likewise.
6149         * io/utime.c (utime): Likewise.
6150         * libio/clearerr.c (clearerr): Likewise.
6151         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
6152         * libio/feof.c (_IO_feof): Likewise.
6153         * libio/feof_u.c (feof_unlocked): Likewise.
6154         * libio/ferror.c (_IO_ferror): Likewise.
6155         * libio/ferror_u.c (ferror_unlocked): Likewise.
6156         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6157         * libio/fileno.c (__fileno): Likewise.
6158         * libio/fputc.c (fputc): Likewise.
6159         * libio/fputc_u.c (fputc_unlocked): Likewise.
6160         * libio/fputwc.c (fputwc): Likewise.
6161         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
6162         * libio/freopen.c (freopen): Likewise.
6163         * libio/freopen64.c (freopen64): Likewise.
6164         * libio/fseek.c (fseek): Likewise.
6165         * libio/fseeko.c (fseeko): Likewise.
6166         * libio/fseeko64.c (fseeko64): Likewise.
6167         * libio/ftello.c (__ftello): Likewise.
6168         * libio/ftello64.c (ftello64): Likewise.
6169         * libio/fwide.c (fwide): Likewise.
6170         * libio/genops.c (_IO_un_link): Likewise.
6171         (_IO_link_in): Likewise.
6172         (_IO_least_marker): Likewise.
6173         (_IO_switch_to_main_get_area): Likewise.
6174         (_IO_switch_to_backup_area): Likewise.
6175         (_IO_switch_to_get_mode): Likewise.
6176         (_IO_free_backup_area): Likewise.
6177         (_IO_switch_to_put_mode): Likewise.
6178         (__overflow): Likewise.
6179         (__underflow): Likewise.
6180         (__uflow): Likewise.
6181         (_IO_setb): Likewise.
6182         (_IO_doallocbuf): Likewise.
6183         (_IO_default_underflow): Likewise.
6184         (_IO_default_uflow): Likewise.
6185         (_IO_default_xsputn): Likewise.
6186         (_IO_sgetn): Likewise.
6187         (_IO_default_xsgetn): Likewise.
6188         (_IO_sync): Likewise.
6189         (_IO_default_setbuf): Likewise.
6190         (_IO_default_seekpos): Likewise.
6191         (_IO_default_doallocate): Likewise.
6192         (_IO_init): Likewise.
6193         (_IO_old_init): Likewise.
6194         (_IO_default_sync): Likewise.
6195         (_IO_default_finish): Likewise.
6196         (_IO_default_seekoff): Likewise.
6197         (_IO_sputbackc): Likewise.
6198         (_IO_sungetc): Likewise.
6199         (_IO_set_column): Likewise.
6200         (_IO_set_column): Likewise.
6201         (_IO_adjust_column): Likewise.
6202         (_IO_get_column): Likewise.
6203         (_IO_init_marker): Likewise.
6204         (_IO_remove_marker): Likewise.
6205         (_IO_marker_difference): Likewise.
6206         (_IO_marker_delta): Likewise.
6207         (_IO_seekmark): Likewise.
6208         (_IO_unsave_markers): Likewise.
6209         (_IO_nobackup_pbackfail): Likewise.
6210         (_IO_default_pbackfail): Likewise.
6211         (_IO_default_seek): Likewise.
6212         (_IO_default_stat): Likewise.
6213         (_IO_default_read): Likewise.
6214         (_IO_default_write): Likewise.
6215         (_IO_default_showmanyc): Likewise.
6216         (_IO_default_imbue): Likewise.
6217         (_IO_iter_next): Likewise.
6218         (_IO_iter_file): Likewise.
6219         * libio/getc.c (_IO_getc): Likewise.
6220         * libio/getwc.c (_IO_getwc): Likewise.
6221         * libio/iofclose.c (_IO_new_fclose): Likewise.
6222         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6223         * libio/iofflush.c (_IO_fflush): Likewise.
6224         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
6225         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
6226         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
6227         * libio/iofgets.c (_IO_fgets): Likewise.
6228         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
6229         * libio/iofgetws.c (fgetws): Likewise.
6230         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6231         * libio/iofopen64.c (_IO_fopen64): Likewise.
6232         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6233         (_IO_cookie_write): Likewise.
6234         (_IO_cookie_seek): Likewise.
6235         (_IO_cookie_close): Likewise.
6236         (_IO_cookie_seekoff): Likewise.
6237         (_IO_old_cookie_seek): Likewise.
6238         * libio/iofputs.c (_IO_fputs): Likewise.
6239         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
6240         * libio/iofputws.c (fputws): Likewise.
6241         * libio/iofputws_u.c (fputws_unlocked): Likewise.
6242         * libio/iofread.c (_IO_fread): Likewise.
6243         * libio/iofread_u.c (__fread_unlocked): Likewise.
6244         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
6245         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
6246         * libio/ioftell.c (_IO_ftell): Likewise.
6247         * libio/iofwrite.c (_IO_fwrite): Likewise.
6248         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6249         * libio/iogets.c (_IO_gets): Likewise.
6250         * libio/iopadn.c (_IO_padn): Likewise.
6251         * libio/iopopen.c (_IO_new_proc_open): Likewise.
6252         (_IO_new_popen): Likewise.
6253         (_IO_new_proc_close): Likewise.
6254         * libio/ioputs.c (_IO_puts): Likewise.
6255         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
6256         (_IO_seekoff): Likewise.
6257         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
6258         (_IO_seekpos): Likewise.
6259         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6260         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6261         * libio/ioungetc.c (_IO_ungetc): Likewise.
6262         * libio/ioungetwc.c (ungetwc): Likewise.
6263         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6264         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6265         * libio/iowpadn.c (_IO_wpadn): Likewise.
6266         * libio/libc_fatal.c (__libc_fatal): Likewise.
6267         * libio/memstream.c (__open_memstream): Likewise.
6268         (_IO_mem_sync): Likewise.
6269         (_IO_mem_finish): Likewise.
6270         * libio/oldfileops.c (_IO_old_file_init): Likewise.
6271         (_IO_old_file_close_it): Likewise.
6272         (_IO_old_file_finish): Likewise.
6273         (_IO_old_file_fopen): Likewise.
6274         (_IO_old_file_attach): Likewise.
6275         (_IO_old_file_setbuf): Likewise.
6276         (_IO_old_do_write): Likewise.
6277         (old_do_write): Likewise.
6278         (_IO_old_file_underflow): Likewise.
6279         (_IO_old_file_overflow): Likewise.
6280         (_IO_old_file_sync): Likewise.
6281         (_IO_old_file_seekoff): Likewise.
6282         (_IO_old_file_write): Likewise.
6283         (_IO_old_file_xsputn): Likewise.
6284         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6285         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6286         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
6287         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
6288         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6289         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
6290         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
6291         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6292         (_IO_old_popen): Likewise.
6293         (_IO_old_proc_close): Likewise.
6294         * libio/oldpclose.c (__old_pclose): Likewise.
6295         * libio/pclose.c (__new_pclose): Likewise.
6296         * libio/peekc.c (_IO_peekc_locked): Likewise.
6297         * libio/putc.c (_IO_putc): Likewise.
6298         * libio/putc_u.c (putc_unlocked): Likewise.
6299         * libio/putchar.c (putchar): Likewise.
6300         * libio/putchar_u.c (putchar_unlocked): Likewise.
6301         * libio/putwc.c (putwc): Likewise.
6302         * libio/putwc_u.c (putwc_unlocked): Likewise.
6303         * libio/putwchar.c (putwchar): Likewise.
6304         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6305         * libio/rewind.c (rewind): Likewise.
6306         * libio/setbuf.c (setbuf): Likewise.
6307         * libio/setlinebuf.c (setlinebuf): Likewise.
6308         * libio/vasprintf.c (_IO_vasprintf): Likewise.
6309         * libio/vscanf.c (_IO_vscanf): Likewise.
6310         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
6311         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
6312         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6313         * libio/wgenops.c (_IO_least_wmarker): Likewise.
6314         (_IO_switch_to_main_wget_area): Likewise.
6315         (_IO_switch_to_wbackup_area): Likewise.
6316         (_IO_wsetb): Likewise.
6317         (_IO_wdefault_pbackfail): Likewise.
6318         (_IO_wdefault_finish): Likewise.
6319         (_IO_wdefault_uflow): Likewise.
6320         (__woverflow): Likewise.
6321         (__wuflow): Likewise.
6322         (__wunderflow): Likewise.
6323         (_IO_wdefault_xsputn): Likewise.
6324         (_IO_wdefault_xsgetn): Likewise.
6325         (_IO_wdoallocbuf): Likewise.
6326         (_IO_wdefault_doallocate): Likewise.
6327         (_IO_switch_to_wget_mode): Likewise.
6328         (_IO_free_wbackup_area): Likewise.
6329         (_IO_switch_to_wput_mode): Likewise.
6330         (_IO_sputbackwc): Likewise.
6331         (_IO_sungetwc): Likewise.
6332         (_IO_adjust_wcolumn): Likewise.
6333         (_IO_init_wmarker): Likewise.
6334         (_IO_wmarker_delta): Likewise.
6335         (_IO_seekwmark): Likewise.
6336         (_IO_unsave_wmarkers): Likewise.
6337         * libio/wmemstream.c (open_wmemstream): Likewise.
6338         (_IO_wmem_sync): Likewise.
6339         (_IO_wmem_finish): Likewise.
6340         * locale/nl_langinfo.c (nl_langinfo): Likewise.
6341         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
6342         * locale/programs/simple-hash.c (init_hash): Likewise.
6343         (delete_hash): Likewise.
6344         (insert_entry): Likewise.
6345         (set_entry): Likewise.
6346         (next_prime): Likewise.
6347         (is_prime): Likewise.
6348         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
6349         (xmalloc): Likewise.
6350         (xrealloc): Likewise.
6351         * locale/programs/xstrdup.c (xstrdup): Likewise.
6352         * localedata/collate-test.c (xstrcoll): Likewise.
6353         * localedata/xfrm-test.c (xstrcmp): Likewise.
6354         * login/getlogin_r.c (__getlogin_r): Likewise.
6355         * login/getpt.c (__posix_openpt): Likewise.
6356         * login/login_tty.c (login_tty): Likewise.
6357         * login/setlogin.c (setlogin): Likewise.
6358         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
6359         (mach_msg_destroy_port): Likewise.
6360         (mach_msg_destroy_memory): Likewise.
6361         * malloc/mcheck.c (flood): Likewise.
6362         * misc/acct.c (acct): Likewise.
6363         * misc/brk.c (__brk): Likewise.
6364         * misc/chflags.c (chflags): Likewise.
6365         * misc/chroot.c (chroot): Likewise.
6366         * misc/fchflags.c (fchflags): Likewise.
6367         * misc/fstab.c (getfsspec): Likewise.
6368         (getfsfile): Likewise.
6369         * misc/fsync.c (fsync): Likewise.
6370         * misc/ftruncate.c (__ftruncate): Likewise.
6371         * misc/ftruncate64.c (__ftruncate64): Likewise.
6372         * misc/getdomain.c (getdomainname): Likewise.
6373         (getdomainname): Likewise.
6374         * misc/gethostname.c (__gethostname): Likewise.
6375         * misc/getpass.c (getpass): Likewise.
6376         * misc/getttyent.c (skip): Likewise.
6377         (value): Likewise.
6378         * misc/gtty.c (gtty): Likewise.
6379         * misc/hsearch.c (hsearch): Likewise.
6380         (hcreate): Likewise.
6381         * misc/hsearch_r.c (__hcreate_r): Likewise.
6382         (__hdestroy_r): Likewise.
6383         * misc/ioctl.c (__ioctl): Likewise.
6384         * misc/mkdtemp.c (mkdtemp): Likewise.
6385         * misc/mkostemp.c (mkostemp): Likewise.
6386         * misc/mkostemp64.c (mkostemp64): Likewise.
6387         * misc/mkostemps.c (mkostemps): Likewise.
6388         * misc/mkostemps64.c (mkostemps64): Likewise.
6389         * misc/mkstemp.c (mkstemp): Likewise.
6390         * misc/mkstemp64.c (mkstemp64): Likewise.
6391         * misc/mkstemps.c (mkstemps): Likewise.
6392         * misc/mkstemps64.c (mkstemps64): Likewise.
6393         * misc/mktemp.c (__mktemp): Likewise.
6394         * misc/preadv.c (preadv): Likewise.
6395         * misc/preadv64.c (preadv64): Likewise.
6396         * misc/pwritev.c (pwritev): Likewise.
6397         * misc/pwritev64.c (pwritev64): Likewise.
6398         * misc/readv.c (__readv): Likewise.
6399         * misc/revoke.c (revoke): Likewise.
6400         * misc/setdomain.c (setdomainname): Likewise.
6401         * misc/setegid.c (setegid): Likewise.
6402         * misc/seteuid.c (seteuid): Likewise.
6403         * misc/sethostid.c (sethostid): Likewise.
6404         * misc/sethostname.c (sethostname): Likewise.
6405         * misc/setregid.c (__setregid): Likewise.
6406         * misc/setreuid.c (__setreuid): Likewise.
6407         * misc/sstk.c (sstk): Likewise.
6408         * misc/stty.c (stty): Likewise.
6409         * misc/syscall.c (syscall): Likewise.
6410         * misc/syslog.c (setlogmask): Likewise.
6411         * misc/truncate.c (__truncate): Likewise.
6412         * misc/truncate64.c (truncate64): Likewise.
6413         * misc/ualarm.c (ualarm): Likewise.
6414         * misc/usleep.c (usleep): Likewise.
6415         * misc/ustat.c (ustat): Likewise.
6416         * misc/writev.c (__writev): Likewise.
6417         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
6418         * nptl/old_pthread_cond_broadcast.c
6419         (__pthread_cond_broadcast_2_0): Likewise.
6420         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
6421         Likewise.
6422         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
6423         Likewise.
6424         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
6425         Likewise.
6426         * nptl/pt-raise.c (raise): Likewise.
6427         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
6428         Likewise.
6429         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
6430         * nptl/pthread_barrierattr_destroy.c
6431         (pthread_barrierattr_destroy): Likewise.
6432         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6433         Likewise.
6434         * nptl/pthread_barrierattr_setpshared.c
6435         (pthread_barrierattr_setpshared): Likewise.
6436         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6437         Likewise.
6438         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6439         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6440         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6441         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
6442         Likewise.
6443         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
6444         Likewise.
6445         * nptl/pthread_condattr_getpshared.c
6446         (pthread_condattr_getpshared): Likewise.
6447         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
6448         Likewise.
6449         * nptl/pthread_condattr_setpshared.c
6450         (pthread_condattr_setpshared): Likewise.
6451         * nptl/pthread_detach.c (pthread_detach): Likewise.
6452         * nptl/pthread_equal.c (__pthread_equal): Likewise.
6453         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
6454         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
6455         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
6456         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
6457         Likewise.
6458         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6459         Likewise.
6460         * nptl/pthread_mutex_getprioceiling.c
6461         (pthread_mutex_getprioceiling): Likewise.
6462         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
6463         Likewise.
6464         * nptl/pthread_mutexattr_getprotocol.c
6465         (pthread_mutexattr_getprotocol): Likewise.
6466         * nptl/pthread_mutexattr_getpshared.c
6467         (pthread_mutexattr_getpshared): Likewise.
6468         * nptl/pthread_mutexattr_getrobust.c
6469         (pthread_mutexattr_getrobust): Likewise.
6470         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6471         Likewise.
6472         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
6473         Likewise.
6474         * nptl/pthread_mutexattr_setprioceiling.c
6475         (pthread_mutexattr_setprioceiling): Likewise.
6476         * nptl/pthread_mutexattr_setprotocol.c
6477         (pthread_mutexattr_setprotocol): Likewise.
6478         * nptl/pthread_mutexattr_setpshared.c
6479         (pthread_mutexattr_setpshared): Likewise.
6480         * nptl/pthread_mutexattr_setrobust.c
6481         (pthread_mutexattr_setrobust): Likewise.
6482         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
6483         Likewise.
6484         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
6485         Likewise.
6486         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
6487         Likewise.
6488         * nptl/pthread_rwlockattr_getkind_np.c
6489         (pthread_rwlockattr_getkind_np): Likewise.
6490         * nptl/pthread_rwlockattr_getpshared.c
6491         (pthread_rwlockattr_getpshared): Likewise.
6492         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
6493         Likewise.
6494         * nptl/pthread_rwlockattr_setkind_np.c
6495         (pthread_rwlockattr_setkind_np): Likewise.
6496         * nptl/pthread_rwlockattr_setpshared.c
6497         (pthread_rwlockattr_setpshared): Likewise.
6498         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
6499         Likewise.
6500         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
6501         Likewise.
6502         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
6503         Likewise.
6504         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6505         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
6506         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
6507         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
6508         * nptl/sem_close.c (sem_close): Likewise.
6509         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
6510         * nptl/sem_init.c (__old_sem_init): Likewise.
6511         * nptl/sigaction.c (__sigaction): Likewise.
6512         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6513         * posix/_exit.c (_exit): Likewise.
6514         * posix/alarm.c (alarm): Likewise.
6515         * posix/confstr.c (confstr): Likewise.
6516         * posix/fpathconf.c (__fpathconf): Likewise.
6517         * posix/getgroups.c (__getgroups): Likewise.
6518         * posix/getpgid.c (__getpgid): Likewise.
6519         * posix/group_member.c (__group_member): Likewise.
6520         * posix/pathconf.c (__pathconf): Likewise.
6521         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
6522         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
6523         * posix/setgid.c (__setgid): Likewise.
6524         * posix/setpgid.c (__setpgid): Likewise.
6525         * posix/setuid.c (__setuid): Likewise.
6526         * posix/sleep.c (__sleep): Likewise.
6527         * posix/sysconf.c (__sysconf): Likewise.
6528         * posix/times.c (__times): Likewise.
6529         * posix/uname.c (__uname): Likewise.
6530         * posix/waitid.c (__waitid): Likewise.
6531         * pwd/getpw.c (__getpw): Likewise.
6532         * resolv/base64.c (b64_pton): Likewise.
6533         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
6534         * resolv/gethnamaddr.c (Dprintf): Likewise.
6535         (gethostbyname): Likewise.
6536         (gethostbyname2): Likewise.
6537         (gethostbyaddr): Likewise.
6538         (_sethtent): Likewise.
6539         (_gethtbyname): Likewise.
6540         (_gethtbyname2): Likewise.
6541         (_gethtbyaddr): Likewise.
6542         (map_v4v6_address): Likewise.
6543         (map_v4v6_hostent): Likewise.
6544         (addrsort): Likewise.
6545         (ht_sethostent): Likewise.
6546         (ht_gethostbyname): Likewise.
6547         (ht_gethostbyaddr): Likewise.
6548         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
6549         (inet_net_ntop_ipv4): Likewise.
6550         * resolv/inet_neta.c (inet_neta): Likewise.
6551         * resolv/inet_ntop.c (inet_ntop): Likewise.
6552         (inet_ntop4): Likewise.
6553         (inet_ntop6): Likewise.
6554         * resolv/inet_pton.c (__inet_pton): Likewise.
6555         (inet_pton4): Likewise.
6556         (inet_pton6): Likewise.
6557         * resolv/res_debug.c (loc_aton): Likewise.
6558         (loc_ntoa): Likewise.
6559         * resource/getpriority.c (__getpriority): Likewise.
6560         * resource/getrusage.c (__getrusage): Likewise.
6561         * resource/nice.c (nice): Likewise.
6562         * resource/setpriority.c (__setpriority): Likewise.
6563         * resource/setrlimit64.c (setrlimit64): Likewise.
6564         * resource/vlimit.c (vlimit): Likewise.
6565         * resource/vtimes.c (vtimes): Likewise.
6566         * rt/aio_error.c (aio_error): Likewise.
6567         * rt/aio_return.c (aio_return): Likewise.
6568         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
6569         * signal/kill.c (__kill): Likewise.
6570         * signal/killpg.c (killpg): Likewise.
6571         * signal/raise.c (raise): Likewise.
6572         * signal/sigaction.c (__sigaction): Likewise.
6573         * signal/sigaddset.c (sigaddset): Likewise.
6574         * signal/sigaltstack.c (sigaltstack): Likewise.
6575         * signal/sigandset.c (sigandset): Likewise.
6576         * signal/sigblock.c (__sigblock): Likewise.
6577         * signal/sigdelset.c (sigdelset): Likewise.
6578         * signal/sigempty.c (sigemptyset): Likewise.
6579         * signal/sigfillset.c (sigfillset): Likewise.
6580         * signal/sighold.c (sighold): Likewise.
6581         * signal/sigignore.c (sigignore): Likewise.
6582         * signal/sigintr.c (siginterrupt): Likewise.
6583         * signal/sigisempty.c (sigisemptyset): Likewise.
6584         * signal/sigismem.c (sigismember): Likewise.
6585         * signal/signal.c (signal): Likewise.
6586         * signal/sigorset.c (sigorset): Likewise.
6587         * signal/sigpause.c (__sigpause): Likewise.
6588         * signal/sigpending.c (sigpending): Likewise.
6589         * signal/sigprocmask.c (__sigprocmask): Likewise.
6590         * signal/sigrelse.c (sigrelse): Likewise.
6591         * signal/sigreturn.c (__sigreturn): Likewise.
6592         * signal/sigset.c (sigset): Likewise.
6593         * signal/sigsetmask.c (__sigsetmask): Likewise.
6594         * signal/sigstack.c (sigstack): Likewise.
6595         * signal/sigsuspend.c (__sigsuspend): Likewise.
6596         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
6597         * signal/sysv_signal.c (__sysv_signal): Likewise.
6598         * socket/accept.c (accept): Likewise.
6599         * socket/accept4.c (__libc_accept4): Likewise.
6600         * socket/bind.c (__bind): Likewise.
6601         * socket/connect.c (__connect): Likewise.
6602         * socket/getpeername.c (getpeername): Likewise.
6603         * socket/getsockname.c (__getsockname): Likewise.
6604         * socket/getsockopt.c (getsockopt): Likewise.
6605         * socket/listen.c (__listen): Likewise.
6606         * socket/recv.c (__recv): Likewise.
6607         * socket/recvmsg.c (__recvmsg): Likewise.
6608         * socket/send.c (__send): Likewise.
6609         * socket/sendmsg.c (__sendmsg): Likewise.
6610         * socket/shutdown.c (shutdown): Likewise.
6611         * socket/sockatmark.c (sockatmark): Likewise.
6612         * socket/socket.c (__socket): Likewise.
6613         * stdio-common/ctermid.c (ctermid): Likewise.
6614         * stdio-common/cuserid.c (cuserid): Likewise.
6615         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
6616         * stdio-common/remove.c (remove): Likewise.
6617         * stdio-common/rename.c (rename): Likewise.
6618         * stdio-common/renameat.c (renameat): Likewise.
6619         * stdio-common/tempname.c (__gen_tempname): Likewise.
6620         * stdio-common/xbug.c (InitBuffer): Likewise.
6621         (AppendToBuffer): Likewise.
6622         (ReadFile): Likewise.
6623         * stdlib/a64l.c (a64l): Likewise.
6624         * stdlib/drand48_r.c (drand48_r): Likewise.
6625         * stdlib/getcontext.c (getcontext): Likewise.
6626         * stdlib/getenv.c (getenv): Likewise.
6627         * stdlib/l64a.c (l64a): Likewise.
6628         * stdlib/llabs.c (llabs): Likewise.
6629         * stdlib/lldiv.c (lldiv): Likewise.
6630         * stdlib/lrand48_r.c (lrand48_r): Likewise.
6631         * stdlib/mrand48_r.c (mrand48_r): Likewise.
6632         * stdlib/putenv.c (putenv): Likewise.
6633         * stdlib/random.c (__srandom): Likewise.
6634         (__initstate): Likewise.
6635         (__setstate): Likewise.
6636         * stdlib/random_r.c (__srandom_r): Likewise.
6637         (__setstate_r): Likewise.
6638         (__random_r): Likewise.
6639         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6640         * stdlib/setcontext.c (setcontext): Likewise.
6641         * stdlib/setenv.c (setenv): Likewise.
6642         (unsetenv): Likewise.
6643         * stdlib/srand48.c (srand48): Likewise.
6644         * stdlib/srand48_r.c (__srand48_r): Likewise.
6645         * stdlib/swapcontext.c (swapcontext): Likewise.
6646         * stdlib/system.c (__libc_system): Likewise.
6647         * stdlib/tst-strtod.c (expand): Likewise.
6648         * stdlib/tst-strtol.c (expand): Likewise.
6649         * stdlib/tst-strtoll.c (expand): Likewise.
6650         * streams/fattach.c (fattach): Likewise.
6651         * streams/fdetach.c (fdetach): Likewise.
6652         * streams/getmsg.c (getmsg): Likewise.
6653         * streams/isastream.c (isastream): Likewise.
6654         * string/ffs.c (__ffs): Likewise.
6655         * string/ffsll.c (ffsll): Likewise.
6656         * string/memcmp.c (memcmp_common_alignment): Likewise.
6657         (memcmp_not_common_alignment): Likewise.
6658         (MEMCMP): Likewise.
6659         * string/memcpy.c (memcpy): Likewise.
6660         * string/memmove.c (MEMMOVE): Likewise.
6661         * string/memset.c (memset): Likewise.
6662         * string/rawmemchr.c (RAWMEMCHR): Likewise.
6663         * string/strchrnul.c (STRCHRNUL): Likewise.
6664         * string/strerror.c (strerror): Likewise.
6665         * string/strndup.c (__strndup): Likewise.
6666         * string/strverscmp.c (__strverscmp): Likewise.
6667         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
6668         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
6669         (clnttcp_freeres): Likewise.
6670         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
6671         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
6672         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
6673         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
6674         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
6675         (xdr_callhdr): Likewise.
6676         * sunrpc/rpcinfo.c (udpping): Likewise.
6677         (tcpping): Likewise.
6678         (pstatus): Likewise.
6679         (pmapdump): Likewise.
6680         (brdcst): Likewise.
6681         (deletereg): Likewise.
6682         (getprognum): Likewise.
6683         (getvers): Likewise.
6684         (get_inet_address): Likewise.
6685         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
6686         * sunrpc/svc_udp.c (svcudp_create): Likewise.
6687         (svcudp_stat): Likewise.
6688         (svcudp_recv): Likewise.
6689         (svcudp_reply): Likewise.
6690         (svcudp_getargs): Likewise.
6691         (svcudp_freeargs): Likewise.
6692         (svcudp_destroy): Likewise.
6693         * sunrpc/xdr.c (xdr_bytes): Likewise.
6694         (xdr_netobj): Likewise.
6695         (xdr_string): Likewise.
6696         (xdr_wrapstring): Likewise.
6697         * sunrpc/xdr_float.c (xdr_float): Likewise.
6698         (xdr_double): Likewise.
6699         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
6700         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
6701         * sysvipc/ftok.c (ftok): Likewise.
6702         * sysvipc/msgctl.c (msgctl): Likewise.
6703         * sysvipc/msgget.c (msgget): Likewise.
6704         * sysvipc/msgrcv.c (msgrcv): Likewise.
6705         * sysvipc/msgsnd.c (msgsnd): Likewise.
6706         * sysvipc/semget.c (semget): Likewise.
6707         * sysvipc/semop.c (semop): Likewise.
6708         * sysvipc/shmat.c (shmat): Likewise.
6709         * sysvipc/shmctl.c (shmctl): Likewise.
6710         * sysvipc/shmdt.c (shmdt): Likewise.
6711         * sysvipc/shmget.c (shmget): Likewise.
6712         * termios/cfmakeraw.c (cfmakeraw): Likewise.
6713         * termios/speed.c (cfgetospeed): Likewise.
6714         (cfgetispeed): Likewise.
6715         (cfsetospeed): Likewise.
6716         (cfsetispeed): Likewise.
6717         * termios/tcflow.c (tcflow): Likewise.
6718         * termios/tcflush.c (tcflush): Likewise.
6719         * termios/tcgetattr.c (__tcgetattr): Likewise.
6720         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6721         * termios/tcgetsid.c (tcgetsid): Likewise.
6722         * termios/tcsendbrk.c (tcsendbreak): Likewise.
6723         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6724         * time/adjtime.c (__adjtime): Likewise.
6725         * time/dysize.c (dysize): Likewise.
6726         * time/ftime.c (ftime): Likewise.
6727         * time/getitimer.c (__getitimer): Likewise.
6728         * time/gettimeofday.c (__gettimeofday): Likewise.
6729         * time/gmtime.c (__gmtime_r): Likewise.
6730         (gmtime): Likewise.
6731         * time/localtime.c (__localtime_r): Likewise.
6732         (localtime): Likewise.
6733         * time/offtime.c (__offtime): Likewise.
6734         * time/settimeofday.c (__settimeofday): Likewise.
6735         * time/stime.c (stime): Likewise.
6736         * time/strftime_l.c (tm_diff): Likewise.
6737         (iso_week_days): Likewise.
6738         * time/strptime.c (strptime): Likewise.
6739         * time/time.c (time): Likewise.
6740         * time/timespec_get.c (timespec_get): Likewise.
6741         * time/tzset.c (tzset_internal): Likewise.
6742         (compute_change): Likewise.
6743         (__tz_compute): Likewise.
6744         * wcsmbs/btowc.c (__btowc): Likewise.
6745         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6746         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6747         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6748         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6749         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6750         * wcsmbs/wcscat.c (__wcscat): Likewise.
6751         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6752         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6753         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6754         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6755         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6756         * wcsmbs/wcslen.c (__wcslen): Likewise.
6757         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6758         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6759         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6760         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6761         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6762         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6763         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6764         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6765         * wcsmbs/wcstok.c (wcstok): Likewise.
6766         * wcsmbs/wctob.c (wctob): Likewise.
6767         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6768         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6769         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6770         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6771         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6772         * wcsmbs/wmemset.c (__wmemset): Likewise.
6773         * wctype/wcfuncs.c (__towlower): Likewise.
6774         (__towupper): Likewise.
6776         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6777         (lll_unlock_elision): Add adapt_count parameter.
6779 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6781         * sysdeps/nptl/configure.ac: Do not give errors based on the
6782         results of top-level configure tests.
6783         * sysdeps/nptl/configure: Regenerated.
6785         * configure.ac (libc_cv_Bgroup): Remove configure test.
6786         * configure: Regenerated.
6787         * config.make.in (have-Bgroup): Remove variable.
6789         * configure.ac (sizeof_long_double): Remove configure test.
6790         * configure: Regenerated.
6791         * config.make.in (sizeof-long-double): Remove variable.
6793         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6794         * configure: Regenerated.
6795         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6796         variable.
6797         (exceptions): Likewise.
6798         * sysdeps/arm/configure: Regenerated.
6799         * config.make.in (exceptions): Remove variable.
6800         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6801         $(exceptions).
6802         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6803         (CFLAGS-vdprintf_chk.c): Likewise.
6804         (CFLAGS-printf_chk.c): Likewise.
6805         (CFLAGS-fprintf_chk.c): Likewise.
6806         (CFLAGS-vprintf_chk.c): Likewise.
6807         (CFLAGS-vfprintf_chk.c): Likewise.
6808         (CFLAGS-gets_chk.c): Likewise.
6809         (CFLAGS-fgets_chk.c): Likewise.
6810         (CFLAGS-fgets_u_chk.c): Likewise.
6811         (CFLAGS-fread_chk.c): Likewise.
6812         (CFLAGS-fread_u_chk.c): Likewise.
6813         (CFLAGS-wprintf_chk.c): Likewise.
6814         (CFLAGS-fwprintf_chk.c): Likewise.
6815         (CFLAGS-vwprintf_chk.c): Likewise.
6816         (CFLAGS-vfwprintf_chk.c): Likewise.
6817         (CFLAGS-fgetws_chk.c): Likewise.
6818         (CFLAGS-fgetws_u_chk.c): Likewise.
6819         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6820         (CFLAGS-fputc.c): Likewise.
6821         (CFLAGS-fputwc.c): Likewise.
6822         (CFLAGS-freopen64.c): Likewise.
6823         (CFLAGS-freopen.c): Likewise.
6824         (CFLAGS-fseek.c): Likewise.
6825         (CFLAGS-fseeko64.c): Likewise.
6826         (CFLAGS-fseeko.c): Likewise.
6827         (CFLAGS-ftello64.c): Likewise.
6828         (CFLAGS-ftello.c): Likewise.
6829         (CFLAGS-fwide.c): Likewise.
6830         (CFLAGS-genops.c): Likewise.
6831         (CFLAGS-getc.c): Likewise.
6832         (CFLAGS-getchar.c): Likewise.
6833         (CFLAGS-getwc.c): Likewise.
6834         (CFLAGS-getwchar.c): Likewise.
6835         (CFLAGS-iofclose.c): Likewise.
6836         (CFLAGS-iofflush.c): Likewise.
6837         (CFLAGS-iofgetpos64.c): Likewise.
6838         (CFLAGS-iofgetpos.c): Likewise.
6839         (CFLAGS-iofgets.c): Likewise.
6840         (CFLAGS-iofgetws.c): Likewise.
6841         (CFLAGS-iofputs.c): Likewise.
6842         (CFLAGS-iofputws.c): Likewise.
6843         (CFLAGS-iofread.c): Likewise.
6844         (CFLAGS-iofsetpos64.c): Likewise.
6845         (CFLAGS-iofsetpos.c): Likewise.
6846         (CFLAGS-ioftell.c): Likewise.
6847         (CFLAGS-iofwrite.c): Likewise.
6848         (CFLAGS-iogetdelim.c): Likewise.
6849         (CFLAGS-iogetline.c): Likewise.
6850         (CFLAGS-iogets.c): Likewise.
6851         (CFLAGS-iogetwline.c): Likewise.
6852         (CFLAGS-ioputs.c): Likewise.
6853         (CFLAGS-ioseekoff.c): Likewise.
6854         (CFLAGS-ioseekpos.c): Likewise.
6855         (CFLAGS-iosetbuffer.c): Likewise.
6856         (CFLAGS-iosetvbuf.c): Likewise.
6857         (CFLAGS-ioungetc.c): Likewise.
6858         (CFLAGS-ioungetwc.c): Likewise.
6859         (CFLAGS-oldfileops.c): Likewise.
6860         (CFLAGS-oldiofclose.c): Likewise.
6861         (CFLAGS-oldiofgetpos64.c): Likewise.
6862         (CFLAGS-oldiofgetpos.c): Likewise.
6863         (CFLAGS-oldiofsetpos64.c): Likewise.
6864         (CFLAGS-oldiofsetpos.c): Likewise.
6865         (CFLAGS-peekc.c): Likewise.
6866         (CFLAGS-putc.c): Likewise.
6867         (CFLAGS-putchar.c): Likewise.
6868         (CFLAGS-putwc.c): Likewise.
6869         (CFLAGS-putwchar.c): Likewise.
6870         (CFLAGS-rewind.c): Likewise.
6871         (CFLAGS-wfileops.c): Likewise.
6872         (CFLAGS-wgenops.c): Likewise.
6873         (CFLAGS-oldiofopen.c): Likewise.
6874         (CFLAGS-iofopen.c): Likewise.
6875         (CFLAGS-iofopen64.c): Likewise.
6876         (CFLAGS-oldtmpfile.c): Likewise.
6877         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6878         (CFLAGS-fprintf.c): Likewise.
6879         (CFLAGS-printf.c): Likewise.
6880         (CFLAGS-vfwprintf.c): Likewise.
6881         (CFLAGS-vfscanf.c): Likewise.
6882         (CFLAGS-vfwscanf.c): Likewise.
6883         (CFLAGS-fscanf.c): Likewise.
6884         (CFLAGS-scanf.c): Likewise.
6885         (CFLAGS-isoc99_vfscanf.c): Likewise.
6886         (CFLAGS-isoc99_vscanf.c): Likewise.
6887         (CFLAGS-isoc99_fscanf.c): Likewise.
6888         (CFLAGS-isoc99_scanf.c): Likewise.
6889         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6890         (CFLAGS-isoc99_fwscanf.c): Likewise.
6891         (CFLAGS-isoc99_vwscanf.c): Likewise.
6892         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6894         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6895         after mkstemp64.
6896         * login/tst-utmp.c (do_prepare): Likewise.
6897         * rt/tst-aio.c (do_prepare): Likewise.
6898         * rt/tst-aio64.c (do_prepare): Likewise.
6900 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6902         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6903         (__lll_lock_elision): Remove adapt_count decrement...
6904         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6905         (__lll_trylock_elision): Likewise.
6906         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6907         (__lll_unlock_elision): ... to here. And utilize
6908         new adapt_count parameter.
6909         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6910         (__lll_unlock_elision): Update to include adapt_count
6911         parameter.
6912         (lll_unlock_elision): Pass pointer to adapt_count
6913         variable.
6915 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6917         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6918         Add elision adapt_count parameter to list of arguments.
6919         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6920         (lll_unlock_elision): Update with new parameter list
6921         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6922         (lll_unlock_elision): Likewise.
6923         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6924         (lll_unlock_elision): Likewise.
6926 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6928         [BZ #19122]
6929         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6930         attribute_hidden.
6932         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6933         attribute_hidden.
6934         [IS_IN (rtld)] (__strdup): Likewise.
6935         [IS_IN (rtld)] (__strerror_r): Likewise.
6936         [IS_IN (rtld)] (__strsep_g): Likewise.
6937         [IS_IN (rtld)] (memchr): Likewise.
6938         [IS_IN (rtld)] (memcmp): Likewise.
6939         [IS_IN (rtld)] (memcpy): Likewise.
6940         [IS_IN (rtld)] (memmove): Likewise.
6941         [IS_IN (rtld)] (memset): Likewise.
6942         [IS_IN (rtld)] (rawmemchr): Likewise.
6943         [IS_IN (rtld)] (stpcpy): Likewise.
6944         [IS_IN (rtld)] (strchr): Likewise.
6945         [IS_IN (rtld)] (strcmp): Likewise.
6946         [IS_IN (rtld)] (strlen): Likewise.
6947         [IS_IN (rtld)] (strnlen): Likewise.
6948         [IS_IN (rtld)] (strsep): Likewise.
6950         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6951         attribute_hidden.
6952         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6954         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6955         attribute_hidden.
6956         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6958         * include/setjmp.h (__longjmp): Add attribute_hidden.
6959         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6961         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6962         Add attribute_hidden.
6964         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6965         [IS_IN (rtld)] (__open): Likewise.
6966         [IS_IN (rtld)] (__fcntl): Likewise.
6968         * include/dirent.h (__opendirat): Add attribute_hidden.
6969         (__getdents): Likewise.
6970         (__getdents64): Likewise.
6971         (__alloc_dir): Likewise.
6972         [IS_IN (rtld)] (__closedir): Likewise.
6973         [IS_IN (rtld)] (__fdopendir): Likewise.
6974         [IS_IN (rtld)] (__readdir): Likewise.
6975         [IS_IN (rtld)] (__readdir64): Likewise.
6976         [IS_IN (rtld)] (__rewinddir): Likewise.
6978         * include/dlfcn.h (_dl_catch_error): Moved to ...
6979         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6980         attribute_hidden.
6982         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6983         (_itoa_word): Likewise.
6985         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6986         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6987         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6988         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6989         (_dl_higher_prime_number): Likewise.
6990         (_dl_debug_printf_c): Likewise.
6991         (_dl_signal_cerror): Likewise.
6992         (_dl_receive_error): Likewise.
6993         (_dl_reloc_bad_type): Likewise.
6994         (_dl_resolve_conflicts): Likewise.
6995         (_dl_check_all_versions): Likewise.
6996         (_dl_check_map_versions): Likewise.
6997         (_dl_sort_fini): Likewise.
6998         (_dl_debug_initialize): Likewise.
6999         (_dl_init_paths): Likewise.
7000         (_dl_show_auxv): Likewise.
7001         (_dl_next_ld_env_entry): Likewise.
7002         (_dl_important_hwcaps): Likewise.
7003         (_dl_load_cache_lookup): Likewise.
7004         (_dl_update_slotinfo): Likewise.
7005         (_dl_show_scope): Likewise.
7007         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7008         attribute_hidden.
7009         (_wordcopy_fwd_dest_aligned): Likewise.
7010         (_wordcopy_bwd_aligned): Likewise.
7011         (_wordcopy_bwd_dest_aligned): Likewise.
7013         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7014         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7015         Likewise.
7016         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7017         Likewise.
7018         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7020 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7022         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7023         GCC 5 requirement.
7025 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7027         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7028         test.
7029         * sysdeps/i386/configure: Regenerated.
7030         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7031         code unconditional.
7033         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7034         test.
7035         (libc_cv_asm_popsection_directive): Likewise.
7036         * configure: Regenerated.
7037         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7038         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7039         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7040         (__make_section_unallocated): Make definition unconditional.
7041         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7042         Remove conditional definition.
7043         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7044         (__make_section_unallocated): Likewise.
7046         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7047         * configure: Regenerated.
7048         * config.make.in (static-libgcc): Remove variable.
7049         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7050         $(static-libgcc).
7051         (build-module-helper): Likewise.
7053         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7054         * configure: Regenerated.
7056 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7058         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7059         (struct char_buffer): New type.
7060         (char_buffer_start, char_buffer_size, char_buffer_error)
7061         (char_buffer_rewind, char_buffer_add): New functions.
7062         (ADDW): Remove macro, replaced by the char_buffer_add function.
7063         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7064         of extend_alloca.  Make control flow more explicit.
7066 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7068         [BZ #19137]
7069         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7070         Add -fomit-frame-pointer.
7071         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7073 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7075         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7076         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7077         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7078         only if !__GNUC_PREREQ (5,0).
7079         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7080         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7081         (INTERNAL_SYSCALL_NCS): Likewise.
7082         (LOADREGS_0): New macro for GCC 5.
7083         (ASMARGS_0): Likewise.
7084         (LOADREGS_1): Likewise.
7085         (ASMARGS_1): Likewise.
7086         (LOADREGS_2): Likewise.
7087         (ASMARGS_2): Likewise.
7088         (LOADREGS_3): Likewise.
7089         (ASMARGS_3): Likewise.
7090         (LOADREGS_4): Likewise.
7091         (ASMARGS_4): Likewise.
7092         (LOADREGS_5): Likewise.
7093         (ASMARGS_5): Likewise.
7094         (LOADREGS_6): Likewise.
7095         (ASMARGS_6): Likewise.
7097 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7099         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7100         -fomit-frame-pointer.
7101         (CFLAGS-mmap64.c): Likewise.
7102         (CFLAGS-semtimedop.c): Likewise.
7103         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7104         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7105         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7106         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7108 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7110         [BZ #18928]
7111         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7112         _dl_pointer_guard member.
7113         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7114         initializer.
7115         (security_init): Always set up pointer guard.
7116         (process_envvars): Do not process LD_POINTER_GUARD.
7118 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
7120         [BZ #19134]
7121         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7122         (.LC2): Likewise.
7123         (.LC3): Likewise.
7124         (__lround): Do not add 0.5 to integer or out-of-range arguments.
7126 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7128         [BZ #19129]
7129         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
7130         r0 and r1.
7132 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
7134         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
7136 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
7138         * include/stap-probe.h: Fix macro definition formatting.
7140 2015-10-14  Florian Weimer  <fweimer@redhat.com>
7142         [BZ #19074]
7143         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
7144         load and store num_ifs.
7146 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7148         [BZ #18822]
7149         * sysdeps/unix/sysv/linux/sched_getaffinity.c
7150         (__sched_getaffinity_new): Add libc_hidden_proto and
7151         libc_hidden_def.
7153 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7155         [BZ #19007]
7156         * scripts/localplt.awk: Also allow GOT references.
7157         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
7158         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
7159         with "+ REL R_386_GLOB_DAT".
7160         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
7161         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
7163 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7165         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
7166         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7167         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
7168         Likewise.
7169         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7170         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
7171         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7172         INTERNAL_SYSCALLINTERNAL_SYSCALL and
7173         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7174         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7175         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7176         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7177         Likewise.
7178         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7180 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7182         [BZ #19125]
7183         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
7184         <math_private.h> and <stdint.h>.
7185         (__llround): Avoid conversions to and from long long int, and
7186         subtractions, where those might raise spurious exceptions.
7187         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7188         <math_private.h> and <stdint.h>.
7189         (__llroundf): Avoid conversions to and from long long int, and
7190         subtractions, where those might raise spurious exceptions.
7192 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7194         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
7195         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7196         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7197         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
7198         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7199         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7200         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
7201         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
7202         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
7203         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7204         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7205         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7206         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
7207         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7208         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7209         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
7210         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
7211         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7212         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
7213         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
7214         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7215         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
7216         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
7217         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7218         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
7219         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7220         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
7221         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7222         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7223         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
7224         (__xstat64_conv): Likewise.
7225         (__xstat32_conv): Likewise.
7227 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7229         * sysdeps/unix/sysv/linux/sysdep.h: New file.
7230         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
7231         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
7232         <sysdeps/unix/sysv/linux/sysdep.h>.
7233         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7234         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
7235         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
7236         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7237         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7238         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
7239         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
7240         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7241         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7246         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7247         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7249         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
7250         (sysdep-dl-routines): Add sysdep.
7251         [$(subdir) == nptl] (libpthread-routines): Likewise.
7252         [$(subdir) == rt] (librt-routines): Likewise.
7253         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
7254         PIC when branching to SYSCALL_ERROR_LABEL.
7255         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
7256         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
7257         <sysdeps/unix/sysv/linux/sysdep.h>.
7258         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
7259         (SYSCALL_ERROR_ERRNO): Removed.
7260         (SYSCALL_ERROR_HANDLER): Changed to empty.
7261         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
7262         (__syscall_error): New prototype.
7263         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
7264         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
7266 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7268         [BZ #19124]
7269         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
7270         (_dl_runtime_resolve_avx512): Make it a hidden alias of
7271         _dl_runtime_resolve_avx.
7272         (_dl_runtime_profile_avx512): Make it a hidden alias of
7273         _dl_runtime_profile_avx.
7275 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7277         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
7278         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
7279         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
7280         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
7282         [BZ #16422]
7283         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
7284         New configure test.
7285         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
7286         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
7287         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
7288         <math_private.h> and <stdint.h>.
7289         (__llrint): Avoid conversions to long long int where those might
7290         raise spurious exceptions.
7291         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
7292         <math_private.h> and <stdint.h>.
7293         (__llrintf): Avoid conversions to long long int where those might
7294         raise spurious exceptions.
7296 2015-10-12  Andreas Schwab  <schwab@suse.de>
7298         [BZ #18969]
7299         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
7300         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
7301         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
7302         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
7303         $(gen-locales).
7304         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
7305         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
7306         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
7307         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
7308         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
7309         $(gen-locales).
7310         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
7311         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
7312         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
7313         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
7314         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
7315         ($(objpfx)tst-ftell-active-handler.out)
7316         ($(objpfx)tst-ftell-append.out)
7317         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
7318         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
7319         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
7320         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
7321         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
7322         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
7323         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
7324         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
7325         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
7326         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
7327         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
7328         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
7329         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
7330         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
7331         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
7332         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
7333         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
7334         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
7335         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
7336         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
7337         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
7338         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
7339         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
7340         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
7341         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
7342         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
7343         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
7344         $(gen-locales).
7345         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
7346         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
7347         $(gen-locales).
7348         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
7349         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
7350         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
7351         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
7352         $(gen-locales).
7353         * libio/tst_wprintf2.c (main): Use explicit locale.
7354         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
7356 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7358         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
7359         __msg_sig_post.
7360         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
7362 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7364         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7365         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7367         * sysdeps/arm/libm-test-ulps: Regenerated.
7369         [BZ #15470]
7370         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
7372         [BZ #16399]
7373         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
7374         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
7375         and <fix-fp-int-convert-overflow.h>.
7376         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7377         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7378         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
7379         and <fix-fp-int-convert-overflow.h>.
7380         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
7381         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7382         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
7383         <fix-fp-int-convert-overflow.h>.
7384         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7385         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7386         * sysdeps/ieee754/dbl-64/s_lround.c: Include
7387         <fix-fp-int-convert-overflow.h>.
7388         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
7389         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7390         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
7391         and <fix-fp-int-convert-overflow.h>.
7392         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7393         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7394         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
7395         <limits.h> and <fix-fp-int-convert-overflow.h>.
7396         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7397         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7398         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
7399         and <fix-fp-int-convert-overflow.h>.
7400         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7401         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7402         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
7403         and <fix-fp-int-convert-overflow.h>.
7404         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7405         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7406         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
7408 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
7410         [BZ #18589]
7411         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
7412         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
7413         $(gen-locales).
7415 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7416             Phil Blundell <pb@pbcl.net>
7418         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
7419         * nptl/tst-cancel26.c: New file.
7420         * nptl/tst-cancel27.c: Likewise.
7422 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
7424         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
7425         __ILP32__ isn't defined.
7426         (lrint): Likewise.
7427         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
7428         (lrintf): Likewise.
7429         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
7430         (lrintl): Likewise.
7431         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
7432         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
7433         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
7435 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7437         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7438         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7440         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
7441         file.
7442         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
7443         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7445 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7447         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
7448         configure test.
7449         * sysdeps/i386/configure: Regenerated.
7450         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
7451         configure test.
7452         * sysdeps/x86_64/configure: Regenerated.
7453         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
7454         Make code unconditional.
7456         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
7457         test.
7458         * sysdeps/i386/configure: Regenerated.
7459         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
7460         test.
7461         * sysdeps/x86_64/configure: Regenerated.
7462         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
7463         Make code unconditional.
7464         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7465         Likewise.
7466         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
7467         Likewise.
7468         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7469         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
7470         code unconditional.
7471         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7472         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
7473         code unconditional.
7474         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7475         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
7476         code unconditional.
7477         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
7478         code unconditional.
7479         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7480         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
7481         code unconditional.
7482         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7483         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
7484         code unconditional.
7485         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7486         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
7487         code unconditional.
7488         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7489         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
7490         code unconditional.
7491         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7492         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
7494         [BZ #19095]
7495         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
7496         mantissa to long int before shifting left.
7498 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7500         [BZ #19094]
7501         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
7502         <limits.h>.
7503         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7504         when result overflows but exception would not result from cast.
7505         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
7506         <limits.h>.
7507         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7508         when result overflows but exception would not result from cast.
7509         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
7510         <limits.h>.
7511         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7512         when result overflows but exception would not result from cast.
7513         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
7514         <limits.h>.
7515         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7516         when result overflows but exception would not result from cast.
7517         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
7518         <limits.h>.
7519         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7520         when result overflows but exception would not result from cast.
7521         * math/libm-test.inc (lrint_test_data): Add more tests.
7522         (llrint_test_data): Likewise.
7524 2015-10-08  Roland McGrath  <roland@hack.frob.com>
7526         [BZ #18872]
7527         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
7528         Move out from under [$(run-built-tests) = yes] conditional.
7529         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
7530         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
7532 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
7534         [BZ #18589]
7535         * string/Makefile (tests): Add bug-strcoll2.
7536         (LOCALES): Add cs_CZ.UTF-8.
7537         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
7539         [BZ #18589]
7540         * string/bug-strcoll2.c: New file.
7541         * locale/categories.def: Revert commit
7542         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
7543         * locale/langinfo.h: Likewise.
7544         * locale/localeinfo.h: Likewise.
7545         * locale/C-collate.c: Likewise.
7546         * locale/programs/ld-collate.c (collate_output): Likewise.
7547         * string/strcoll_l.c (STRDIFF): Likewise.
7548         (STRCOLL): Likewise.
7549         * wcsmbs/wcscoll_l.c: Likewise.
7551 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7553         * math/libm-test.inc (lround_test_data): Do not expect the absence
7554         of "inexact" for some tests with non-integer arguments.
7555         (llround_test_data): Likewise.
7557         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
7558         test.
7559         (libc_cv_cc_sse2avx): Likewise.
7560         * sysdeps/i386/configure: Regenerated.
7561         * sysdeps/i386/i686/multiarch/Makefile
7562         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
7563         [$(subdir) = math].
7564         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
7565         code unconditional.
7566         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7567         Likewise.
7568         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
7569         Likewise.
7570         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7571         Likewise.
7572         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
7573         test.
7574         (libc_cv_cc_sse2avx): Likewise.
7575         * sysdeps/x86_64/configure: Regenerated.
7576         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
7577         unconditional.
7578         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
7579         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
7580         unconditional.
7581         (_dl_runtime_profile)
7582         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
7583         conditional code.
7584         * sysdeps/x86_64/fpu/multiarch/Makefile
7585         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
7586         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7587         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7588         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7589         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7590         * sysdeps/x86_64/fpu/multiarch/e_log.c
7591         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7592         * sysdeps/x86_64/fpu/multiarch/s_atan.c
7593         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7594         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7595         Likewise.
7596         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7597         Likewise.
7598         * sysdeps/x86_64/fpu/multiarch/s_sin.c
7599         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7600         * sysdeps/x86_64/fpu/multiarch/s_tan.c
7601         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7602         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
7603         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
7604         (HAVE_SSE2AVX_SUPPORT): Likewise.
7606 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
7608         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
7609         instead of #pragma optimize.
7611 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7613         [BZ #17195]
7614         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
7615         as is similarly done in systrim and _int_free already.
7617 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7619         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7621 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7623         [BZ #19088]
7624         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7625         <limits.h>.
7626         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7627         overflows but exception would not result from cast.
7628         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7629         and <limits.h>.
7630         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7631         overflows but exception would not result from cast.
7632         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7633         <limits.h>.
7634         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7635         overflows but exception would not result from cast.
7636         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7637         <limits.h>.
7638         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7639         overflows but exception would not result from cast.
7640         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7641         <limits.h>.
7642         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7643         overflows but exception would not result from cast.
7644         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7645         <limits.h>.
7646         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7647         overflows but exception would not result from cast.
7648         * math/libm-test.inc (lround_test_data): Add more tests.
7649         (llround_test_data): Likewise.
7651 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
7653         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7654         (CFLAGS-ialloc.c): Ditto.
7655         (CFLAGS-scheck.c): Ditto.
7657 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7659         [BZ #19086]
7660         * manual/filesys.texi (Storage Allocation): Fix argument order for
7661         posix_fallocate64.
7663 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7665         [BZ #19085]
7666         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
7667         exponent below 48 inside case for non-overflowing exponent.
7668         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7670 2015-10-07  Florian Weimer  <fweimer@redhat.com>
7672         * iconvdata/cp737.h (from_idx): Add const.
7673         * iconvdata/cp775.h (from_idx): Likewise.
7675 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7677         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
7678         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7679         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
7681         [BZ #19079]
7682         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
7683         file, conditioned on [!_LP64].
7684         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7685         [!_LP64] (__lround): Do not define as function or alias.
7686         [!_LP64] (lround): Likewise.
7687         [!_LP64] (__lroundl): Likewise.
7688         [!_LP64] (lroundl): Likewise.
7689         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
7690         macro.
7691         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7692         Likewise.
7694 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7696         * math/libm-test.inc (lrint_test_data): Add more tests.
7697         (llrint_test_data): Likewise.
7698         (lround_test_data): Likewise.
7699         (llround_test_data): Likewise.
7701         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
7702         (llrint_test_data): Add tests used for lrint.
7704         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7705         test.
7706         * sysdeps/i386/configure: Regenerated.
7707         * sysdeps/i386/i686/multiarch/Makefile
7708         [$(config-cflags-sse4) = yes]: Make code unconditional.
7709         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7710         Likewise.
7711         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7712         Likewise.
7713         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7714         test.
7715         * sysdeps/x86_64/configure: Regenerated.
7716         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7717         Make code unconditional.
7718         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7719         Likewise.
7720         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7721         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7723         * scripts/rpm2dynsym.sh: Remove file.
7725 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7727         * configure.ac (libc_cv_cxx_thread_local): Define.
7728         * configure: Regenerate.
7729         * config.make.in (have-cxx-thread_local): Define.
7730         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7731         (LDLIBS-tst-thread_local1): Define.
7732         (tests): Add tst-thread_local1.
7733         [have-cxx-thread_local != yes] (tests-unsupported): Add
7734         tst-thread_local1.
7735         * nptl/tst-thread_local1.cc: New file.
7737 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7739         [BZ #19078]
7740         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7741         (u_thres): Likewise.
7742         (__expl): Determine whether to call __kernel_standard_l based on
7743         value of result, not argument.
7745         * math/libm-test.inc (scalb_test_data): Add more expectations for
7746         the "inexact" exception.
7748         [BZ #19077]
7749         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7750         0.0L for argument 1.0L.
7752         [BZ #19076]
7753         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7754         constant 0.0L when computing infinite result.
7756 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7758         [BZ #10432]
7759         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7760         malloc_usable_size.
7762 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7764         [BZ #19018]
7765         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7766         Mangle function pointer before storing it.
7767         (__call_tls_dtors): Demangle function pointer before calling it.
7769 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7771         [BZ #19012]
7772         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7773         Clean up on failure.
7775 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7777         [BZ #19071]
7778         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7779         long int variable to store possibly incremented high part of
7780         mantissa.
7781         * math/libm-test.inc (lround_test_data): Add tests used for
7782         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7783         for tests requiring 64-bit long.  Do not condition tests on
7784         [TEST_FLOAT] unnecessarily.
7785         (llround_test_data): Add tests used for lround.  Add another
7786         expectation for the "inexact" exception.  Do not condition tests
7787         on [TEST_FLOAT] unnecessarily.
7789         [BZ #887]
7790         [BZ #19049]
7791         [BZ #19050]
7792         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7793         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7794         <fix-int-fp-convert-zero.h>.
7795         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7796         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7797         <fix-int-fp-convert-zero.h>.
7798         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7799         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7800         <fix-int-fp-convert-zero.h>.
7801         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7802         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7803         <fix-int-fp-convert-zero.h>.
7804         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7805         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7806         <fix-int-fp-convert-zero.h>.
7807         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7808         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7809         <fix-int-fp-convert-zero.h>.
7810         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7811         * sysdeps/ieee754/flt-32/s_erff.c: Include
7812         <fix-int-fp-convert-zero.h>.
7813         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7814         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7815         <fix-int-fp-convert-zero.h>.
7816         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7817         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7818         <fix-int-fp-convert-zero.h>.
7819         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7821         <fix-int-fp-convert-zero.h>.
7822         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7823         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7824         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7825         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7826         file.
7827         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7829 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7831         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7833 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7835         [BZ #19059]
7836         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7837         overflowing computation.
7838         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7839         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7840         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7841         Likewise.
7842         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7843         Likewise.
7844         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7845         Likewise.
7846         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7847         Likewise.
7848         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7849         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7850         Likewise.
7851         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7852         Likewise.
7853         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7855         * nss/rewrite_field.c (__nss_rewrite_field): Use
7856         internal_function.
7857         * nss/valid_field.c (__nss_valid_field): Likewise.
7858         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7860 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7862         [BZ #18724]
7863         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7864         (__nss_invalid_field_characters, __nss_valid_field)
7865         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7866         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7867         tst-field.c: New file.
7868         * nss/Makefile (routines): Add valid_field, rewrite_field.
7869         (tests-static): Define unconditionally.
7870         (tests): Include tests-static.
7871         [build-static-nss] (tests-static): Use append.
7872         [build-static-nss] (tests): Remove modification.
7873         * nss/getent.c (print_group): Call putgrent.  Report error.
7874         (print_gshadow): Call putsgent.  Report error.
7875         (print_passwd): Call putpwent.  Report error.
7876         (print_shadow): Call putspent.  Report error.
7877         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7878         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7879         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7880         name, password, directory, shell fields for valid syntax.  Rewrite
7881         GECOS field to match syntax.
7882         * pwd/Makefile (tests): Add tst-putpwent.
7883         * pwd/tst-putpwent.c: New file.
7884         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7885         Check grName, grpasswd, gr_mem fields for valid syntax.
7886         Change loop variable i to size_t.
7887         * grp/Makefile (tests): Add tst-putgrent.
7888         * grp/tst-putgrent.c: New file.
7889         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7890         valid syntax.
7891         * shadow/Makefile (tests): Add tst-putspent.
7892         * shadow/tst-putspent.c: New file.
7893         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7894         sg_mem fields for valid syntax.
7895         * gshadow/Makefile (tests): Add tst-putsgent.
7896         * gshadow/tst-putsgent.c: New file.
7898 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7900         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7901         assembly instructions.
7903 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7905         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7906         prefix from operands.
7908 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7910         [BZ #16347]
7911         [BZ #19046]
7912         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7913         <libc-internal.h>.
7914         (MAXLGM): Do not use diagnostic control macros.
7915         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7916         threshold for ldbl-128ibm.
7917         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7918         instead of multiplying by log then subtracting.
7919         * math/auto-libm-test-in: Add more tests of lgamma.
7920         * math/auto-libm-test-out: Regenerated.
7922         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7923         (TYPE_HEX_DIG): Likewise.
7924         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7925         precisions when printing floating-point numbers.
7926         (check_float_internal): Likewise.
7928 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7930         [BZ #16620]
7931         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7932         of log (10) rounded downward to 48 bits.
7933         (log10_low): Use corresponding low part of log (10).
7935         [BZ #19032]
7936         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7937         compute result as (x - x) / (x - x) not as 0 / 0.
7938         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7939         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7941         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7942         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7943         and expm1.
7944         * math/auto-libm-test-out: Regenerated.
7945         * math/libm-test.inc (acos_test_data): Add more tests.
7946         (asin_test_data): Likewise.
7947         (asinh_test_data): Likewise.
7948         (atan_test_data): Likewise.
7949         (atanh_test_data): Likewise.
7950         (atan2_test_data): Likewise.
7951         (cbrt_test_data): Likewise.
7952         (ceil_test_data): Likewise.
7953         (copysign_test_data): Likewise.
7954         (cos_test_data): Likewise.
7955         (cosh_test_data): Likewise.
7956         (erf_test_data): Likewise.
7957         (erfc_test_data): Likewise.
7958         (exp_test_data): Likewise.
7959         (exp10_test_data): Likewise.
7960         (exp2_test_data): Likewise.
7961         (expm1_test_data): Likewise.
7962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7964 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7966         [BZ #19006]
7967         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7968         to ...
7969         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7970         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7971         to ...
7972         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7973         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7974         to ...
7975         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7976         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7977         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7978         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7979         to ...
7980         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7981         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7982         Moved to ...
7983         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7984         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7985         Moved to ...
7986         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7987         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7988         to ...
7989         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7990         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7991         Moved to ...
7992         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7993         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7994         to ...
7995         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7996         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7997         Removed.
7998         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7999         Likewise.
8000         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8001         Likewise.
8002         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8003         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8004         Likewise.
8005         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8006         Likewise.
8007         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8008         Likewise.
8009         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8010         Likewise.
8011         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8012         Likewise.
8013         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8014         Likewise.
8015         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8016         Likewise.
8017         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8018         Likewise.
8019         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8020         Likewise.
8021         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8022         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8023         Likewise.
8024         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8025         Likewise.
8026         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8027         Likewise.
8028         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8029         Likewise.
8030         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8031         Likewise.
8032         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8033         Replace ../i486/pthread_cond_timedwait.S with
8034         ../pthread_cond_timedwait.S.
8036 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8038         * math/libm-test.inc (acos_test_data): Refine expectations for
8039         errno and "inexact" exceptions.
8040         (acosh_test_data): Likewise.
8041         (asin_test_data): Likewise.
8042         (asinh_test_data): Likewise.
8043         (atan_test_data): Likewise.
8044         (atanh_test_data): Likewise.
8045         (atan2_test_data): Likewise.
8046         (cbrt_test_data): Likewise.
8047         (ceil_test_data): Likewise.
8048         (copysign_test_data): Likewise.
8049         (cosh_test_data): Likewise.
8050         (erf_test_data): Likewise.
8051         (erfc_test_data): Likewise.
8052         (exp_test_data): Likewise.
8053         (exp10_test_data): Likewise.
8054         (exp2_test_data): Likewise.
8055         (expm1_test_data): Likewise.
8056         (fabs_test_data): Likewise.
8057         (floor_test_data): Likewise.
8058         (fma_test_data): Likewise.
8059         (fmax_test_data): Likewise.
8060         (fmin_test_data): Likewise.
8061         (fmod_test_data): Likewise.
8062         (fpclassify_test_data): Likewise.
8063         (frexp_test_data): Likewise.
8064         (hypot_test_data): Likewise.
8065         (ilogb_test_data): Likewise.
8066         (isgreater_test_data): Likewise.
8067         (isgreaterequal_test_data): Likewise.
8068         (isinf_test_data): Likewise.
8069         (isless_test_data): Likewise.
8070         (islessequal_test_data): Likewise.
8071         (islessgreater_test_data): Likewise.
8072         (isnan_test_data): Likewise.
8073         (isnormal_test_data): Likewise.
8074         (issignaling_test_data): Likewise.
8075         (isunordered_test_data): Likewise.
8076         (j0_test_data): Likewise.
8077         (j1_test_data): Likewise.
8078         (jn_test_data): Likewise.
8079         (lgamma_test_data): Likewise.
8080         (lrint_test_data): Likewise.
8081         (llrint_test_data): Likewise.
8082         (log_test_data): Likewise.
8083         (log10_test_data): Likewise.
8084         (log1p_test_data): Likewise.
8085         (log2_test_data): Likewise.
8086         (logb_test_data): Likewise.
8087         (lround_test_data): Likewise.
8088         (llround_test_data): Likewise.
8089         (modf_test_data): Likewise.
8090         (nearbyint_test_data): Likewise.
8091         (nextafter_test_data): Likewise.
8092         (nexttoward_test_data): Likewise.
8093         (pow_test_data): Likewise.
8094         (remainder_test_data): Likewise.
8095         (remquo_test_data): Likewise.
8096         (rint_test_data): Likewise.
8097         (round_test_data): Likewise.
8098         (signbit_test_data): Likewise.
8099         (sinh_test_data): Likewise.
8100         (sqrt_test_data): Likewise.
8101         (tanh_test_data): Likewise.
8102         (tgamma_test_data): Likewise.
8103         (trunc_test_data): Likewise.
8104         (y0_test_data): Likewise.
8105         (y1_test_data): Likewise.
8106         (yn_test_data): Likewise.
8107         (significand_test_data): Likewise.
8109 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
8111         * manual/filesys.texi (Storage Allocation): Document that
8112         posix_fallocate emulation fails when fd is open with O_WRONLY.
8114 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
8116         [BZ #19016]
8117         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8118         allow more cases with X^2 + Y^2 >= 0.5.
8119         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
8120         normal element in sum instead of special-casing based on values of
8121         arguments.
8122         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8123         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
8124         -1 as normal element in sum instead of special-casing based on
8125         values of arguments.
8126         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8127         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8128         (__x2y2m1): Update comment.
8129         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
8130         as normal element in sum instead of special-casing based on values
8131         of arguments.
8132         * math/s_clog.c (__clog): Handle more cases using log1p without
8133         hypot.
8134         * math/s_clog10.c (__clog10): Likewise.
8135         * math/s_clog10f.c (__clog10f): Likewise.
8136         * math/s_clog10l.c (__clog10l): Likewise.
8137         * math/s_clogf.c (__clogf): Likewise.
8138         * math/s_clogl.c (__clogl): Likewise.
8139         * math/auto-libm-test-in: Add more tests of clog and clog10.
8140         * math/auto-libm-test-out: Regenerated.
8141         * sysdeps/i386/fpu/libm-test-ulps: Update.
8142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8144 2015-09-28  Martin Sebor  <msebor@redhat.com>
8146         [BZ #18969]
8147         * string/Makefile (LOCALES): Define.
8148         (gen-locales.mk): Include.
8149         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
8150         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8151         * string/tst-strxfrm2.c (do_test): Print the name of the locale
8152         on setlocale failure.
8154 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8156         [BZ #18985]
8157         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
8158         (__strftime_internal): Likewise.
8159         * time/tst-strftime.c (do_bz18985): New test.
8160         (do_test): Call it.
8162 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
8164         [BZ #18956]
8165         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
8166         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
8167         extracting high part.
8168         * math/auto-libm-test-in: Add another test of pow.
8169         * math/auto-libm-test-out: Regenerated.
8170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8172 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8174         [BZ #18825]
8175         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
8176         New macro.
8177         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
8178         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8179         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
8180         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
8181         DBL_NARROW_EVAL, reloading the PIC register as needed.
8182         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
8183         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
8184         FLT_NARROW_EVAL.  Use separate return path for case when first
8185         argument is NaN.
8186         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
8187         DEFINE_LDBL_MIN.
8188         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
8189         PIC register.
8190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
8191         math_check_force_underflow_nonneg.
8192         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
8193         underflow for subnormal result.
8194         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8195         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
8196         math_check_force_underflow_nonneg.
8197         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
8198         math_check_force_underflow.
8199         * sysdeps/x86_64/fpu/x86_64-math-asm.h
8200         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
8201         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
8202         DEFINE_LDBL_MIN.
8203         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
8204         * math/auto-libm-test-in: Add more tests of pow.
8205         * math/auto-libm-test-out: Regenerated.
8207 2015-09-25  Florian Weimer  <fweimer@redhat.com>
8209         * nss/bug17079.c (init_test_items): Add diagnostic for
8210         inconsistent entries.
8211         (test_buffer_size): Skip inconsistent entries.
8213 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8215         [BZ #13304]
8216         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
8217         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
8218         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
8220         [BZ #13304]
8221         * sysdeps/microblaze/s_fma.c: New file.
8222         * sysdeps/microblaze/s_fmaf.c: Likewise.
8223         * sysdeps/microblaze/sfp-machine.h: Likewise.
8225 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
8227         [BZ #17250]
8228         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
8229         member.
8231 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8233         [BZ #18803]
8234         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
8235         (MO): New macro.
8236         (__ieee754_hypot) [PIC]: Load PIC register.
8237         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
8238         DBL_NARROW_EVAL.
8239         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
8240         math_check_force_underflow_nonneg in case where result might be
8241         tiny.
8242         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8243         Likewise.
8244         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8245         Likewise.
8246         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8247         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
8248         * math/auto-libm-test-in: Add more tests of hypot.
8249         * math/auto-libm-test-out: Regenerated.
8251 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
8253         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
8255 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8257         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
8258         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
8259         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8260         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8261         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
8262         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8263         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8265         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
8266         LOAD_PIC_REG.
8268         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
8269         (FLT_CHECK_FORCE_UFLOW): Likewise.
8270         (DBL_CHECK_FORCE_UFLOW): Likewise.
8271         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
8272         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
8273         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
8274         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8275         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8276         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8277         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8278         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8279         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
8280         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8281         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
8282         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
8283         (flt_min): Replace with use of DEFINE_FLT_MIN.
8284         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
8285         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
8286         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8287         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
8288         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
8289         (flt_min): Replace with use of DEFINE_FLT_MIN.
8290         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
8291         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
8292         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8293         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
8294         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
8295         (flt_min): Replace with use of DEFINE_FLT_MIN.
8296         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
8297         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
8298         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8299         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8300         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
8301         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8302         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8303         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
8304         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8305         (__atan): Use DBL_CHECK_FORCE_UFLOW.
8306         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
8307         (flt_min): Replace with use of DEFINE_FLT_MIN.
8308         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
8309         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
8310         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8311         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
8312         main computation.
8313         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
8314         (flt_min): Replace with use of DEFINE_FLT_MIN.
8315         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
8316         main computation.
8317         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
8318         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8319         (MO): New macro.
8320         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
8321         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
8322         (flt_min): Replace with use of DEFINE_FLT_MIN.
8323         (MO): New macro.
8324         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
8325         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
8326         (__log1pl): Use MO.
8328         [BZ #19003]
8329         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
8330         $(config-cflags-nofma).
8332 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8334         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8336 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
8338         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
8339         (TWO127): Likewise.
8341         * sysdeps/generic/math_private.h (fabs_tg): New macro.
8342         (min_of_type): Likewise.
8343         (math_check_force_underflow): Likewise.
8344         (math_check_force_underflow_nonneg): Likewise.
8345         (math_check_force_underflow_complex): Likewise.
8346         * math/e_exp2l.c (__ieee754_exp2l): Use
8347         math_check_force_underflow_nonneg.
8348         * math/k_casinh.c (__kernel_casinh): Likewise.
8349         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8350         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8351         * math/s_catan.c (__catan): Use
8352         math_check_force_underflow_complex.
8353         * math/s_catanf.c (__catanf): Likewise.
8354         * math/s_catanh.c (__catanh): Likewise.
8355         * math/s_catanhf.c (__catanhf): Likewise.
8356         * math/s_catanhl.c (__catanhl): Likewise.
8357         * math/s_catanl.c (__catanl): Likewise.
8358         * math/s_ccosh.c (__ccosh): Likewise.
8359         * math/s_ccoshf.c (__ccoshf): Likewise.
8360         * math/s_ccoshl.c (__ccoshl): Likewise.
8361         * math/s_cexp.c (__cexp): Likewise.
8362         * math/s_cexpf.c (__cexpf): Likewise.
8363         * math/s_cexpl.c (__cexpl): Likewise.
8364         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
8365         * math/s_clog10.c (__clog10): Likewise.
8366         * math/s_clog10f.c (__clog10f): Likewise.
8367         * math/s_clog10l.c (__clog10l): Likewise.
8368         * math/s_clogf.c (__clogf): Likewise.
8369         * math/s_clogl.c (__clogl): Likewise.
8370         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
8371         * math/s_csinf.c (__csinf): Likewise.
8372         * math/s_csinh.c (__csinh): Likewise.
8373         * math/s_csinhf.c (__csinhf): Likewise.
8374         * math/s_csinhl.c (__csinhl): Likewise.
8375         * math/s_csinl.c (__csinl): Likewise.
8376         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
8377         * math/s_csqrtf.c (__csqrtf): Likewise.
8378         * math/s_csqrtl.c (__csqrtl): Likewise.
8379         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
8380         * math/s_ctanf.c (__ctanf): Likewise.
8381         * math/s_ctanh.c (__ctanh): Likewise.
8382         * math/s_ctanhf.c (__ctanhf): Likewise.
8383         * math/s_ctanhl.c (__ctanhl): Likewise.
8384         * math/s_ctanl.c (__ctanl): Likewise.
8385         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
8386         instead of volatile.
8387         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
8388         math_check_force_underflow.
8389         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8390         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
8391         volatile when forcing underflow.
8392         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8393         math_check_force_underflow_nonneg.
8394         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8395         Likewise.
8396         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
8397         math_check_force_underflow.
8398         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8399         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8400         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8401         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
8402         math_check_force_underflow_nonneg.
8403         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
8404         math_check_force_underflow.
8405         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
8407         instead of volatile.
8408         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
8409         math_check_force_underflow.
8410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8411         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8412         math_check_force_underflow_nonneg.
8413         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
8414         math_check_force_underflow.
8415         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
8416         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8417         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
8418         math_check_force_underflow_nonneg.
8419         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8420         Likewise.
8421         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
8422         math_check_force_underflow.
8423         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8424         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8425         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8426         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
8427         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8428         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
8429         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8430         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8431         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8432         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
8433         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
8434         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8435         Likewise.
8436         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
8437         math_check_force_underflow_nonneg.
8438         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8439         Likewise.
8440         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
8441         math_check_force_underflow.
8442         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8443         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8444         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8445         Likewise.
8446         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8447         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
8448         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
8449         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
8450         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
8451         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8452         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
8453         instead of volatile.
8454         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
8455         math_check_force_underflow.
8456         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8457         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
8458         math_check_force_underflow.
8459         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
8460         Likewise.
8461         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8462         Use math_check_force_underflow_nonneg.
8463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
8464         math_check_force_underflow.
8465         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8466         Likewise.
8467         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8468         Likewise.
8469         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8470         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8471         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8472         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8473         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
8474         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8475         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8476         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8477         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
8478         math_check_force_underflow_nonneg.
8479         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
8480         math_check_force_underflow.
8481         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8482         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8483         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
8484         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
8485         math_check_force_underflow_nonneg.
8486         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
8487         math_check_force_underflow.
8488         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8489         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
8490         instead of volatile.
8491         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
8492         math_check_force_underflow.
8494         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
8495         * stdlib/strtod_l.c: Include <math_private.h>.
8496         (overflow_value): Use math_narrow_eval.
8497         (underflow_value): Likewise.
8498         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8499         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8500         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
8501         (__ieee754_gamma_r): Likewise.
8502         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
8503         Likewise.
8504         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8505         Likewise.
8506         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8507         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
8508         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8509         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8510         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8511         (__ieee754_gammaf_r): Likewise.
8512         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8513         Likewise.
8514         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8515         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
8516         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8517         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8518         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
8519         volatile.
8520         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8521         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
8522         math_narrow_eval.
8523         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8524         Likewise.
8525         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8526         Likewise.
8527         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
8528         Likewise.
8529         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
8530         volatile.
8531         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8532         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
8533         math_narrow_eval.
8534         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8535         Likewise.
8536         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8537         Likewise.
8539 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
8541         * nptl/Versions: Remove ignored symbols.
8543 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8545         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
8546         * nss/Makefile (tests): Update.
8548 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8550         * nss/bug18287.c: New file.
8551         * nss/Makefile (tests): Add bug18287.
8553 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8555         * mach/Versions (__mach_host_self_): Add symbol.
8557 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8559         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
8560         vm_page_size.
8562 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8564         Really fix sysdeps/i386/fpu/s_scalbn.S build
8566         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
8567         (libc: GLIBC_2_22): Remove unused version set.
8569 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8571         * config.make.in (enable-timezone-tools): New variable.
8572         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
8573         (enable_timezone_tools): Export to generated files.
8574         * configure: Regenerate.
8575         * INSTALL: Regenerate.
8576         * manual/install.texi (--disable-timezone-tools): Document new flag.
8577         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
8578         ifeq ($(enable-timezone-tools),yes) check.
8580 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8582         * timezone/Makefile: Revert previous change.
8584         [BZ #18980]
8585         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
8586         (DEFINE_DBL_MIN): Likewise.
8587         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8588         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8589         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8590         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8591         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
8592         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8593         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8594         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
8595         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
8596         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8597         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8598         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
8599         (flt_min): Replace with use of DEFINE_FLT_MIN.
8600         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8601         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
8602         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8603         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8604         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
8605         (flt_min): Replace with use of DEFINE_FLT_MIN.
8606         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8607         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
8608         (flt_min): Replace with use of DEFINE_FLT_MIN.
8609         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8610         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
8611         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
8612         (__ieee754_hypot): Use DBL_NARROW_EVAL.
8613         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
8614         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
8615         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
8616         (__ieee754_pow): Use DBL_NARROW_EVAL.
8617         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8618         (__ieee754_powf): Use FLT_NARROW_EVAL.
8619         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8620         (__ieee754_expf_sse2): Convert double-precision result to single
8621         precision.
8622         * sysdeps/i386/fpu/libm-test-ulps: Update.
8624 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8626         * timezone/Makefile: Ignore unused variable errors due to private.h
8627         (time_t_min) and (time_t_max).
8628         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
8629         Likewise.
8631 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8633         [BZ #18981]
8634         * sysdeps/i386/fpu/i386-math-asm.h: New file.
8635         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8636         (__ieee754_scalb): Use DBL_NARROW_EVAL.
8637         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8638         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8639         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8640         (__scalbn): Use DBL_NARROW_EVAL.
8641         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8642         (__scalbnf): Use FLT_NARROW_EVAL.
8644 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8646         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8647         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8648         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8649         * stdio-common/printf_fp.c (___printf_fp):
8650         Use signbit to get the sign. Use isinf macro to allow inlining.
8651         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8652         * stdio-common/printf_size.c (__printf_size): Likewise.
8654 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8656         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8658 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8660         [BZ #18980]
8661         * sysdeps/generic/math_private.h: Include <float.h>.
8662         (math_narrow_eval): New macro.
8663         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8664         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
8665         math_narrow_eval on overflowing return value.
8666         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
8667         Likewise.
8668         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8669         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
8670         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
8671         Likewise.
8672         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8674 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8676         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
8677         * math/Makefile: Remove isinf_ns.c.
8678         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
8679         * math/multc3.c (__multc3): Likewise.
8680         * math/s_casin.c (__casin): Likewise.
8681         * math/s_casinf.c (__casinf): Likewise.
8682         * math/s_casinl.c (__casinl): Likewise.
8683         * math/s_cproj.c (__cproj): Likewise.
8684         * math/s_cprojf.c (__cprojf): Likewise.
8685         * math/s_cprojl.c (__cprofl): Likewise.
8686         * math/s_ctan.c (__ctan): Likewise.
8687         * math/s_ctanf.c (__ctanf): Likewise.
8688         * math/s_ctanh.c (__ctanh): Likewise.
8689         * math/s_ctanhf.c (__ctanhf): Likewise.
8690         * math/s_ctanhl.c (__ctanhl): Likewise.
8691         * math/s_ctanl.c (__ctanl): Likewise.
8692         * math/w_fmod.c (__fmod): Likewise.
8693         * math/w_fmodf.c (__fmodf): Likewise.
8694         * math/w_fmodl.c (_fmodl): Likewise.
8695         * math/w_remainder.c (__remainder): Likewise.
8696         * math/w_remainderf.c (__remainderf): Likewise.
8697         * math/w_remainderl.c (__remainderl): Likewise.
8698         * math/w_scalb.c (__scalb): Likewise.
8699         * math/w_scalbf.c (__scalbf): Likewise.
8700         * math/w_scalbl.c (__scalbl): Likewise.
8701         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
8702         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8703         with isinf.
8704         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8706         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8707         __isinf_nsf with isinf.
8708         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8709         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8710         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8711         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8712         with isinf.
8713         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8714         __isinf_nsl with isinf.
8715         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8716         with isinf.
8717         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8718         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8719         __isinf_nsl with isinf.
8720         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8721         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8722         with isinf.
8724 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8726         * resolv/base64.c (rcsid): Remove unused static.
8727         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8728         static.  (tqpi1): Likewise.
8729         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8730         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8731         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8732         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8733         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8734         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8735         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8736         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
8737         Likewise.
8739 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
8741         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8742         <nptl/pthreadP.h>.
8743         (_longjmp_unwind): Use __libc_ptf_call.
8744         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8746 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
8748         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8749         * sysdeps/arm/__longjmp.S: Likewise.
8751 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8753         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8754         Use __builtin_signbit.
8755         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8756         Use __builtin_signbitf.
8757         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8758         Use __builtin_signbitl.
8759         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8760         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8762 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8764         [BZ #15367]
8765         [BZ #17441]
8767         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8768         * math/math.h (fpclassify): Use __builtin_fpclassify when
8769         available.  (signbit): Use __builtin_signbit(f/l).
8770         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8771         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8772         (isinf): Use __builtin_isinf_sign.
8774 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8776         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8777         * benchtests/bench-math-inlines.c: New benchmark.
8778         * benchtests/bench-util.h: New file.
8779         * benchtests/bench-util.c: New file.
8780         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8782 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8784         * elf/tst-dlmopen1.c: Define TEST_SO.
8785         (do_test): Use TEST_SO.
8787         * elf/dl-load.c: Include libc-internal.h.
8788         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8790 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8792         [BZ #17887]
8793         * time/strptime_l.c (__strptime_internal): Make %z accept
8794         [+-]HH:MM time zones.
8796 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8798         [BZ #17886]
8799         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8800         valid time zone.
8802 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8804         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8805         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8806         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8807         (__ASSUME_FDATASYNC): Delete.
8809 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8811         * conform/linknamespace.pl: Require weak undefined symbols to be
8812         in the standard namespace.
8813         (%strong_syms): Rename to %seen_syms.
8814         (%strong_seen): Rename to %seen_where.
8816 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8818         [BZ #18970]
8819         * misc/error.c (error): Replace pthread_setcancelstate with
8820         __pthread_setcancelstate.
8821         (error_at_line): Likewise.
8822         * posix/wordexp.c (parse_comm): Likewise.
8823         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8824         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8825         (__pthread_setcancelstate): This.
8826         (pthread_setcancelstate): Add an alias.
8827         * nptl/nptl-init.c (pthread_functions): Replace
8828         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8829         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8830         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8831         hidden_proto.
8832         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8833         it with hidden_def.
8834         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8835         (pthread_setcancelstate): Renamed to ...
8836         (__pthread_setcancelstate): This.
8837         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8838         __libc_ptf_call with __pthread_setcancelstate.
8840 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8841             Andreas Schwab  <schwab@suse.de>
8843         [BZ #17118]
8844         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8845         result when imaginary part of argument is infinite using sine and
8846         cosine.
8847         * math/s_ctanf.c (__ctanf): Likewise.
8848         * math/s_ctanl.c (__ctanl): Likewise.
8849         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8850         of result when real part of argument is infinite using sine and
8851         cosine.
8852         * math/s_ctanhf.c (__ctanhf): Likewise.
8853         * math/s_ctanhl.c (__ctanhl): Likewise.
8854         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8855         (ctanh_test_data): Add more tests of ctanh.
8857 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8859         [BZ #15384]
8860         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8861         bit-mask as in subtraction.
8862         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8863         Likewise.
8864         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8865         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8866         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8868         [BZ #18951]
8869         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8870         underflow exception for small results.
8871         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8872         Likewise.
8873         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8874         Likewise.
8875         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8876         Likewise.
8877         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8878         Likewise.
8879         * math/auto-libm-test-in: Add more tests of tgamma.
8880         * math/auto-libm-test-out: Regenerated.
8882 2015-09-17  Andreas Schwab  <schwab@suse.de>
8884         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8886 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8888         [BZ #18977]
8889         * math/bits/mathcalls.h
8890         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8891         not declare.
8892         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8893         Likewise.
8894         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8895         Likewise.
8896         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8897         Likewise.
8898         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8899         Likewise.
8900         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8901         Likewise.
8902         * conform/data/math.h-data
8903         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8904         function.
8905         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8906         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8907         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8908         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8909         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8910         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8911         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8912         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8913         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8914         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8915         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8917         [BZ #6803]
8918         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8919         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8920         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8921         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8922         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8923         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8924         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8925         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8926         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8927         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8928         Likewise.
8929         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8930         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8931         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8932         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8933         long_double_symbol calls.
8934         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8935         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8936         strong alias of __ldexpl.
8937         (scalbnl): Define using long_double_symbol.
8938         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8939         Remove alias.
8940         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8941         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8942         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8943         (scalbln_test_data): Add more errno expectations.
8945 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8947         Cache the host port like we cache the task port.  This way we do not
8948         need to call the kernel just to get the port.  Furthermore, we no
8949         longer increase the reference count on every invocation of
8950         `mach_host_self'.
8952         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8953         Protect declarations against the macro expansion.
8954         * mach/mach_init.c (__mach_host_self_): New variable.
8955         (mach_init): Initialize `__mach_host_self_'.
8956         * mach/mach_init.h (__mach_host_self_): New declaration.
8957         (__mach_host_self, mach_host_self): New macros.
8958         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8959         Release reference.
8961 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8963         [BZ #4404]
8964         * po/de.po: Update from Translation Project.
8966         [BZ #16415]
8967         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8968         (__expm1l): Remove code to handle positive infinity and overflow.
8969         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8970         variable.
8971         (__expm1l): Remove code to handle positive infinity and overflow.
8973 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8974             Paul Pluzhnikov  <ppluzhnikov@google.com>
8976         [BZ #18872]
8977         * stdio-common/Makefile (tst-printf-bz18872): New test.
8978         (tst-printf-bz18872-mem.out): Likewise.
8979         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8980         * stdio-common/vfprintf.c: Fix memory leaks.
8982 2015-09-16  Andreas Schwab  <schwab@suse.de>
8984         [BZ #17244]
8985         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8986         Remove extra va_start/va_end calls.
8988         [BZ #17243]
8989         * posix/execl.c (execl): Add missing va_end.
8990         * posix/execle.c (execle): Likewise.
8991         * posix/execlp.c (execlp): Likewise.
8993 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8995         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8996         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8998 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9000         [BZ #18967]
9001         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9002         undefine around includes of <bits/mathcalls.h>.
9003         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9004         not declare function.
9005         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9006         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9007         (scalb): Likewise.
9008         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9009         not define macro.
9010         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9011         variable.
9012         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9013         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9014         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9016         [BZ #18857]
9017         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9018         return non-finite argument without doing ordered comparisons on
9019         it.
9021         [BZ #16296]
9022         * math/fenv.h (fegetround): Use __attribute_pure__.
9023         * include/fenv.h (__fegetround): Likewise.
9025         [BZ #18595]
9026         * math/s_ctan.c (__ctan): Force underflow exception for results
9027         whose real or imaginary part has small absolute value.
9028         * math/s_ctanf.c (__ctanf): Likewise.
9029         * math/s_ctanh.c (__ctanh): Likewise.
9030         * math/s_ctanhf.c (__ctanhf): Likewise.
9031         * math/s_ctanhl.c (__ctanhl): Likewise.
9032         * math/s_ctanl.c (__ctanl): Likewise.
9033         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9034         and ctanh.  Add more tests of ctan and ctanh.
9036         [BZ #15918]
9037         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9038         handling of cases where one argument is an infinity.
9040         [BZ #18875]
9041         [BZ #18966]
9042         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9043         (MO): New macro.
9044         (__ieee754_exp10): For small results, force underflow exception
9045         and remove excess range and precision from return value.
9046         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9047         (MO): New macro.
9048         (__ieee754_exp10f): For small results, force underflow exception
9049         and remove excess range and precision from return value.
9050         * math/auto-libm-test-in: Add more tests of exp10.
9051         * math/auto-libm-test-out: Regenerated.
9053 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9055         [BZ #18875]
9056         [BZ #18961]
9057         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9058         (MO): New macro.
9059         (__ieee754_exp): For small results, force underflow exception and
9060         remove excess range and precision from return value.
9061         (__exp_finite): Likewise.
9062         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9063         (MO): New macro.
9064         (__ieee754_expf): For small results, force underflow exception and
9065         remove excess range and precision from return value.
9066         (__expf_finite): Likewise.
9067         * math/auto-libm-test-in: Add more tests of exp.
9068         * math/auto-libm-test-out: Regenerated.
9070         [BZ #16521]
9071         [BZ #18875]
9072         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9073         small results.
9074         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9075         (MO): New macro.
9076         (__ieee754_exp2): For small results, force underflow exception and
9077         remove excess range and precision from return value.
9078         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9079         (MO): New macro.
9080         (__ieee754_exp2f): For small results, force underflow exception
9081         and remove excess range and precision from return value.
9082         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9083         (MO): New macro.
9084         (__ieee754_exp2l): Force underflow exception for small results.
9085         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9086         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9087         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9088         (MO): New macro.
9089         (__ieee754_exp2l): Force underflow exception for small results.
9090         * math/auto-libm-test-in: Add more tests or exp2.
9091         * math/auto-libm-test-out: Regenerated.
9093 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
9095         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9097         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9098         /dev/null.
9100 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9102         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9103         io fs process)): Drop spurious backslash.
9105 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9107         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9108         Use sysinfo system call instead of parsing /proc/meminfo.
9109         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9110         Likewise.
9112 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
9114         [BZ #16985]
9115         * programs/localedef.c (main): Display argv[remaining] when
9116         output_path is NULL.
9118 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9120         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9121         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9122         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9123         tanh.
9124         * math/auto-libm-test-out: Regenerated.
9125         * sysdeps/i386/fpu/libm-test-ulps: Update.
9126         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9127         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9130 2015-09-11  Roland McGrath  <roland@hack.frob.com>
9132         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
9133         Use 'override' keyword to freeze the value here, preventing
9134         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
9136 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9138         [BZ #14912]
9139         * sysdeps/aarch64/bits/atomic.h: Move to ...
9140         * sysdeps/aarch64/atomic-machine.h: ...here.
9141         (_AARCH64_BITS_ATOMIC_H): Rename macro to
9142         _AARCH64_ATOMIC_MACHINE_H.
9143         * sysdeps/alpha/bits/atomic.h: Move to ...
9144         * sysdeps/alpha/atomic-machine.h: ...here.
9145         * sysdeps/arm/bits/atomic.h: Move to ...
9146         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
9147         * bits/atomic.h: Move to ...
9148         * sysdeps/generic/atomic-machine.h: ...here.
9149         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9150         * sysdeps/i386/bits/atomic.h: Move to ...
9151         * sysdeps/i386/atomic-machine.h: ...here.
9152         * sysdeps/ia64/bits/atomic.h: Move to ...
9153         * sysdeps/ia64/atomic-machine.h: ...here.
9154         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
9155         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
9156         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9157         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
9158         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
9159         * sysdeps/microblaze/bits/atomic.h: Move to ...
9160         * sysdeps/microblaze/atomic-machine.h: ...here.
9161         * sysdeps/mips/bits/atomic.h: Move to ...
9162         * sysdeps/mips/atomic-machine.h: ...here.
9163         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
9164         * sysdeps/powerpc/bits/atomic.h: Move to ...
9165         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
9166         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
9167         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
9168         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
9169         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
9170         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
9171         <atomic-machine.h> instead of <bits/atomic.h>.
9172         * sysdeps/s390/bits/atomic.h: Move to ...
9173         * sysdeps/s390/atomic-machine.h: ...here.
9174         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
9175         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
9176         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9177         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
9178         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
9179         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
9180         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
9181         * sysdeps/tile/bits/atomic.h: Move to ...
9182         * sysdeps/tile/atomic-machine.h: ...here.
9183         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
9184         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
9185         <sysdeps/tile/atomic-machine.h> instead of
9186         <sysdeps/tile/bits/atomic.h>.
9187         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9188         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
9189         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
9190         <sysdeps/tile/atomic-machine.h> instead of
9191         <sysdeps/tile/bits/atomic.h>.
9192         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9193         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
9194         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
9195         <sysdeps/arm/atomic-machine.h> instead of
9196         <sysdeps/arm/bits/atomic.h>.
9197         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
9198         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
9199         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9200         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
9201         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
9202         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9203         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
9204         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
9205         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
9206         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
9207         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
9208         * sysdeps/x86_64/bits/atomic.h: Move to ...
9209         * sysdeps/x86_64/atomic-machine.h: ...here.
9210         * include/atomic.h: Include <atomic-machine.h> instead of
9211         <bits/atomic.h>.
9213         * sysdeps/mips/mips32/libm-test-ulps: Update.
9214         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9216         [BZ #18952]
9217         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
9218         not convert non-integer negative arguments to int to determine the
9219         value of signgam.
9220         * math/auto-libm-test-in: Add more tests of lgamma.
9221         * math/auto-libm-test-out: Regenerated.
9223         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
9224         cosh, csqrt, erfc, expm1 and lgamma.
9225         * math/auto-libm-test-out: Regenerated.
9226         * sysdeps/i386/fpu/libm-test-ulps: Update.
9227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9229 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
9231         [BZ #2542]
9232         [BZ #2543]
9233         [BZ #2558]
9234         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
9235         __lgamma_neg for arguments from -28.0 to -2.0.
9236         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
9237         __lgamma_negf for arguments from -15.0 to -2.0.
9238         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9239         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
9240         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
9241         Call __lgamma_negl for arguments from -33.0 to -2.0.
9242         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
9243         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9244         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9245         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
9246         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9247         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9248         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9249         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
9250         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9251         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9252         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
9253         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
9254         (__lgamma_neg): Likewise.
9255         (__lgamma_negl): Likewise.
9256         (__lgamma_product): Likewise.
9257         (__lgamma_productl): Likewise.
9258         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
9259         * math/auto-libm-test-in: Add more tests of lgamma.
9260         * math/auto-libm-test-out: Regenerated.
9261         * sysdeps/i386/fpu/libm-test-ulps: Update.
9262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9264 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
9266         [BZ #18675]
9267         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
9269 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
9271         [BZ #14912]
9272         * bits/libc-lock.h: Move to ...
9273         * sysdeps/generic/libc-lock.h: ...here.
9274         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9275         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
9276         * sysdeps/mach/hurd/libc-lock.h: ...here.
9277         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9278         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
9279         * sysdeps/mach/bits/libc-lock.h: Move to ...
9280         * sysdeps/mach/libc-lock.h: ...here.
9281         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9282         * sysdeps/nptl/bits/libc-lock.h: Move to ...
9283         * sysdeps/nptl/libc-lock.h: ...here.
9284         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9285         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
9286         * sysdeps/nptl/libc-lockP.h: ...here.
9287         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
9288         * crypt/crypt_util.c: Include <libc-lock.h> instead of
9289         <bits/libc-lock.h>.
9290         * dirent/scandir-tail.c: Likewise.
9291         * dlfcn/dlerror.c: Likewise.
9292         * elf/dl-close.c: Likewise.
9293         * elf/dl-iteratephdr.c: Likewise.
9294         * elf/dl-lookup.c: Likewise.
9295         * elf/dl-open.c: Likewise.
9296         * elf/dl-support.c: Likewise.
9297         * elf/dl-writev.h: Likewise.
9298         * elf/rtld.c: Likewise.
9299         * grp/fgetgrent.c: Likewise.
9300         * gshadow/fgetsgent.c: Likewise.
9301         * gshadow/sgetsgent.c: Likewise.
9302         * iconv/gconv_conf.c: Likewise.
9303         * iconv/gconv_db.c: Likewise.
9304         * iconv/gconv_dl.c: Likewise.
9305         * iconv/gconv_int.h: Likewise.
9306         * iconv/gconv_trans.c: Likewise.
9307         * include/link.h: Likewise.
9308         * inet/getnameinfo.c: Likewise.
9309         * inet/getnetgrent.c: Likewise.
9310         * inet/getnetgrent_r.c: Likewise.
9311         * intl/bindtextdom.c: Likewise.
9312         * intl/dcigettext.c: Likewise.
9313         * intl/finddomain.c: Likewise.
9314         * intl/gettextP.h: Likewise.
9315         * intl/loadmsgcat.c: Likewise.
9316         * intl/localealias.c: Likewise.
9317         * intl/textdomain.c: Likewise.
9318         * libidn/idn-stub.c: Likewise.
9319         * libio/libioP.h: Likewise.
9320         * locale/duplocale.c: Likewise.
9321         * locale/freelocale.c: Likewise.
9322         * locale/newlocale.c: Likewise.
9323         * locale/setlocale.c: Likewise.
9324         * login/getutent_r.c: Likewise.
9325         * login/getutid_r.c: Likewise.
9326         * login/getutline_r.c: Likewise.
9327         * login/utmp-private.h: Likewise.
9328         * login/utmpname.c: Likewise.
9329         * malloc/mtrace.c: Likewise.
9330         * misc/efgcvt.c: Likewise.
9331         * misc/error.c: Likewise.
9332         * misc/fstab.c: Likewise.
9333         * misc/getpass.c: Likewise.
9334         * misc/mntent.c: Likewise.
9335         * misc/syslog.c: Likewise.
9336         * nis/nis_call.c: Likewise.
9337         * nis/nis_callback.c: Likewise.
9338         * nis/nss-default.c: Likewise.
9339         * nis/nss_compat/compat-grp.c: Likewise.
9340         * nis/nss_compat/compat-initgroups.c: Likewise.
9341         * nis/nss_compat/compat-pwd.c: Likewise.
9342         * nis/nss_compat/compat-spwd.c: Likewise.
9343         * nis/nss_nis/nis-alias.c: Likewise.
9344         * nis/nss_nis/nis-ethers.c: Likewise.
9345         * nis/nss_nis/nis-grp.c: Likewise.
9346         * nis/nss_nis/nis-hosts.c: Likewise.
9347         * nis/nss_nis/nis-network.c: Likewise.
9348         * nis/nss_nis/nis-proto.c: Likewise.
9349         * nis/nss_nis/nis-pwd.c: Likewise.
9350         * nis/nss_nis/nis-rpc.c: Likewise.
9351         * nis/nss_nis/nis-service.c: Likewise.
9352         * nis/nss_nis/nis-spwd.c: Likewise.
9353         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9354         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9355         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9356         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9357         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
9358         * nis/nss_nisplus/nisplus-network.c: Likewise.
9359         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9360         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9361         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9362         * nis/nss_nisplus/nisplus-service.c: Likewise.
9363         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9364         * nis/ypclnt.c: Likewise.
9365         * nptl/libc_pthread_init.c: Likewise.
9366         * nss/getXXbyYY.c: Likewise.
9367         * nss/getXXent.c: Likewise.
9368         * nss/getXXent_r.c: Likewise.
9369         * nss/nss_db/db-XXX.c: Likewise.
9370         * nss/nss_db/db-netgrp.c: Likewise.
9371         * nss/nss_db/nss_db.h: Likewise.
9372         * nss/nss_files/files-XXX.c: Likewise.
9373         * nss/nss_files/files-alias.c: Likewise.
9374         * nss/nsswitch.c: Likewise.
9375         * posix/regex_internal.h: Likewise.
9376         * posix/wordexp.c: Likewise.
9377         * pwd/fgetpwent.c: Likewise.
9378         * resolv/res_hconf.c: Likewise.
9379         * resolv/res_libc.c: Likewise.
9380         * shadow/fgetspent.c: Likewise.
9381         * shadow/lckpwdf.c: Likewise.
9382         * shadow/sgetspent.c: Likewise.
9383         * socket/opensock.c: Likewise.
9384         * stdio-common/reg-modifier.c: Likewise.
9385         * stdio-common/reg-printf.c: Likewise.
9386         * stdio-common/reg-type.c: Likewise.
9387         * stdio-common/vfprintf.c: Likewise.
9388         * stdio-common/vfscanf.c: Likewise.
9389         * stdlib/abort.c: Likewise.
9390         * stdlib/cxa_atexit.c: Likewise.
9391         * stdlib/fmtmsg.c: Likewise.
9392         * stdlib/random.c: Likewise.
9393         * stdlib/setenv.c: Likewise.
9394         * string/strsignal.c: Likewise.
9395         * sunrpc/auth_none.c: Likewise.
9396         * sunrpc/bindrsvprt.c: Likewise.
9397         * sunrpc/create_xid.c: Likewise.
9398         * sunrpc/key_call.c: Likewise.
9399         * sunrpc/rpc_thread.c: Likewise.
9400         * sysdeps/arm/backtrace.c: Likewise.
9401         * sysdeps/generic/ldsodefs.h: Likewise.
9402         * sysdeps/generic/stdio-lock.h: Likewise.
9403         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
9404         * sysdeps/i386/backtrace.c: Likewise.
9405         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9406         * sysdeps/m68k/backtrace.c: Likewise.
9407         * sysdeps/mach/hurd/cthreads.c: Likewise.
9408         * sysdeps/mach/hurd/dirstream.h: Likewise.
9409         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9410         * sysdeps/nptl/malloc-machine.h: Likewise.
9411         * sysdeps/nptl/stdio-lock.h: Likewise.
9412         * sysdeps/posix/dirstream.h: Likewise.
9413         * sysdeps/posix/getaddrinfo.c: Likewise.
9414         * sysdeps/posix/system.c: Likewise.
9415         * sysdeps/pthread/aio_suspend.c: Likewise.
9416         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9417         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9418         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9419         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9420         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
9421         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
9422         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
9423         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9424         * sysdeps/unix/sysv/linux/system.c: Likewise.
9425         * sysdeps/x86_64/backtrace.c: Likewise.
9426         * time/alt_digit.c: Likewise.
9427         * time/era.c: Likewise.
9428         * time/tzset.c: Likewise.
9429         * wcsmbs/wcsmbsload.c: Likewise.
9430         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
9431         instead of <bits/libc-lock.h> in comment.
9433 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
9435         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
9436         Only use .set mips2 if the current ISA is below mips2.
9437         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
9438         Likewise.
9439         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
9440         mips32r2 if the current ISA is below mips32r2.
9441         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
9442         (TLS_IE): Updated to use the TLD_RDHWR macro.
9443         (TLS_LE): Likewise.
9444         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
9445         __ASSEMBLER__ condition.
9447 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9449         Fix parallel build of before-compile targets.
9451         * sysdeps/mach/Makefile ($(patsubst
9452         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
9453         mach-before-compile target.
9454         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9455         io fs process)): Move rule to dedicated hurd-before-compile target.
9457 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9459         Fix rules generating headers in hurd/ and mach/ when initial make call
9460         has subdir= explicitly set.
9462         * sysdeps/mach/Makefile ($(patsubst
9463         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
9464         calling $(MAKE).
9465         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9466         io fs process)): Force subdir to hurd when calling $(MAKE).
9467         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
9468         subdir to mach when calling $(MAKE).
9470 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
9472         Check sysheaders when looking for Mach and Hurd headers
9474         * sysdeps/mach/configure.ac: Add sysheaders check.
9475         * sysdeps/mach/configure: Regenerate.
9476         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
9477         * sysdeps/mach/hurd/configure: Regenerate.
9479 2015-09-04  Roland McGrath  <roland@hack.frob.com>
9481         [BZ #18921]
9482         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
9483         Fix inverted sense of test of 'o_directory_works' value.
9484         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
9485         Bernhard Voelker <mail@bernhard-voelker.de>.
9487 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9489         [BZ #14912]
9490         * bits/linkmap.h: Move to ...
9491         * sysdeps/generic/linkmap.h: ...here.
9492         * sysdeps/aarch64/bits/linkmap.h: Move to ...
9493         * sysdeps/aarch64/linkmap.h: ...here.
9494         * sysdeps/arm/bits/linkmap.h: Move to ...
9495         * sysdeps/arm/linkmap.h: ...here.
9496         * sysdeps/hppa/bits/linkmap.h: Move to ...
9497         * sysdeps/hppa/linkmap.h: ...here.
9498         * sysdeps/ia64/bits/linkmap.h: Move to ...
9499         * sysdeps/ia64/linkmap.h: ...here.
9500         * sysdeps/mips/bits/linkmap.h: Move to ...
9501         * sysdeps/mips/linkmap.h: ...here.
9502         * sysdeps/s390/bits/linkmap.h: Move to ...
9503         * sysdeps/s390/linkmap.h: ...here.
9504         * sysdeps/sh/bits/linkmap.h: Move to ...
9505         * sysdeps/sh/linkmap.h: ...here.
9506         * sysdeps/x86/bits/linkmap.h: Move to ...
9507         * sysdeps/x86/linkmap.h: ...here.
9508         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
9510 2015-09-04  Andreas Schwab  <schwab@suse.de>
9512         [BZ #18635]
9513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
9514         (__makecontext): Terminate FDE before return label.
9515         (__novec_makecontext): Likewise.
9517 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9519         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
9520         first member of struct sv in syscall macro.
9522 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9524         [BZ #14912]
9525         * bits/stdio-lock.h: Move to ...
9526         * sysdeps/generic/stdio-lock.h: ...here.
9527         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9528         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
9529         * sysdeps/nptl/stdio-lock.h: ...here.
9530         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9531         * include/libio.h: Include <stdio-lock.h> instead of
9532         <bits/stdio-lock.h>.
9533         * sysdeps/nptl/fork.c: Likewise.
9534         * sysdeps/pthread/flockfile.c: Likewise.
9535         * sysdeps/pthread/ftrylockfile.c: Likewise.
9536         * sysdeps/pthread/funlockfile.c: Likewise.
9538         [BZ #14912]
9539         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
9540         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
9541         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
9542         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
9543         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
9544         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9545         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
9547 2015-09-03  Roland McGrath  <roland@hack.frob.com>
9549         * elf/Makefile (test-xfail-tst-protected1a): New variable.
9550         (test-xfail-tst-protected1b): New variable.
9552 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
9554         [BZ #14912]
9555         * bits/libc-tsd.h: Move to ...
9556         * sysdeps/generic/libc-tsd.h: ...here.
9557         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
9558         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
9559         * sysdeps/mach/hurd/libc-tsd.h: ...here.
9560         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
9561         * include/ctype.h: Include <libc-tsd.h> instead of
9562         <bits/libc-tsd.h>.
9563         * include/rpc/rpc.h: Likewise.
9564         * locale/localeinfo.h: Likewise.
9565         * sunrpc/rpc_thread.c: Likewise.
9566         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9567         * sysdeps/nptl/malloc-machine.h: Likewise.
9569         * Makefile (headers): Remove bits/libc-lock.h.
9570         * libio/Makefile (headers): Remove bits/stdio-lock.h.
9572         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
9573         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
9574         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
9575         <bits/stdio-lock.h>.
9576         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
9577         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
9579 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9581         [BZ #18757]
9582         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
9583         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
9584         BZ #18757.
9586 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9588         * malloc/mtrace.pl: Filter out NULL entries.
9590 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
9592         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
9593         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9594         macro.
9596         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
9597         (TCP_CC_INFO): Likewise.
9598         (TCP_SAVE_SYN): Likewise.
9599         (TCP_SAVED_SYN): Likewise.
9601 2015-08-31  Brett Neumeier <brett@neumeier.us>
9603         [BZ #18870]
9604         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
9606 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
9608         [BZ #18873]
9609         Fix broken overflow check in posix_fallocate
9610         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
9611         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9612         Fix parenthesization typo.
9614 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
9616         [BZ #18887]
9617         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9618         tst-mntent-blank-passno.
9619         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9620         * misc/tst-mntent-blank-corrupt.c: New test.
9621         * misc/tst-mntent-blank-passno.c: New test ripped from ...
9622         * misc/tst-mntent.c (do_test): ... here.
9624 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
9626         [BZ #4404]
9627         * po/de.po: Fix SIGALRM typo.
9629 2015-08-28  James Perkins  <james@loowit.net>
9631         * time/tst-strptime2.c (tests): Replace short list of test
9632         strings for strptime %z specifier with code which exhaustively
9633         tests every combination of sign and 0 to 5 digits. Tests for
9634         rejection of invalid strings.
9636 2015-08-28  James Perkins  <james@loowit.net>
9638         [BZ #16141]
9639         * time/strptime_l.c (__strptime_internal): Fix %z minutes
9640         calculation, removing incorrect decimal time rounding, so that
9641         all minute values result in a valid seconds value.
9642         * time/strptime_l.c (__strptime_internal): Extend %z time zone
9643         offset range limits to UTC-99:59 through UTC+99:59 to parse
9644         current and historical use cases.
9645         * time/tst-strptime2.c (tests): Modify and add tests for the
9646         strptime %z input field descriptor, specifically conversion of
9647         minutes to seconds and validating an offset range of -9959 to
9648         +9959.
9650 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9651             Dmitry V. Levin  <ldv@altlinux.org>
9653         [BZ #18877]
9654         * posix/Makefile (tests): Add tst-mmap-offset.
9655         * posix/tst-mmap.c: New file.
9656         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9657         offset calculation for negative values.
9659 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9661         * sysdeps/i386/init-arch.h: New file.
9662         * sysdeps/i386/i586/init-arch.h: Likewise.
9663         * sysdeps/i386/i686/init-arch.h: Likewise.
9664         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
9665         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
9666         * sysdeps/x86/cpu-features.h (bit_I586): New.
9667         (bit_I686): Likewise.
9668         (bit_CX8): Likewise.
9669         (bit_CMOV): Likewise.
9670         (index_CX8): Likewise.
9671         (index_CMOV): Likewise.
9672         (index_I586): Likewise.
9673         (index_I686): Likewise.
9674         (reg_CX8): Likewise.
9675         (reg_CMOV): Likewise.
9676         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
9677         available at compile-time.
9678         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
9679         available at compile-time.
9680         * sysdeps/x86/init-arch.h (USE_I586): New macro.
9681         (USE_I686): Likewise.
9683 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9685         * sysdeps/i386/bcopy.S: New file.
9686         * sysdeps/i386/bzero.S: Likewise.
9687         * sysdeps/i386/memcpy.S: Likewise.
9688         * sysdeps/i386/memmove.S: Likewise.
9689         * sysdeps/i386/mempcpy.S: Likewise.
9690         * sysdeps/i386/memset.S: Likewise.
9691         * sysdeps/i386/bzero.c: Removed.
9692         * sysdeps/i386/memset.c: Likewise.
9693         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
9694         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
9695         * sysdeps/i386/i586/memset_chk.S: Likewise.
9696         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
9697         * sysdeps/i386/memcpy_chk.S: Here.
9698         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
9699         * sysdeps/i386/memmove_chk.S: Here.
9700         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
9701         * sysdeps/i386/mempcpy_chk.S: Likewise.
9702         * sysdeps/i386/i686/memset_chk.S: Moved to ...
9703         * sysdeps/i386/memset_chk.S: Likewise.
9705 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
9707         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9708         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9709         file, move DIAG_POP_NEEDS_COMMENT to end of file.
9710         * soft-fp/fmadf4.c: Ditto.
9711         * soft-fp/fmatf4.c: Ditto.
9713 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9715         * sysdeps/i386/i586/Implies: Removed.
9716         * sysdeps/i386/i686/Implies: Likewise.
9718 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9720         * sysdeps/i386/i486/strlen.S: Moved to ...
9721         * sysdeps/i386/strlen.S: Here.
9723 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9725         * sysdeps/i386/i486/strcat.S: Moved to ...
9726         * sysdeps/i386/strcat.S: Here.
9728 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9730         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9731         * sysdeps/i386/pthread_spin_trylock.S: Here.
9732         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9733         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9735 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9737         * sysdeps/i386/i486/string-inlines.c: Moved to ...
9738         * sysdeps/i386/string-inlines.c: Here.
9740 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9742         * sysdeps/i386/i486/htonl.S: Moved ...
9743         * sysdeps/i386/htonl.S: here.
9745 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9747         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9748         * sysdeps/i386/bits/atomic.h: Here.
9750 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9752         * sysdeps/i386/i486/Versions: Removed.
9754 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9756         [BZ #2898]
9757         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9758         Based on patch by Aurelien Jarno.
9760 2015-08-26  Stan Shebs  <stanshebs@google.com>
9762         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9763         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9765 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9767         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9768         * sysdeps/powerpc/dl-procinfo.c:
9769         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9770         feature so it shows when LD_SHOW_AUXV=1.
9772 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9774         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9775         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9776         definition.  ISA 2.07B no longer requires full sync.
9778 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9780         [BZ #18863]
9781         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9782         (si_call_addr): Define.
9783         (si_syscall): Define.
9784         (si_arch): Define.
9786 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9788         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9789         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9790         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9791         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9792         (__memset_zero_constant_len_parameter): New.
9793         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9794         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9795         (__memset_zero_constant_len_parameter): Don't define if
9796         __memset_chk or USE_AS_BZERO are defined.
9798         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9799         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9800         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9802         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9803         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9804         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9805         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9806         comments.
9807         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9808         -mno-mmx for $(all-rtld-routines).
9809         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9810         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9811         i386.
9813 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9815         * sysdeps/generic/unwind.h
9816         (_Unwind_Word): Use __mode__(__unwind_word__)
9817         instead of __mode__(__word__).
9818         (_Unwind_Sword): Likewise.
9820         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9821         (MAX_NEEDED_INPUT): New define.
9822         (MAX_NEEDED_OUTPUT): New define.
9824         * NEWS: New item for IBM z13 string optimizations.
9826         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9827         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9828         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9829         * sysdeps/s390/multiarch/Makefile
9830         (sysdep_routines): Add memrchr functions.
9831         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9832         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9834         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9835         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9836         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9837         * sysdeps/s390/multiarch/Makefile
9838         (sysdep_routines): Add wmemcmp functions.
9839         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9840         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9841         * benchtests/bench-wmemcmp.c: New File.
9842         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9844         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9845         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9846         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9847         * sysdeps/s390/multiarch/Makefile
9848         (sysdep_routines): Add wmemset functions.
9849         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9850         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9851         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9852         * string/test-memset.c: Add wmemset support.
9853         * wcsmbs/test-wmemset.c: New File.
9854         * wcsmbs/Makefile (strop-tests): Add wmemset.
9855         * benchtests/bench-memset.c: Add wmemset support.
9856         * benchtests/bench-wmemset.c: New File.
9857         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9859         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9860         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9861         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9862         * sysdeps/s390/multiarch/Makefile
9863         (sysdep_routines): Add memccpy functions.
9864         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9865         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9866         * string/memccpy.c: Use MEMCCPY if defined.
9868         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9869         * sysdeps/s390/multiarch/memchr.c: Likewise.
9870         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9871         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9872         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9873         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9874         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9875         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9876         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9877         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9878         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9879         and rawmemchr functions.
9880         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9881         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9882         and wmemchr.
9883         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9884         * string/test-memchr.c: Add wmemchr support.
9885         * wcsmbs/test-wmemchr.c: New File.
9886         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9887         * benchtests/bench-memchr.c: Add wmemchr support.
9888         * benchtests/bench-wmemchr.c: New File.
9889         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9891         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9892         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9893         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9894         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9895         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9896         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9898         wcscspn functions.
9899         * sysdeps/s390/multiarch/ifunc-impl-list.c
9900         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9901         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9902         * string/test-strcspn.c: Add wcscspn support.
9903         * wcsmbs/test-wcscspn.c: New File.
9904         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9905         * benchtests/bench-strcspn.c: Add wcscspn support.
9906         * benchtests/bench-wcscspn.c: New File.
9907         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9909         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9910         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9911         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9912         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9913         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9914         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9915         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9916         wcspbrk functions.
9917         * sysdeps/s390/multiarch/ifunc-impl-list.c
9918         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9919         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9920         * string/test-strpbrk.c: Add wcspbrk support.
9921         * wcsmbs/test-wcspbrk.c: New File.
9922         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9923         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9924         * benchtests/bench-wcspbrk.c: New File.
9925         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9927         * sysdeps/s390/multiarch/strspn-c.c: New File.
9928         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9929         * sysdeps/s390/multiarch/strspn.c: Likewise.
9930         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9931         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9932         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9933         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9934         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9935         wcsspn functions.
9936         * sysdeps/s390/multiarch/ifunc-impl-list.c
9937         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9938         * string/test-strspn.c: Add wcsspn support.
9939         * wcsmbs/test-wcsspn.c: New File.
9940         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9941         * benchtests/bench-strspn.c: Add wcsspn support.
9942         * benchtests/bench-wcsspn.c: New File.
9943         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9945         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9946         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9947         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9948         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9949         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9950         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9951         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9952         wcsrchr functions.
9953         * sysdeps/s390/multiarch/ifunc-impl-list.c
9954         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9955         * benchtests/bench-wcsrchr.c: New File.
9956         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9958         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9959         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9960         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9961         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9962         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9963         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9964         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9965         wcschrnul functions.
9966         * sysdeps/s390/multiarch/ifunc-impl-list.c
9967         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9968         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9969         * string/test-strchr.c: Add wcschrnul support.
9970         * wcsmbs/test-wcschrnul.c: New File.
9971         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9972         * benchtests/bench-strchr.c: Add wcschrnul support.
9973         * benchtests/bench-wcschrnul.c: New File.
9974         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9976         * sysdeps/s390/multiarch/strchr-c.c: New File.
9977         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9978         * sysdeps/s390/multiarch/strchr.c: Likewise.
9979         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9980         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9981         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9982         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9983         wcschr functions.
9984         * sysdeps/s390/multiarch/ifunc-impl-list.c
9985         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9986         * string/strchr.c (STRCHR): Define and use macro.
9987         * benchtests/bench-wcschr.c: New File.
9988         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9990         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9991         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9992         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9993         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9994         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9995         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9997         wcsncmp functions.
9998         * sysdeps/s390/multiarch/ifunc-impl-list.c
9999         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10000         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10001         * benchtests/bench-strncmp.c: Add wcsncmp support.
10002         * benchtests/bench-wcsncmp.c: New File.
10003         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10005         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10006         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10007         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10008         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10009         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10010         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10011         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10012         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10013         wcscmp functions.
10014         * sysdeps/s390/multiarch/ifunc-impl-list.c
10015         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10016         * string/strcmp.c (STRCMP): Define and use macro.
10017         * benchtests/bench-wcscmp.c: New File.
10018         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10019         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10020         instead of _HAVE_STRING_ARCH_memchr.
10022         * sysdeps/s390/multiarch/strncat-c.c: New File.
10023         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10024         * sysdeps/s390/multiarch/strncat.c: Likewise.
10025         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10026         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10027         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10028         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10029         wcsncat functions.
10030         * sysdeps/s390/multiarch/ifunc-impl-list.c
10031         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10032         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10033         * string/test-strncat.c: Add wcsncat support.
10034         * wcsmbs/test-wcsncat.c: New File.
10035         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10036         * benchtests/bench-strncat.c: Add wcsncat support.
10037         * benchtests/bench-wcsncat.c: New File.
10038         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10040         * sysdeps/s390/multiarch/strcat-c.c: New File.
10041         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10042         * sysdeps/s390/multiarch/strcat.c: Likewise.
10043         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10044         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10045         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10046         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10047         wcscat functions.
10048         * sysdeps/s390/multiarch/ifunc-impl-list.c
10049         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10050         * string/strcat.c (STRCAT): Define and use macro.
10051         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10052         * string/test-strcat.c: Add wcscat support.
10053         * wcsmbs/test-wcscat.c: New File.
10054         * wcsmbs/Makefile (strop-tests): Add wcscat.
10055         * benchtests/bench-strcat.c: Add wcscat support.
10056         * benchtests/bench-wcscat.c: New File.
10057         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10059         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10060         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10061         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10062         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10063         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10064         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10066         wcpncpy functions.
10067         * sysdeps/s390/multiarch/ifunc-impl-list.c
10068         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10069         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10070         * string/test-stpncpy.c: Add wcpncpy support.
10071         * wcsmbs/test-wcpncpy.c: New File.
10072         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10073         * benchtests/bench-stpncpy.c: Add wcpncpy support.
10074         * benchtests/bench-wcpncpy.c: New File.
10075         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10077         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10078         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10079         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10080         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10081         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10082         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10083         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10084         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10085         wcsncpy functions.
10086         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10087         * sysdeps/s390/multiarch/ifunc-impl-list.c
10088         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10089         * string/test-strncpy.c: Add wcsncpy support.
10090         * wcsmbs/test-wcsncpy.c: New File.
10091         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10092         * benchtests/bench-strncpy.c: Add wcsncpy support.
10093         * benchtests/bench-wcsncpy.c: New File.
10094         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10096         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10097         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10098         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10099         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10100         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10101         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10102         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10103         wcpcpy functions.
10104         * string/stpcpy.c: Use STPCPY if defined.
10105         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10106         * sysdeps/s390/multiarch/ifunc-impl-list.c
10107         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10108         * string/test-stpcpy.c: Add wcpcpy support.
10109         * wcsmbs/test-wcpcpy.c: New File.
10110         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10111         * benchtests/bench-stpcpy.c: Add wcpcpy support.
10112         * benchtests/bench-wcpcpy.c: New File.
10113         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10115         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10116         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10117         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10118         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10119         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10120         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10121         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10123         wcscpy functions.
10124         * sysdeps/s390/multiarch/ifunc-impl-list.c
10125         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10126         * benchtests/bench-wcscpy.c: New File.
10127         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10129         * sysdeps/s390/multiarch/strnlen-c.c: New File.
10130         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
10131         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10132         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
10133         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
10134         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
10135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10136         wcsnlen functions.
10137         * sysdeps/s390/multiarch/ifunc-impl-list.c
10138         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
10139         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
10140         * string/test-strnlen.c: Add wcsnlen support.
10141         * wcsmbs/test-wcsnlen.c: New File.
10142         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
10143         * benchtests/bench-strnlen.c: Add wcsnlen support.
10144         * benchtests/bench-wcsnlen.c: New File.
10145         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
10147         * sysdeps/s390/multiarch/Makefile: New File.
10148         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
10149         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
10150         * sysdeps/s390/multiarch/strlen.c: Likewise.
10151         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
10152         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
10153         * sysdeps/s390/multiarch/wcslen.c: Likewise.
10154         * string/strlen.c (STRLEN): Define and use macro.
10155         * sysdeps/s390/multiarch/ifunc-impl-list.c
10156         (IFUNC_VX_IMPL): New macro function.
10157         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
10158         * benchtests/Makefile (wcsmbs-bench): New variable.
10159         (string-bench-all): Added wcsmbs-bench.
10160         * benchtests/bench-wcslen.c: New File.
10162         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
10163         s390_vx_libc_ifunc2): New macro function.
10165         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
10166         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
10167         assembler support.
10168         * sysdeps/s390/configure: Regenerated.
10170         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
10171         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
10173         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
10174         * sysdeps/s390/dl-procinfo.h: Add vector capability.
10175         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
10177         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10178         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
10179         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
10180         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
10181         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
10182         (memcmp, bcmp): Use __memcmp_default as alias source.
10183         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
10184         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
10185         Rename to __memcmp_default.
10186         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
10187         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
10188         (memcpy): Use __memcpy_default as alias source.
10189         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
10190         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
10191         Rename to __memcpy_default.
10192         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
10193         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
10194         (memset): Use __memset_default as alias source.
10195         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
10196         * sysdeps/s390/s390-32/memset.S (__memset_g5):
10197         Rename to __memset_default.
10198         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
10199         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
10200         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
10201         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
10202         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
10203         (memcmp, bcmp): Use __memcmp_default as alias source.
10204         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
10205         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
10206         Rename to __memcmp_default.
10207         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
10208         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
10209         (memcpy): Use __memcpy_default as alias source.
10210         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
10211         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
10212         Rename to __memcpy_default.
10213         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
10214         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
10215         (memset): Use __memset_default as alias source.
10216         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
10217         * sysdeps/s390/s390-64/memset.S (__memset_z900):
10218         Rename to __memset_default.
10219         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
10220         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
10222         [BZ #18610]
10223         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
10224         __ieee_instruction_pointer to __unused.
10225         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
10226         __ieee_instruction_pointer.
10227         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
10228         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
10229         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10230         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10231         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
10232         Mark dxc-field as reserved.
10234 2015-08-25  Roland McGrath  <roland@hack.frob.com>
10236         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
10237         if the weak reference is not null.
10239 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10241         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
10243         [BZ #11214]
10244         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
10246 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10248         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
10249         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
10250         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
10251         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
10252         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
10253         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
10254         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
10255         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
10256         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
10257         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
10258         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
10259         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
10260         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
10261         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
10262         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
10263         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
10264         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
10265         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
10267 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10269         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
10270         register other than r0 for tabort, it has special meaning.
10271         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
10272         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
10273         transaction before starting syscall.
10275 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10277         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
10279 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10281         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
10283         * sysdeps/x86_64/rtld-memcmp.c: Removed.
10284         * sysdeps/x86_64/rtld-memset.S: Likewise.
10285         * sysdeps/x86_64/rtld-strchr.S: Likewise.
10286         * sysdeps/x86_64/rtld-strlen.S: Likewise.
10287         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
10288         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10290         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
10292 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
10294         * debug/strcpy_chk.c: Improve performance.
10295         * debug/stpcpy_chk.c: Likewise.
10296         * sysdeps/x86_64/strcpy_chk.S: Remove.
10297         * sysdeps/x86_64/stpcpy_chk.S: Remove.
10299         [BZ #18240]
10300         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
10302 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10304         [BZ #15128]
10305         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
10306         ifuncmain8.
10307         (modules-names): Add ifuncmod8.
10308         ($(objpfx)ifuncmain8): New rule.
10309         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
10310         <cpuid.h>.
10311         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
10312         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
10313         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
10314         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
10315         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
10316         * sysdeps/x86_64/dl-trampoline.h: Likewise.
10317         * sysdeps/x86_64/ifuncmain8.c: New file.
10318         * sysdeps/x86_64/ifuncmod8.c: Likewise.
10319         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
10320         Removed.
10321         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
10322         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
10323         Change rtld_savespace_sse to __glibc_unused2.
10324         (RTLD_CHECK_FOREIGN_CALL): Removed.
10325         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
10326         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
10327         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
10329 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10331         * sysdeps/aarch64/bzero.S (__bzero): Remove.
10333 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10335         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
10336         Unconditionally set __fpcr to avoid uninialized warning.
10337         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
10339 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10341         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
10342         is corrupt.
10344         * malloc/arena.c (arena_get2): Drop unused argument.
10345         (arena_lock): Adjust.
10346         (arena_get_retry): Likewise.
10348 2015-08-24  Andreas Schwab  <schwab@suse.de>
10350         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
10351         Don't define.
10352         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10353         (__ASSUME_IPC64): Don't undef.
10354         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
10355         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10356         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10357         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
10358         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
10359         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
10360         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
10361         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
10362         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
10363         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
10364         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
10365         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
10366         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
10367         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
10368         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
10369         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
10370         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
10371         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
10372         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
10373         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
10374         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
10376 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
10378         * manual/Makefile (install): Only build manual when perl is available.
10380 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10382         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
10383         '#undef memcpy' by '#undef memchr'.
10385 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10387         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
10388         memchr not point to the internal __GI_memchr implementation.
10390 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10392         * timezone/Makefile (CFLAGS-zdump.c): Remove
10393         -Wno-strict-prototypes.
10394         (CFLAGS-zic.c): Likewise.
10395         (CFLAGS-ialloc.c): Likewise.
10396         (CFLAGS-scheck.c): Likewise.
10398         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
10399         -Wno-error=undef.
10401 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10403         * i386/i686/multiarch/strcasestr-c.c: Removed.
10404         * x86_64/multiarch/strcasestr.c: Likewise.
10405         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10406         Remove strcasestr.
10408 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10410         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
10412         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
10413         variables for high and low parts before possibly modifying them.
10415 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10417         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
10418         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
10419         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
10420         of "multiarch/init-arch.h".
10421         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
10422         * sysdeps/x86/init-arch.h: This.
10424 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10426         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
10427         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
10429 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
10431         [BZ #17787]
10432         * manual/macros.texi: Add twoexp macro.
10433         * manual/filesys.texi: Fix exponents.
10434         * manual/llio.texi: Likewise.
10435         * manual/stdio.texi: Likewise.
10437 2015-08-20  Florian Weimer  <fweimer@redhat.com>
10439         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
10440         incorrect use.
10442 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10444         [BZ #18370]
10445         * math/s_csqrt.c (__csqrt): Force underflow exception for results
10446         whose real or imaginary part has small absolute value.
10447         * math/s_csqrtf.c (__csqrtf): Likewise.
10448         * math/s_csqrtl.c (__csqrtl): Likewise.
10449         * math/auto-libm-test-in: Add more tests of csqrt.
10450         * math/auto-libm-test-out: Regenerated.
10451         * sysdeps/i386/fpu/libm-test-ulps: Update.
10453 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10455         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
10456         __ppc_set_ppr_very_low): New functions.
10457         * manual/platform.texi: Add documentation about
10458         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
10460 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
10462         * string/stpncpy.c (stpncpy): Improve performance using
10463         __strnlen/memcpy/memset.
10465 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10467         [BZ #18796]
10468         * scripts/test-installation.pl: Don't add -lmvec to build options if
10469         libmvec wasn't built.
10471 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10473         [BZ #14341]
10474         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
10475         case when there is a gap between DT_REL and DT_JMPREL sections.
10476         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
10477         (LDFLAGS-tst-split-dynreloc): New.
10478         (tst-split-dynreloc-ENV): Likewise.
10479         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
10480         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
10482 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10484         [BZ #18822]
10485         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
10486         attribute_hidden.
10487         (__xstat64_conv): Likewise.
10488         (__xstat32_conv): Likewise.
10490 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10492         [BZ #18822]
10493         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
10494         Don't load %ebx when calling __setcontext.  Call __setcontext
10495         with HIDDEN_JUMPTARGET.
10496         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
10497         libc_hidden_def.
10499 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10501         * sysdeps/i386/i686/Makefile
10502         [$(subdir) == string] (sysdep_routines): Moved to ...
10503         * sysdeps/i386/Makefile: Here.
10504         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
10505         * sysdeps/i386/cacheinfo.c: Here.
10506         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
10507         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
10508         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
10509         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
10511 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10513         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
10514         __i586__ is defined.
10515         (HAS_I686): Defined to 1 if __i686__ is defined.
10517 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10519         * elf/Makefile [$(have-z-execstack) = yes]
10520         (CPPFLAGS-tst-execstack.c): New variable.
10522         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
10523         conditional to [defined UTMPX || _HAVE_UT_TYPE].
10524         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
10525         UTMPX || _HAVE_UT_TV].
10526         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
10527         UTMPX || _HAVE_UT_TV - 0].
10529 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
10531         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
10532         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
10533         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
10535 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10537         * sysdeps/powerpc/dl-procinfo.c:
10538         (_dl_powerpc_cap_flags): Added missing strings for some
10539         hwcap features.
10540         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
10542 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
10544         Port the 0x7efe...feff pattern to GCC 6.
10545         See Steve Ellcey's bug report in:
10546         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
10547         * string/memrchr.c (MEMRCHR):
10548         * string/rawmemchr.c (RAWMEMCHR):
10549         * string/strchr.c (strchr):
10550         * string/strchrnul.c (STRCHRNUL):
10551         Rewrite code to avoid issues with signed shift overflow.
10553 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
10555         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
10556         whether cpuid is available only if HAS_CPUID is 0.
10557         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
10558         (HAS_I586): Likewise.
10559         (HAS_I686): Likewise.
10561 2015-08-18  Zack Weinberg  <zackw@panix.com>
10563         * misc/Versions (libc): Add GLIBC_2.23.
10565 2015-08-18  Alan Modra  <amodra@gmail.com>
10567         [BZ #18421]
10568         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
10569         .Lp__global.
10570         (_start): Load %dp via .Lp__global.
10571         [!SHARED]: Use .section .rodata.
10573 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10575         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
10576         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
10578 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10580         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
10581         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
10583 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10585         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
10586         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
10588 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10590         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
10591         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
10593 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10595         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
10596         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
10598 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10600         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
10601         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
10603 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10605         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
10607 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10609         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
10610         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
10611         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10612         (__ASSUME_LWS_CAS): Delete.
10614 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10616         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
10617         * sysdeps/hppa/configure: Regenerated.
10618         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10619         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10620         * sysdeps/hppa/nptl/tls.h: Likewise.
10622 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
10624         [BZ #18823]
10625         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10626         for scaling up small arguments.
10627         * math/s_csqrtf.c (__csqrtf): Likewise.
10628         * math/s_csqrtl.c (__csqrtl): Likewise.
10629         * math/auto-libm-test-in: Add more tests of csqrt.
10630         * math/auto-libm-test-out: Regenerated.
10632 2015-08-17  Andreas Schwab  <schwab@suse.de>
10634         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10635         version set GLIBC_2.19.
10637 2015-08-16  Zack Weinberg  <zackw@panix.com>
10639         [BZ #18681]
10640         * misc/regexp.h: This interface is no longer supported.
10641         Remove all contents, leaving only an #error directive.
10642         * misc/regexp.c (loc1, loc2, locs, step, advance):
10643         Demote to compatibility symbols.
10645 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
10647         [BZ #18084]
10648         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10649         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10650         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10651         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10652         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10653         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10654         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10655         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10656         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10658 2015-08-15  Zack Weinberg  <zackw@panix.com>
10660         [BZ #18795]
10661         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
10662         buffer length is known to be too large, not if it's known to be
10663         small enough.
10664         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
10665         overflow at runtime, involving a length parameter, twice: once
10666         with a compile-time constant length parameter, once without.
10668 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
10670         [BZ #18824]
10671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
10672         scaling x * y up instead of down.
10673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10675         * math/auto-libm-test-in: Add more tests of fma.
10676         * math/auto-libm-test-out: Regenerated.
10678 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10680         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10682 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10684         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
10685         unnecessary movq.
10686         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
10687         Likewise.
10689 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
10691         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10692         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
10693         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
10694         and tgamma.
10695         * math/auto-libm-test-out: Regenerated.
10696         * sysdeps/i386/fpu/libm-test-ulps: Update.
10697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10699         [BZ #16520]
10700         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
10701         (__tanh): Force underflow exception for arguments with small
10702         absolute value.
10703         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10704         (__tanhf): Force underflow exception for arguments with small
10705         absolute value.
10706         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10707         (__tanhl): Force underflow exception for arguments with small
10708         absolute value.
10709         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10710         (__tanhl): Force underflow exception for arguments with small
10711         absolute value.
10712         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10713         (__tanhl): Force underflow exception for arguments with small
10714         absolute value.
10715         * math/auto-libm-test-in: Add more tests of tanh.
10716         * math/auto-libm-test-out: Regenerated.
10717         * sysdeps/i386/fpu/libm-test-ulps: Update.
10719 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10721         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10722         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10724 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10726         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10727         <cpuid.h>.
10729 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10731         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10732         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10734 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10736         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10737         Remove $(objpfx)init-arch.o.
10738         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10739         init-arch.
10740         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10741         (INIT_ARCH_EXT): Defined as empty.
10742         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10743         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10744         __init_cpu_features call.  Replace HAS_XXX with
10745         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10746         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10748         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10751         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10752         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10753         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10754         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10755         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10756         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10757         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10758         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10759         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10760         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10762         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10763         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10764         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10765         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10766         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10767         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10768         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10769         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10770         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10771         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10772         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10773         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10774         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10775         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10777         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10778         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10779         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10782 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10784         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10785         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10786         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10787         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10788         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10789         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10790         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10791         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10792         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10793         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10794         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10795         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10796         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10797         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10798         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10799         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10800         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10801         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10802         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10803         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10804         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10805         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10806         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10807         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10808         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10809         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10810         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10811         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10812         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10813         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10814         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10815         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10816         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10817         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10818         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10819         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10820         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10821         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10822         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10823         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10824         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10825         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10826         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10828 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10830         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10831         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10832         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10833         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10834         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10835         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10836         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10837         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10838         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10839         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10840         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10841         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10842         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10843         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10844         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10845         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10846         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10847         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10848         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10849         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10851         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10852         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10853         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10854         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10855         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10856         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10857         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10858         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10859         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10860         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10861         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10862         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10863         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10864         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10865         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10866         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10867         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10868         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10869         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10870         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10871         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10872         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10874 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10876         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10877         (dl_platform_init): Call init_cpu_features.
10878         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10879         * sysdeps/i386/i686/cacheinfo.c
10880         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10881         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10882         * sysdeps/i386/i686/multiarch/Versions: Removed.
10883         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10884         Removed.
10885         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10886         * sysdeps/unix/sysv/linux/x86/Makefile
10887         (libpthread-sysdep_routines): Remove init-arch.
10888         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10889         <sysdeps/x86_64/dl-procinfo.c> instead of
10890         sysdeps/generic/dl-procinfo.c>.
10891         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10892         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10893         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10894         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10895         [$(subdir) == elf] (tests-static): Add
10896         tst-get-cpu-features-static.
10897         * sysdeps/x86/Versions: New file.
10898         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10899         * sysdeps/x86/cpu-features.c: Likewise.
10900         * sysdeps/x86/cpu-features.h: Likewise.
10901         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10902         * sysdeps/x86/libc-start.c: Likewise.
10903         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10904         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10905         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10906         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10907         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10908         Assume USE_MULTIARCH is defined and don't check it.
10909         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10910         (is_amd): Likewise.
10911         (max_cpuid): Likewise.
10912         (intel_check_word): Likewise.
10913         (__cache_sysconf): Don't call __init_cpu_features.
10914         (__x86_preferred_memory_instruction): Removed.
10915         (init_cacheinfo): Don't call __init_cpu_features. Replace
10916         __cpu_features with GLRO(dl_x86_cpu_features).
10917         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10918         (dl_platform_init): Call init_cpu_features.
10919         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10920         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10921         * sysdeps/x86_64/multiarch/Versions: Removed.
10922         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10923         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10924         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10925         Removed.
10926         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10928 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10930         [BZ #18820]
10931         * libio/Makefile (test-fmemopen-mem): New test.
10932         * libio/test-fmemopen.c (do_bz18820): New test.
10933         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10934         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10936 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10938         [BZ #16734]
10939         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10940         (FREE_BUF): Delete.
10941         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10942         * libio/genops.c (_IO_setb): Use malloc and free directly.
10943         (_IO_default_doallocate, _IO_default_finish): Likewise.
10944         ( _IO_unbuffer_all): Likewise.
10945         ( libc_freeres_fn): Likewise.
10946         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10947         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10948         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10949         (_IO_wdefault_doallocate): Likewise.
10951 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10953         [BZ #18086]
10954         * sysdeps/posix/nice.c (nice): Restore old errno.
10955         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10957 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10959         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10961 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10963         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10964         __bcopy and add a weak_alias to bcopy.
10965         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10966         for static build.
10968         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10969         cleanup macro usage.
10970         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10971         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10972         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10973         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10974         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10975         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10976         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10977         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10978         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10979         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10981         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10982         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10983         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10984         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10986         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10987         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10988         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10990         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10991         libc_hidden_def.
10992         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10994         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10995         (sysdep_routines): Add strstr-ppc64.
10996         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10998 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11000         [BZ #18778]
11001         * elf/Makefile (tests): Add Add tst-nodelete2.
11002         (modules-names): Add tst-nodelete2mod.
11003         (tst-nodelete2mod.so-no-z-defs): New.
11004         ($(objpfx)tst-nodelete2): Likewise.
11005         ($(objpfx)tst-nodelete2.out): Likewise.
11006         (LDFLAGS-tst-nodelete2): Likewise.
11007         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11008         out of loop through all loaded libraries.
11009         * elf/tst-nodelete2.c: New file.
11010         * elf/tst-nodelete2mod.c: Likewise.
11011         * elf/tst-znodelete-zlib.cc: Delete.
11013 2015-08-11  Andreas Schwab  <schwab@suse.de>
11015         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11016         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11017         (__openat64_nocancel): Likewise.
11019 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11021         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11022         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11023         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11024         * math/auto-libm-test-out: Regenerated.
11025         * sysdeps/i386/fpu/libm-test-ulps: Update.
11026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11030         [BZ #18790]
11031         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11032         threshold for returning +/- 1.
11033         * math/auto-libm-test-in: Add more tests of tanh.
11034         * math/auto-libm-test-out: Regenerated.
11035         * sysdeps/i386/fpu/libm-test-ulps: Update.
11037 2015-08-10  Andreas Schwab  <schwab@suse.de>
11039         [BZ #18781]
11040         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11041         MORE_OFLAGS to oflag.
11042         * io/test-lfs.c (do_test): Test openat64.
11044 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11046         [BZ #18789]
11047         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11048         smaller threshold for returning the argument.
11049         * math/auto-libm-test-in: Add more tests of sinh.
11050         * math/auto-libm-test-out: Regenerated.
11051         * sysdeps/i386/fpu/libm-test-ulps: Update.
11053 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11055         [BZ #18674]
11056         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11057         break.
11059 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11061         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11062         (generated): Don't add $(addprefix z.,$(tzfiles)).
11064 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11066         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11067         * scripts/sysd-rules.awk: Likewise.
11069 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11071         * iconvdata/tst-tables.sh: Change echo -n to printf.
11072         * nss/db-Makefile: Likewise.
11073         * posix/tst-getconf.sh: Likewise.
11074         * stdio-common/tst-unbputc.sh: Likewise.
11076 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11078         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11079         MADV_*_PAGES defines behind this feature check.
11081 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
11083         [BZ #18480]
11084         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11085         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11086         Define.
11087         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11088         LOAD_REGS_5, LOAD_REGS_6): Update.
11089         (INTERNAL_SYSCALL): Update using new LOAD defines.
11090         (INTERNAL_SYSCALL_NCS): Likewise.
11091         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11093 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11095         [BZ #16734]
11096         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11098 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11100         [BZ #17905]
11101         * catgets/Makefile (tst-catgets-mem): New test.
11102         * catgets/catgets.c (catopen): Don't use unbounded alloca.
11103         * catgets/open_catalog.c (__open_catalog): Likewise.
11104         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11106 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
11108         [BZ #18787]
11109         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11110         clobber registers.
11111         (atomic_compare_and_exchange_val_acq): Use register asms to assign
11112         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
11113         Cast return to __typeof (oldval).
11115 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
11117         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11118         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
11119         and delete sys/syscall.h include.
11121 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
11123         [BZ #16517]
11124         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11125         (tan): Force underflow exception for arguments with small absolute
11126         value.
11127         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11128         (__kernel_tanf): Force underflow exception for arguments with
11129         small absolute value.
11130         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
11131         (__kernel_tanl): Force underflow exception for arguments with
11132         small absolute value.
11133         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
11134         (__kernel_tanl): Force underflow exception for arguments with
11135         small absolute value.
11136         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
11137         (__kernel_tanl): Force underflow exception for arguments with
11138         small absolute value.
11139         * math/auto-libm-test-in: Add more tests of tan.
11140         * math/auto-libm-test-out: Regenerated.
11142 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11144         Fix sysdeps/i386/fpu/s_scalbn.S build
11146         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
11148 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
11150         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11152 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11154         Fix gcrt0.o compilation
11156         When static-start-installed-name is different from
11157         start-installed-name, we must not use the shared objects.
11159         * csu/Makefile
11160         (extra-objs): Add gmon-start.o when building shared library and
11161         $(static-start-installed-name) is different from
11162         $(start-installed-name).
11163         $(objpfx)g$(static-start-installed-name): When building shared
11164         library and $(static-start-installed-name) is different from
11165         $(static-start-installed-name), revert to non-shared rule,
11166         i.e. using $(objpfx)% and gmon-start.o.
11168 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
11170         [BZ #16519]
11171         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
11172         (__ieee754_sinh): Force underflow exception for arguments with
11173         small absolute value.
11174         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
11175         (__ieee754_sinhf): Force underflow exception for arguments with
11176         small absolute value.
11177         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11178         (__ieee754_sinhl): Force underflow exception for arguments with
11179         small absolute value.
11180         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
11181         (__ieee754_sinhl): Force underflow exception for arguments with
11182         small absolute value.
11183         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
11184         (__ieee754_sinhl): Force underflow exception for arguments with
11185         small absolute value.
11186         * math/auto-libm-test-in: Add more tests of sinh.
11187         * math/auto-libm-test-out: Regenerated.
11188         * sysdeps/i386/fpu/libm-test-ulps: Update.
11190 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11192         * libio/oldfileops.c: Include unistd.h.
11194 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
11196         * stdlib/isomac.c: Include ctype.h.
11198 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
11200         * dirent/tst-seekdir.c (main): Converted to ...
11201         (do_test): ... this.
11202         (TEST_FUNCTION): New macro.
11203         Include test-skeleton.c.
11204         * elf/tst-dlmodcount.c (main): Converted to ...
11205         (do_test): ... this.
11206         (TEST_FUNCTION): New macro.
11207         Include test-skeleton.c.
11208         * elf/tst-order-main.c (main): Converted to ...
11209         (do_test): ... this.
11210         (TEST_FUNCTION): New macro.
11211         Include test-skeleton.c.
11212         * elf/tst-pie2.c (main): Converted to ...
11213         (do_test): ... this.
11214         (TEST_FUNCTION): New macro.
11215         Include test-skeleton.c.
11216         * inet/tst-ether_aton.c (main): Converted to ...
11217         (do_test): ... this.
11218         (TEST_FUNCTION): New macro.
11219         Include test-skeleton.c.
11220         * misc/tst-mntent.c (main): Converted to ...
11221         (do_test): ... this.
11222         (TEST_FUNCTION): New macro.
11223         Include test-skeleton.c.
11224         * misc/tst-tsearch.c (main): Converted to ...
11225         (do_test): ... this.
11226         (TEST_FUNCTION): New macro.
11227         Include test-skeleton.c.
11228         * posix/tst-regexloc.c (main): Converted to ...
11229         (do_test): ... this.
11230         (TEST_FUNCTION): New macro.
11231         Include test-skeleton.c.
11232         * resolv/tst-aton.c (main): Converted to ...
11233         (do_test): ... this.
11234         (TEST_FUNCTION): New macro.
11235         Include test-skeleton.c.
11236         * stdio-common/test-fwrite.c (main): Converted to ...
11237         (do_test): ... this.
11238         (TEST_FUNCTION): New macro.
11239         Include test-skeleton.c.
11240         * stdio-common/tst-ferror.c (main): Converted to ...
11241         (do_test): ... this.
11242         (TEST_FUNCTION): New macro.
11243         Include test-skeleton.c.
11244         * stdio-common/tst-printf.c (main): Converted to ...
11245         (do_test): ... this.
11246         (TEST_FUNCTION): New macro.
11247         Include test-skeleton.c.
11248         * stdio-common/tst-printfsz.c (main): Converted to ...
11249         (do_test): ... this.
11250         (TEST_FUNCTION): New macro.
11251         Include test-skeleton.c.
11252         * stdlib/tst-strtod.c (main): Converted to ...
11253         (do_test): ... this.
11254         (TEST_FUNCTION): New macro.
11255         Include test-skeleton.c.
11256         * string/tst-strlen.c (main): Converted to ...
11257         (do_test): ... this.
11258         (TEST_FUNCTION): New macro.
11259         Include test-skeleton.c.
11260         * string/tst-svc.c (main): Converted to ...
11261         (do_test): ... this.
11262         (TEST_FUNCTION): New macro.
11263         Include test-skeleton.c.
11264         * time/tst-strptime.c (main): Converted to ...
11265         (do_test): ... this.
11266         (TEST_FUNCTION): New macro.
11267         Include test-skeleton.c.
11268         * timezone/tst-timezone.c (main): Converted to ...
11269         (do_test): ... this.
11270         (TEST_FUNCTION): New macro.
11271         Include test-skeleton.c.
11273 2015-08-05  Zack Weinberg  <zackw@panix.com>
11275         * misc/regexp.h: Update comments.
11277 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
11279         [BZ #18635]
11280         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
11281         before return label.
11283 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11285         [BZ #18661]
11286         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
11287         when calling __errno_location.
11288         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
11289         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
11291 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11293         [BZ #18661]
11294         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
11295         (__lll_timedwait_tid): Align stack to 16 bytes when calling
11296         __gettimeofday.
11298 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11300         [BZ #18661]
11301         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11302         (__start_context): Don't use pop to restore %rdi so that stack
11303         is aligned to 16 bytes when calling __setcontext.
11305 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11307         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
11308         only for libc.
11309         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11311 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11313         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
11314         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
11315         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
11317 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11319         * string/memccpy.c (memccpy):
11320         Improve performance by using memchr/memcpy/__mempcpy.
11322 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11324         * string/strncpy.c (strncpy):
11325         Improve performance by using __strnlen/memcpy.
11327 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11329         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11330         Optimize to avoid an unnecessary FPCR read.
11332 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11334         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11335         Optimize to reduce FPCR/FPSR accesses.
11337 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11339         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
11340         dead->data[category] != NULL.
11342 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
11344         [BZ #18647]
11345         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
11346         and |x| close to 1, use absolute value of x when computing log.
11347         * math/auto-libm-test-in: Add more tests of pow.
11348         * math/auto-libm-test-out: Regenerated.
11350 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11352         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
11353         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
11354         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
11356 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
11358         [BZ #18525]
11359         * locales/km_KH: Remove timezone definition.
11360         * locales/lo_LA: Likewise.
11361         * locales/my_MM: Likewise.
11362         * locales/nan_TW@latin: Likewise.
11363         * locales/th_TH: Likewise.
11364         * locales/uk_UA: Likewise.
11366 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11368         [BZ #18265]
11369         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
11370         (wcsncat): Likewise.
11371         (wcscmp): Likewise.
11372         (wcsncmp): Likewise.
11374 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11376         * test-skeleton.c (usage): New function.
11377         (main): Call usage when opt is '?'.
11379 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11381         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
11382         before first use.
11384 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11386         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
11387         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
11388         in there too.
11390 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
11392         * version.h (RELEASE): Set to "development".
11393         (VERSION): Set to "2.22.90"
11395         * version.h (RELEASE): Set to "stable".
11396         (VERSION): Set to "2.22"
11397         * include/features.h (__GLIBC_MINOR__): Set to 22.
11399 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
11401         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
11402         Restructure macro to avoid "value computed is not used" warning.
11403         (atomic_compare_and_exchange_val_acq): Likewise.
11405 2015-08-04  Andreas Schwab  <schwab@suse.de>
11407         [BZ #18635]
11408         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
11409         ret.
11410         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
11412 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
11414         * po/pl.po: Updated translation.
11415         * po/uk.po: Likewise.
11416         * po/fi.po: Likewise.
11417         * po/ko.po: Likewise.
11418         * po/ru.po: Likewise.
11419         * po/vi.po: Likewise.
11421 2015-07-31  Zack Weinberg  <zackw@panix.com>
11423         [BZ #18681]
11424         * regexp.h: Add unconditional #warning stating that this header
11425         will be removed soon.  Revise banner comment to match.
11426         (compile): Consistently use ERROR instead of RETURN to report
11427         errors (partial fix for bz#18681).
11428         * regexp.c: Don't include regexp.h. Remove some unnecessary
11429         declarations.
11431 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
11433         * po/libc.pot: Regenerated.
11435 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11437         [BZ #18740]
11438         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
11439         float-vlen4-arch-ext-cflags): Removed.
11440         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
11441         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
11443 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11445         [BZ #14113]
11446         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
11447         aligned to __aligned__.
11448         (pthread_cond_t, pthread_rwlock_t): Likewise.
11450 2015-07-30  Torvald Riegel  <triegel@redhat.com>
11452         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
11454 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11456         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
11457         (struct sigaction): Change sa_flags from a long to an int, and add
11458         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
11460 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11462         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
11463         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
11464         sysdeps/generic/sysdep.h include.
11465         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
11466         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
11467         sysdeps/hppa/sysdep.h.
11468         (ENTRY, PSEUDO): Undefine before defining.
11470 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11472         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
11473         from scratch to use INTERNAL_SYSCALL.
11475 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
11477         [BZ #18078]
11478         * scripts/check-localplt.awk: Support alternate relocations.
11479         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
11480         sections.
11481         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
11482         malloc entries with + REL R_386_GLOB_DAT.
11483         * sysdeps/x86_64/localplt.data: New file.
11485 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
11487         [BZ #18731]
11488         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
11489         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11490         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11492 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11494         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
11496 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11498         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
11499         directly in terms of __sync_fetch_and_add and delete (int) cast.
11501 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11503         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
11504         the -D_ASM_IA64_CURRENT_H flag.
11506 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11508         [BZ #18641]
11509         * pwd/pwd.h (putpwent): Delete __nonnull markings.
11511 2015-07-27  Andreas Schwab  <schwab@suse.de>
11513         * conform/conformtest.pl (checknamespace): Filter out string
11514         literals while tokenizing.
11516 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11518         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11519         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
11520         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11522 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11524         * nptl/tst-join7mod.c: Add #include <string.h>.
11526 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11528         * sysdeps/nios2/libm-test-ulps: Update.
11530 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11532         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
11533         Fix order of arguments to the rt_sigprocmask syscall.
11534         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
11535         Likewise.
11537 2015-07-24  Roland McGrath  <roland@hack.frob.com>
11539         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
11541 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11543         [BZ #18457]
11544         * nptl/Makefile (tests): New test case tst-join7.
11545         (modules-names): New test case module tst-join7mod.
11546         * nptl/tst-join7.c: New file.
11547         * nptl/tst-join7mod.c: New file.
11548         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
11549         all translation units in libc.so, libpthread.so and rtld.
11551 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11555 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11557         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
11558         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11559         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11560         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11561         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11562         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11563         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11567         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11568         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11569         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
11570         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11571         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
11572         implementation.
11574 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11576         [BZ #17711]
11577         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11578         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
11579         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11580         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11581         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
11582         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11584 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11586         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
11587         instead of just saying load lock in the comments.
11589 2015-07-23  Roland McGrath  <roland@hack.frob.com>
11591         * sysdeps/unix/Subdirs: Moved ...
11592         * sysdeps/posix/Subdirs: ... here.
11593         * login/pty.h (struct termios, struct winsize): Add forward decls.
11594         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
11595         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
11596         * sysdeps/arm/nacl/libc.abilist: Updated.
11597         * sysdeps/nacl/libutil.abilist: New file.
11599         * bits/signum.h: Update comments to mention 1003.1-2013 too.
11600         (SIGWINCH): New macro.
11602         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
11603         * sysdeps/arm/nacl/libc.abilist: Add it.
11605 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11607         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
11609 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11611         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11612         Swap __glibc_reserved0 and sa_flags order.
11614 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11616         [BZ #18657]
11617         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11618         are pending TLS destructor calls.
11619         * include/link.h (struct link_map): Add concurrency note for
11620         L_TLS_DTOR_COUNT.
11621         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11622         Don't touch the link map flag.  Atomically increment
11623         l_tls_dtor_count.
11624         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11625         Avoid taking the load lock and don't touch the link map flag.
11626         * stdlib/tst-tls-atexit-nodelete.c: New test case.
11627         * stdlib/Makefile (tests): Use it.
11628         * stdlib/tst-tls-atexit.c (do_test): dlopen
11629         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
11630         to allow tst-tls-atexit-nodelete test case to use it.
11632 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11634         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11635         to bits/types.h.
11636         (msgqnum_t): New typedef.
11637         (msglen_t): Likewise.
11638         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
11639         and msg_qbytes type to msglen_t.
11641 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11643         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11644         pad0 to __glibc_reserved0.
11645         (struct stat64): Likewise.
11647 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11649         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11650         Change sa_flags from a long to an int and add __glibc_reserved0 before
11651         it for padding.
11653 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11655         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11656         anonymous by deleting "siginfo" name.
11658 2015-07-21  Roland McGrath  <roland@hack.frob.com>
11660         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
11661         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
11662         rather than __nacl_irt_filename.
11663         * sysdeps/nacl/xstat.c (__xstat): Likewise.
11665         * NEWS: New item for arm-nacl port.
11666         * sysdeps/arm/nacl/libc.abilist: New file.
11667         * sysdeps/nacl/ld.abilist: New file.
11668         * sysdeps/nacl/libBrokenLocale.abilist: New file.
11669         * sysdeps/nacl/libanl.abilist: New file.
11670         * sysdeps/nacl/libcrypt.abilist: New file.
11671         * sysdeps/nacl/libdl.abilist: New file.
11672         * sysdeps/nacl/libm.abilist: New file.
11673         * sysdeps/nacl/libpthread.abilist: New file.
11674         * sysdeps/nacl/libresolv.abilist: New file.
11675         * sysdeps/nacl/librt.abilist: New file.
11677 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
11679         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
11680         __startcontext to initialize the new context.
11681         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
11682         up CFI directive to forbid further backtracing.
11684 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
11686         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
11687         reference.
11688         * charmaps/ANSI_X3.4-1968: Likewise.
11689         * charmaps/BS_4730: Likewise.
11690         * charmaps/BS_VIEWDATA: Likewise.
11691         * charmaps/CP1250: Likewise.
11692         * charmaps/CP1251: Likewise.
11693         * charmaps/CP1252: Likewise.
11694         * charmaps/CP1253: Likewise.
11695         * charmaps/CP1254: Likewise.
11696         * charmaps/CP1255: Likewise.
11697         * charmaps/CP1256: Likewise.
11698         * charmaps/CSN_369103: Likewise.
11699         * charmaps/EBCDIC-DK-NO: Likewise.
11700         * charmaps/GB_1988-80: Likewise.
11701         * charmaps/GREEK-CCITT: Likewise.
11702         * charmaps/GREEK7: Likewise.
11703         * charmaps/INIS-8: Likewise.
11704         * charmaps/ISIRI-3342: Likewise.
11705         * charmaps/ISO_2033-1983: Likewise.
11706         * charmaps/ISO_5427-EXT: Likewise.
11707         * locales/POSIX: Likewise.
11708         * locales/ar_SA: Likewise.
11709         * locales/be_BY: Likewise.
11710         * locales/be_BY@latin: Likewise.
11711         * locales/ca_ES: Likewise.
11712         * locales/cs_CZ: Likewise.
11713         * locales/da_DK: Likewise.
11714         * locales/de_BE: Likewise.
11715         * locales/de_CH: Likewise.
11716         * locales/de_LU: Likewise.
11717         * locales/en_AU: Likewise.
11718         * locales/en_BW: Likewise.
11719         * locales/en_CA: Likewise.
11720         * locales/en_DK: Likewise.
11721         * locales/en_GB: Likewise.
11722         * locales/en_IE: Likewise.
11723         * locales/en_NZ: Likewise.
11724         * locales/en_ZA: Likewise.
11725         * locales/en_ZW: Likewise.
11726         * locales/es_AR: Likewise.
11727         * locales/es_BO: Likewise.
11728         * locales/es_CL: Likewise.
11729         * locales/es_CO: Likewise.
11730         * locales/es_DO: Likewise.
11731         * locales/es_EC: Likewise.
11732         * locales/es_ES: Likewise.
11733         * locales/es_HN: Likewise.
11734         * locales/es_MX: Likewise.
11735         * locales/es_PA: Likewise.
11736         * locales/es_PE: Likewise.
11737         * locales/es_PY: Likewise.
11738         * locales/es_SV: Likewise.
11739         * locales/es_US: Likewise.
11740         * locales/es_UY: Likewise.
11741         * locales/es_VE: Likewise.
11742         * locales/et_EE: Likewise.
11743         * locales/fa_IR: Likewise.
11744         * locales/fo_FO: Likewise.
11745         * locales/fr_CA: Likewise.
11746         * locales/fr_CH: Likewise.
11747         * locales/gv_GB: Likewise.
11748         * locales/he_IL: Likewise.
11749         * locales/hr_HR: Likewise.
11750         * locales/id_ID: Likewise.
11751         * locales/is_IS: Likewise.
11752         * locales/it_CH: Likewise.
11753         * locales/iw_IL: Likewise.
11754         * locales/kl_GL: Likewise.
11755         * locales/ko_KR: Likewise.
11756         * locales/kw_GB: Likewise.
11757         * locales/lg_UG: Likewise.
11758         * locales/lt_LT: Likewise.
11759         * locales/lv_LV: Likewise.
11760         * locales/mi_NZ: Likewise.
11761         * locales/nhn_MX: Likewise.
11762         * locales/nl_BE: Likewise.
11763         * locales/pl_PL: Likewise.
11764         * locales/sk_SK: Likewise.
11765         * locales/sl_SI: Likewise.
11766         * locales/sv_FI: Likewise.
11767         * locales/tl_PH: Likewise.
11768         * locales/tr_TR: Likewise.
11769         * locales/vi_VN: Likewise.
11771 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11773         [BZ #17475]
11774         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11775         of tu_IN and bh_IN.
11777 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11779         [BZ #18694]
11780         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11781         bits/wordsize.h.
11782         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11784 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11786         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11787         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11788         (spawn_thread): New function.
11789         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11790         (do_test): ... here.  Use IS_LOADED to test for its
11791         availability.
11793 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11795         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11797 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11799         [BZ #18696]
11800         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11801         si_addr_bnd.
11802         (si_lower): New.
11803         (si_upper): Likewise.
11805 2015-07-16  David S. Miller  <davem@davemloft.net>
11807         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11809 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11811         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11812         buffer.
11813         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11814         fail output information.
11816 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11819         and strstr-ppc64..
11820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11821         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11822         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11823         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11824         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11826 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11828         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11829         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11830         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11831         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11833 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11835         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11836         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11837         rtld_hidden_proto.
11838         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11840 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11842         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11843         the test can fail.
11845         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11847         [BZ #18676]
11848         * elf/tst-nodelete-opened.c: New test case.
11849         * elf/tst-nodelete-opened-lib.c: New test case module.
11850         * elf/Makefile (tests, modules-names): Use them.
11851         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11852         early.
11854 2015-07-15  David S. Miller  <davem@davemloft.net>
11856         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11857         futex-intenal.h
11858         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11859         * sysdeps/sparc/sparc64/Makefile: Likewise.
11860         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11861         Remove space from macro define.
11862         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11864 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11866         [BZ #17475]
11867         * locale/iso-639.def: Update Bhili and Tulu language codes as
11868         per iso639-3.
11870 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11872         * elf/tst-leaks1.c (main): Converted to ...
11873         (do_test): ... this.
11874         (TEST_FUNCTION): New macro.
11875         Include test-skeleton.c.
11876         * localedata/tst-langinfo.c (main): Converted to ...
11877         (do_test): ... this.
11878         (TEST_FUNCTION): New macro.
11879         Include test-skeleton.c.
11880         * math/test-fpucw.c (main): Converted to ...
11881         (do_test): ... this.
11882         (TEST_FUNCTION): New macro.
11883         Include test-skeleton.c.
11884         * math/test-tgmath.c (main): Converted to ...
11885         (do_test): ... this.
11886         (TEST_FUNCTION): New macro.
11887         Include test-skeleton.c.
11888         * math/test-tgmath2.c (main): Converted to ...
11889         (do_test): ... this.
11890         (TEST_FUNCTION): New macro.
11891         Include test-skeleton.c.
11892         * setjmp/tst-setjmp.c (main): Converted to ...
11893         (do_test): ... this.
11894         (TEST_FUNCTION): New macro.
11895         Include test-skeleton.c.
11896         * stdio-common/tst-sscanf.c (main): Converted to ...
11897         (do_test): ... this.
11898         (TEST_FUNCTION): New macro.
11899         Include test-skeleton.c.
11900         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11901         (do_test): ... this.
11902         (TEST_FUNCTION): New macro.
11903         Include test-skeleton.c.
11905         * elf/tst-audit9.c (main): Converted to ...
11906         (do_test): ... this.
11907         (TEST_FUNCTION): New macro.
11908         Include test-skeleton.c.
11910 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11912         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11914 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11916         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11917         New variable.
11919 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11921         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11923 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11925         * sysdeps/generic/dl-fileid.h: New file.
11926         * sysdeps/posix/dl-fileid.h: New file.
11927         * sysdeps/nacl/dl-fileid.h: New file.
11928         * include/link.h: Include <dl-fileid.h>.
11929         (struct link_map): Replace l_dev and l_ino with l_file_id.
11930         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11931         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11932         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11934 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11936         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11938 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11940         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11941         Add iff $CXX is set.
11942         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11943         Likewise.
11944         (tst-nodelete-zmodiff): Likewise.
11945         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11947 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11949         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11951 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11953         * sysdeps/aarch64/fpu/math_private.h
11954         (define math_opt_barrier): Add AArch64 version.
11955         (math_force_eval): Likewise.
11957 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11959         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11961 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11963         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11964         %ld with %jd and cast to intmax_t.
11965         (do_test_length_zero): Likewise.
11967 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11969         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11971 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11973         * sysdeps/tile/libm-test-ulps: Regenerated.
11975         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11976         Comment out the whole function, not just its body.
11978 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11980         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11981         locks.
11983         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11985 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11987         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11988         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11990 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11992         * sysdeps/nptl/futex-internal.h: New file.
11993         * sysdeps/nacl/futex-internal.h: New file.
11994         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11995         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11996         error checking.
11997         (setxid_unmark_thread): Likewise.
11998         (__nptl_setxid): Likewise.
11999         (__wait_lookup_done): Likewise.
12000         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12001         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12002         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12003         * nptl/pthread_once.c (clear_once_control): Likewise.
12004         (__pthread_once_slow): Likewise.
12005         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12006         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12007         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12008         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12009         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12010         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12011         Likewise.
12012         (__pthread_rwlock_rdlock): Likewise.
12013         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12014         Likewise.
12015         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12016         Likewise.
12017         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12018         Likewise.
12019         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12020         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12021         Likewise.
12022         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12023         __ASSUME_PRIVATE_FUTEX check.
12024         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12025         Check that shared futexes are supported.
12026         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12027         wrappers with error checking.
12028         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12029         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12030         * nptl/pthread_barrierattr_setpshared.c
12031         (pthread_barrierattr_setpshared): Check that shared futexes are
12032         supported.
12033         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12034         Likewise.
12035         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12036         Likewise.
12037         * nptl/sem_init.c (futex_private_if_supported): Remove.
12038         (__new_sem_init): Adapt and check that shared futexes are supported.
12039         * nptl/sem_open.c (sem_open): Likewise.
12040         * nptl/sem_post.c (futex_wake): Remove.
12041         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12042         (do_futex_wait): Use futex wrappers with error checking.
12043         * nptl/sem_wait.c: Include lowlevellock.h.
12044         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12045         Use futex_supports_pshared.
12046         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12047         Use futex wrappers with error checking.
12048         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12049         Likewise.
12050         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12051         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12052         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12053         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12054         (futex_wake): Likewise.
12055         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12056         (do_futex_wait): Use futex wrappers with error checking.
12057         (__new_sem_wait_slow): Update EINTR handling.
12058         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12060 2015-07-09  Martin Sebor  <msebor@redhat.com>
12062         [BZ #18435]
12063         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12064         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12065         * nptl/Makefile (test-xfail-tst-once5): Define.
12067 2015-07-09  Roland McGrath  <roland@hack.frob.com>
12069         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12070         * elf/dl-minimal.c: For readability, reorder some definitions and
12071         introduce more page breaks.  Include <stdio.h>.
12072         (__libc_fatal): New function.
12074         * include/unistd.h: Add rtld_hidden_proto for _exit.
12075         * posix/_exit.c: Add rtld_hidden_def.
12076         * sysdeps/mach/hurd/_exit.c: Likewise.
12077         * sysdeps/nacl/_exit.c: Likewise.
12078         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12079         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12081 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12083         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12084         bndmov encoding with zero displacement.
12086 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12087             H.J. Lu  <hongjiu.lu@intel.com>
12089         [BZ #18134]
12090         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12091         * sysdeps/i386/configure: Regenerated.
12092         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12093         (_dl_runtime_profile): Save and restore Intel MPX return bound
12094         registers when calling _dl_call_pltexit.  Add
12095         PRESERVE_BND_REGS_PREFIX before return.
12096         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12097         (LRV_BND1_OFFSET): Likewise.
12098         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12099         lrv_bnd1.
12100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12101         typo in bndmov encoding.
12102         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12103         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
12104         branch instructions to preserve bounds.
12106 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12109         [GLIBC_2.22]: Add fmemopen.
12111 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12113         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12114         returns an error, also try to use host port from __mach_host_self for
12115         the __vm_wire call.
12116         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12118 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12120         [BZ #18400]
12121         [BZ #18648]
12122         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12123         Fix pr_uid and pr_gid members.
12124         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12125         definition to elf_greg_t.
12127 2015-07-08  Roland McGrath  <roland@hack.frob.com>
12129         [BZ #18383]
12130         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
12131         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
12132         * sysdeps/arm/configure: Regenerated.
12133         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
12134         (test-xfail-tst-tlsalign-static): Variable removed.
12136         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
12137         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12138         rather than explicit 'ln -s'.
12140         * resolv/rpc/netdb.h: New file.
12141         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
12143 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12145         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
12146         length buffers.
12147         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12148         test-skeleton.c.
12150         [BZ #6544]
12151         [BZ #11216]
12152         [BZ #12836]
12153         [BZ #13151]
12154         [BZ #13152]
12155         [BZ #14292]
12156         * include/stdio.h (fmemopen): Remove hidden prototype.
12157         (__fmemopen): Add new hidden prototype.
12158         * libio/Makefile: Add oldfmemopen object.
12159         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
12160         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
12161         compliance.
12162         * libio/oldfmemopen.c: New file: old fmemopen implementation for
12163         symbol compatibility.
12164         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
12165         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
12166         fmemopen.
12167         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
12168         on append and read mode.
12169         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
12170         fmemopen.
12171         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
12172         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
12173         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
12174         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
12175         Likewise.
12176         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12177         [GLIBC_2.22]: Likewise.
12178         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
12179         Likewise.
12180         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
12181         Likewise.
12182         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12183         [GLIBC_2.22]: Likewise.
12184         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12185         [GLIBC_2.22]: Likewise.
12186         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12187         [GLIBC_2.22]: Likewise.
12188         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12189         [GLIBC_2.22]: Likewise.
12190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12191         [GLIBC_2.22]: Likewise.
12192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12193         [GLIBC_2.22]: Likewise.
12194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12195         [GLIBC_2.22]: Likewise.
12196         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
12197         Likewise.
12198         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
12199         Likewise.
12200         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
12201         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12202         [GLIBC_2.22]: Likewise.
12203         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12204         [GLIBC_2.22]: Likewise.
12205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12206         [GLIBC_2.22]: Likewise.
12207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12208         [GLIBC_2.22]: Likewise.
12209         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
12210         Likewise.
12211         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
12212         Likewise.
12213         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
12214         Likewise.
12215         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
12216         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
12218 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12220         [BZ #18643]
12221         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
12222         IPV6_PATHMTU, and IPV6_DONTFRAG.
12224 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
12226         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
12227         and _IO_UNBUFFERED.
12228         * libio/oldfileops.c: Likewise.
12229         * libio/wfileops.c: Likewise.
12231 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12233         * nscd/selinux.c: Delete selinux/flask.h include.
12235 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12237         [BZ #18641]
12238         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
12239         (putpwent): Likewise.
12240         (getpwnam): Likewise.
12241         (getpwent_r): Likewise.
12242         (getpwuid_r): Likewise.
12243         (getpwnam_r): Likewise.
12244         (fgetpwent_r): Likewise.
12246 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12248         [BZ #18557]
12249         * inet/rcmd.c (__validuser2_sa): Check user first to
12250         short-circuit host check.
12252 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
12253             Mikhail Ilin  <m.ilin@samsung.com>
12255         [BZ #17833]
12256         * elf/Makefile (tests): Add tst-nodelete.
12257         (modules-names): Add tst-nodelete-uniquemod.
12258         (tst-nodelete-uniquemod.so-no-z-defs): New.
12259         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
12260         (tst-nodelete-zmod.so-no-z-defs): Likewise.
12261         ($(objpfx)tst-nodelete): Likewise.
12262         ($(objpfx)tst-nodelete.out): Likewise.
12263         (LDFLAGS-tst-nodelete): Likewise.
12264         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
12265         * elf/dl-close.c (_dl_close_worker): Add a parameter to
12266         implement forced object deletion.
12267         (_dl_close): Pass false to _dl_close_worker.
12268         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
12269         * elf/tst-nodelete.cc: New file.
12270         * elf/tst-nodeletelib.cc: Likewise.
12271         * elf/tst-znodeletelib.cc: Likewise.
12272         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
12274 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12276         [BZ #18508]
12277         * stdlib/Makefile ($(objpfx)tst-makecontext3):
12278         Depend on $(libdl).
12279         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
12280         is not called infinitely times.
12281         (backtrace_helper): New function.
12282         (trace_arg): New struct.
12283         (st1): Enlarge stack size.
12284         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12285         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
12286         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12287         Likewise.
12289 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12291         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12293 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12295         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
12296         Include sys/types.h instead of bits/types.h.
12297         Remove inclusion of bits/wordsize.h.
12299 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12301         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
12302         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
12303         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
12304         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
12305         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
12306         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
12308 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12310         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
12311         link-defines.sym.
12312         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
12313         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
12314         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
12315         and LR_SIZE.
12316         * sysdeps/i386/link-defines.sym: New file.
12318 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12320         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
12321         (modules-names): Add tst-auditmod3a tst-auditmod3b.
12322         ($(objpfx)tst-audit3): New rule.
12323         ($(objpfx)tst-audit3.out): Likewise.
12324         * sysdeps/i386/tst-audit3.c: New file.
12325         * sysdeps/i386/tst-audit3.h: Likewise.
12326         * sysdeps/i386/tst-auditmod3a.c: Likewise.
12327         * sysdeps/i386/tst-auditmod3b.c: Likewise.
12329 2015-07-07  Torvald Riegel  <triegel@redhat.com>
12331         [BZ #18633]
12332         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
12333         pointer in C code.
12334         (__strcat_c): Likewise.
12335         (__strcat_g): Likewise.
12337 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
12339         [BZ #18592]
12340         * misc/sbrk.c: Set errno to ENOMEM on overflow.
12342 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12344         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
12345         New function.  (__ieee754_sqrtf): New function.
12346         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
12347         New function.
12348         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
12349         New function.
12351 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12353         * sysdeps/ieee754/support.c: Remove unused file.
12355 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12357         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
12358         registers instead of d ones so the layout is kernel abi compatible.
12359         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
12360         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
12361         Likewise.
12363 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12365         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12367 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12369         [BZ #18619]
12370         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
12371         and return argument in case of subnormal argument.
12373 2015-07-01  Martin Sebor  <msebor@redhat.com>
12375         [BZ #18435]
12376         * nptl/Makefile: Add tst-once5.cc.
12377         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12378         Remove macro redefinitions.
12379         * nptl/tst-once5.cc: New test.
12381 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12383         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12385         * sysdeps/arm/libm-test-ulps: Regenerated.
12387         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12388         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12390 2015-06-30  Torvald Riegel  <triegel@redhat.com>
12392         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
12393         lll_lock_wait_private and lll_futex_wake probes.
12395         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12396         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
12397         Likewise.
12398         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
12399         atomic_spin_nop.
12400         * sysdeps/x86_64/bits/atomic.h: Likewise.
12401         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
12402         to atomic_spin_nop and move ...
12403         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12404         ... here and ...
12405         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
12406         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
12407         atomic_spin_nop instead of BUSY_WAIT_NOP.
12408         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
12409         Likewise.
12410         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
12411         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12412         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
12413         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
12414         instead of atomic_delay.
12416 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
12418         [BZ #18613]
12419         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
12420         X_ADJ not X when adjusting exponent.
12421         (__ieee754_gamma_r): Do intermediate computations in
12422         round-to-nearest then adjust overflowing and underflowing results
12423         as needed.
12424         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
12425         of X_ADJ not X when adjusting exponent.
12426         (__ieee754_gammaf_r): Do intermediate computations in
12427         round-to-nearest then adjust overflowing and underflowing results
12428         as needed.
12429         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
12430         log of X_ADJ not X when adjusting exponent.
12431         (__ieee754_gammal_r): Do intermediate computations in
12432         round-to-nearest then adjust overflowing and underflowing results
12433         as needed.  Use 1.0L not 1.0f as numerator of division.
12434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
12435         log of X_ADJ not X when adjusting exponent.
12436         (__ieee754_gammal_r): Do intermediate computations in
12437         round-to-nearest then adjust overflowing and underflowing results
12438         as needed.  Use 1.0L not 1.0f as numerator of division.
12439         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
12440         of X_ADJ not X when adjusting exponent.
12441         (__ieee754_gammal_r): Do intermediate computations in
12442         round-to-nearest then adjust overflowing and underflowing results
12443         as needed.  Use 1.0L not 1.0f as numerator of division.
12444         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
12445         to auto-libm-test-in.
12446         (tgamma_test): Use ALL_RM_TEST.
12447         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
12448         tests of tgamma with spurious-overflow.
12449         * math/auto-libm-test-out: Regenerated.
12450         * math/gen-libm-have-vector-test.sh: Do not check for START.
12451         * sysdeps/i386/fpu/libm-test-ulps: Update.
12452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12454         [BZ #18612]
12455         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
12456         arguments, just return 0.5 times the argument, with underflow
12457         forced as needed.
12458         * math/auto-libm-test-in: Add more tests of j1.
12459         * math/auto-libm-test-out: Regenerated.
12461         [BZ #16559]
12462         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
12463         (__ieee754_j1): Force underflow exception for small results.
12464         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12465         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
12466         (__ieee754_j1f): Force underflow exception for small results.
12467         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12468         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12469         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12470         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
12471         (__ieee754_j1l): Force underflow exception for small results.
12472         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12473         * math/auto-libm-test-in: Add more tests of j1 and jn.
12474         * math/auto-libm-test-out: Regenerated.
12476         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
12477         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
12478         (PF_MPLS): Likewise.
12479         (AF_IB): Likewise.
12480         (AF_MPLS): Likewise.
12481         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
12482         value and macro.
12483         (MS_RMT_MASK): Include MS_LAZYTIME.
12485 2015-06-26  Mel Gorman  <mgorman@suse.de>
12487         [BZ #18502]
12488         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
12489         already minimal.
12491 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
12493         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
12494         (DT_MIPS_NUM): Update.
12495         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
12496         DT_MIPS_RLD_MAP_REL.
12498 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
12500         [BZ #16559]
12501         [BZ #18602]
12502         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
12503         round-to-nearest internally then recompute results that
12504         underflowed to zero in the original rounding mode.
12505         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12506         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12508         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12509         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
12510         * sysdeps/i386/fpu/libm-test-ulps: Update.
12511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12513 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12515         * NEWS: Fixed description of link with vector math library.
12517 2015-06-25  Andreas Schwab  <schwab@suse.de>
12519         [BZ #18549]
12520         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
12521         * libio/test-fmemopen.c (do_test): Add test for it.
12523 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12525         [BZ #17841]
12526         * Makeconfig (no-pie-ldflag): New.
12527         (+link): Set to $(+link-pie) if default to PIE.
12528         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
12529         * config.make.in (build-pie-default): New.
12530         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
12531         is default.  AC_SUBST.
12532         * configure: Regenerated.
12533         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
12535 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12537         * nptl/descr.h (struct pthread): Change type of field setxid_futex
12538         to 'unsigned int'.
12540         * resolv/gai_misc.h (struct waitlist): Change type of field
12541         counterp to 'volatile unsigned int *'.
12542         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
12543         FUTEXADDR and OLDVAL.
12544         * resolv/getaddrinfo_a.c (getaddrinfo_a):
12545         Give local variable TOTAL type 'volatile unsigned int'.
12546         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12547         * resolv/gai_suspend.c (gai_suspend):
12548         Give local variable CNTR type 'unsigned int'.
12550         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
12551         counterp to 'volatile unsigned int *'.
12552         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
12553         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
12554         (aio_suspend): Give local variable CNTR type 'unsigned int'.
12555         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
12556         Give local variable TOTAL type 'volatile unsigned int'.
12557         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12559 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12561         [BZ #18383]
12562         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
12563         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
12564         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
12565         comment for i386/x86-64.
12566         (test-xfail-tst-tlsalign-extern-static): Removed.
12568 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12570         * math/test-double.h: New file.
12571         * math/test-float.h: Likewise.
12572         * math/test-ldouble.h: Likewise.
12573         * math/test-math-inline.h: Likewise.
12574         * math/test-math-no-inline.h: Likewise.
12575         * math/test-math-scalar.h: Likewise.
12576         * math/test-math-vector.h: Likewise.
12577         * math/test-vec-loop.h: Remove file.  Contents moved into
12578         test-math-vector.h.
12579         * math/libm-test.inc (MATHCONST): Do not document macro.
12580         * math/test-double.c: Include test-double.h, test-math-no-inline.h
12581         and test-math-scalar.h.
12582         (FUNC): Remove macro.
12583         (FUNC_TEST): Likewise.
12584         (FLOAT): Likewise.
12585         (MATHCONST): Likewise.
12586         (PRINTF_EXPR): Likewise.
12587         (PRINTF_XEXPR): Likewise.
12588         (PRINTF_NEXPR): Likewise.
12589         (TEST_DOUBLE): Likewise.
12590         (TEST_MATHVEC): Likewise.
12591         (__NO_MATH_INLINES): Likewise.
12592         * math/test-float.c: Include test-float.h, test-math-no-inline.h
12593         and test-math-scalar.h.
12594         (FUNC): Remove macro.
12595         (FUNC_TEST): Likewise.
12596         (FLOAT): Likewise.
12597         (MATHCONST): Likewise.
12598         (PRINTF_EXPR): Likewise.
12599         (PRINTF_XEXPR): Likewise.
12600         (PRINTF_NEXPR): Likewise.
12601         (TEST_FLOAT): Likewise.
12602         (TEST_MATHVEC): Likewise.
12603         (__NO_MATH_INLINES): Likewise.
12604         * math/test-idouble.c: Include test-double.h, test-math-inline.h
12605         and test-math-scalar.h.
12606         (FUNC): Remove macro.
12607         (FUNC_TEST): Likewise.
12608         (FLOAT): Likewise.
12609         (MATHCONST): Likewise.
12610         (PRINTF_EXPR): Likewise.
12611         (PRINTF_XEXPR): Likewise.
12612         (PRINTF_NEXPR): Likewise.
12613         (TEST_DOUBLE): Likewise.
12614         (TEST_MATHVEC): Likewise.
12615         (TEST_INLINE): Likewise.
12616         (__NO_MATH_INLINES): Likewise.
12617         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12618         test-math-scalar.h.
12619         (FUNC): Remove macro.
12620         (FUNC_TEST): Likewise.
12621         (FLOAT): Likewise.
12622         (MATHCONST): Likewise.
12623         (PRINTF_EXPR): Likewise.
12624         (PRINTF_XEXPR): Likewise.
12625         (PRINTF_NEXPR): Likewise.
12626         (TEST_FLOAT): Likewise.
12627         (TEST_MATHVEC): Likewise.
12628         (TEST_INLINE): Likewise.
12629         (__NO_MATH_INLINES): Likewise.
12630         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
12631         and test-math-scalar.h.
12632         (FUNC): Remove macro.
12633         (FUNC_TEST): Likewise.
12634         (FLOAT): Likewise.
12635         (MATHCONST): Likewise.
12636         (PRINTF_EXPR): Likewise.
12637         (PRINTF_XEXPR): Likewise.
12638         (PRINTF_NEXPR): Likewise.
12639         (TEST_LDOUBLE): Likewise.
12640         (TEST_MATHVEC): Likewise.
12641         (TEST_INLINE): Likewise.
12642         (__NO_MATH_INLINES): Likewise.
12643         * math/test-ldouble.c: Include test-ldouble.h,
12644         test-math-no-inline.h and test-math-scalar.h.
12645         (FUNC): Remove macro.
12646         (FUNC_TEST): Likewise.
12647         (FLOAT): Likewise.
12648         (MATHCONST): Likewise.
12649         (PRINTF_EXPR): Likewise.
12650         (PRINTF_XEXPR): Likewise.
12651         (PRINTF_NEXPR): Likewise.
12652         (TEST_LDOUBLE): Likewise.
12653         (TEST_MATHVEC): Likewise.
12654         (__NO_MATH_INLINES): Likewise.
12655         * math/test-double-vlen2.h: Include test-double.h,
12656         test-math-no-inline.h and test-math-vector.h.
12657         (FLOAT): Remove macro.
12658         (FUNC): Likewise.
12659         (MATHCONST): Likewise.
12660         (PRINTF_EXPR): Likewise.
12661         (PRINTF_XEXPR): Likewise.
12662         (PRINTF_NEXPR): Likewise.
12663         (TEST_DOUBLE): Likewise.
12664         (TEST_MATHVEC): Likewise.
12665         (__NO_MATH_INLINES): Likewise.
12666         (CNCT): Likewise.
12667         (CONCAT): Likewise.
12668         (WRAPPER_NAME): Likewise.
12669         (WRAPPER_DECL): Likewise.
12670         (WRAPPER_DECL_ff): Likewise.
12671         (WRAPPER_DECL_fFF): Likewise.
12672         (VECTOR_WRAPPER): Likewise.
12673         (VECTOR_WRAPPER_ff): Likewise.
12674         (VECTOR_WRAPPER_fFF): Likewise.
12675         (VEC_LEN): New macro.
12676         * math/test-double-vlen4.h: Include test-double.h,
12677         test-math-no-inline.h and test-math-vector.h.
12678         (FLOAT): Remove macro.
12679         (FUNC): Likewise.
12680         (MATHCONST): Likewise.
12681         (PRINTF_EXPR): Likewise.
12682         (PRINTF_XEXPR): Likewise.
12683         (PRINTF_NEXPR): Likewise.
12684         (TEST_DOUBLE): Likewise.
12685         (TEST_MATHVEC): Likewise.
12686         (__NO_MATH_INLINES): Likewise.
12687         (CNCT): Likewise.
12688         (CONCAT): Likewise.
12689         (WRAPPER_NAME): Likewise.
12690         (WRAPPER_DECL): Likewise.
12691         (WRAPPER_DECL_ff): Likewise.
12692         (WRAPPER_DECL_fFF): Likewise.
12693         (VECTOR_WRAPPER): Likewise.
12694         (VECTOR_WRAPPER_ff): Likewise.
12695         (VECTOR_WRAPPER_fFF): Likewise.
12696         (VEC_LEN): New macro.
12697         * math/test-double-vlen8.h: Include test-double.h,
12698         test-math-no-inline.h and test-math-vector.h.
12699         (FLOAT): Remove macro.
12700         (FUNC): Likewise.
12701         (MATHCONST): Likewise.
12702         (PRINTF_EXPR): Likewise.
12703         (PRINTF_XEXPR): Likewise.
12704         (PRINTF_NEXPR): Likewise.
12705         (TEST_DOUBLE): Likewise.
12706         (TEST_MATHVEC): Likewise.
12707         (__NO_MATH_INLINES): Likewise.
12708         (CNCT): Likewise.
12709         (CONCAT): Likewise.
12710         (WRAPPER_NAME): Likewise.
12711         (WRAPPER_DECL): Likewise.
12712         (WRAPPER_DECL_ff): Likewise.
12713         (WRAPPER_DECL_fFF): Likewise.
12714         (VECTOR_WRAPPER): Likewise.
12715         (VECTOR_WRAPPER_ff): Likewise.
12716         (VECTOR_WRAPPER_fFF): Likewise.
12717         (VEC_LEN): New macro.
12718         * math/test-float-vlen4.h: Include test-float.h,
12719         test-math-no-inline.h and test-math-vector.h.
12720         (FLOAT): Remove macro.
12721         (FUNC): Likewise.
12722         (MATHCONST): Likewise.
12723         (PRINTF_EXPR): Likewise.
12724         (PRINTF_XEXPR): Likewise.
12725         (PRINTF_NEXPR): Likewise.
12726         (TEST_FLOAT): Likewise.
12727         (TEST_MATHVEC): Likewise.
12728         (__NO_MATH_INLINES): Likewise.
12729         (CNCT): Likewise.
12730         (CONCAT): Likewise.
12731         (WRAPPER_NAME): Likewise.
12732         (WRAPPER_DECL): Likewise.
12733         (WRAPPER_DECL_ff): Likewise.
12734         (WRAPPER_DECL_fFF): Likewise.
12735         (VECTOR_WRAPPER): Likewise.
12736         (VECTOR_WRAPPER_ff): Likewise.
12737         (VECTOR_WRAPPER_fFF): Likewise.
12738         (VEC_LEN): New macro.
12739         * math/test-float-vlen8.h: Include test-float.h,
12740         test-math-no-inline.h and test-math-vector.h.
12741         (FLOAT): Remove macro.
12742         (FUNC): Likewise.
12743         (MATHCONST): Likewise.
12744         (PRINTF_EXPR): Likewise.
12745         (PRINTF_XEXPR): Likewise.
12746         (PRINTF_NEXPR): Likewise.
12747         (TEST_FLOAT): Likewise.
12748         (TEST_MATHVEC): Likewise.
12749         (__NO_MATH_INLINES): Likewise.
12750         (CNCT): Likewise.
12751         (CONCAT): Likewise.
12752         (WRAPPER_NAME): Likewise.
12753         (WRAPPER_DECL): Likewise.
12754         (WRAPPER_DECL_ff): Likewise.
12755         (WRAPPER_DECL_fFF): Likewise.
12756         (VECTOR_WRAPPER): Likewise.
12757         (VECTOR_WRAPPER_ff): Likewise.
12758         (VECTOR_WRAPPER_fFF): Likewise.
12759         (VEC_LEN): New macro.
12760         * math/test-float-vlen16.h: Include test-float.h,
12761         test-math-no-inline.h and test-math-vector.h.
12762         (FLOAT): Remove macro.
12763         (FUNC): Likewise.
12764         (MATHCONST): Likewise.
12765         (PRINTF_EXPR): Likewise.
12766         (PRINTF_XEXPR): Likewise.
12767         (PRINTF_NEXPR): Likewise.
12768         (TEST_FLOAT): Likewise.
12769         (TEST_MATHVEC): Likewise.
12770         (__NO_MATH_INLINES): Likewise.
12771         (CNCT): Likewise.
12772         (CONCAT): Likewise.
12773         (WRAPPER_NAME): Likewise.
12774         (WRAPPER_DECL): Likewise.
12775         (WRAPPER_DECL_ff): Likewise.
12776         (WRAPPER_DECL_fFF): Likewise.
12777         (VECTOR_WRAPPER): Likewise.
12778         (VECTOR_WRAPPER_ff): Likewise.
12779         (VECTOR_WRAPPER_fFF): Likewise.
12780         (VEC_LEN): New macro.
12781         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12782         test-vec-loop.h.
12783         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12784         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12785         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12786         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12787         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12789         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12791 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12793         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12794         (__getlogin_r): ... this.
12796 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12798         [BZ #18594]
12799         * math/s_ccosh.c (__ccosh): Compare with least normal value
12800         instead of comparing class with FP_SUBNORMAL.
12801         * math/s_ccoshf.c (__ccoshf): Likewise.
12802         * math/s_ccoshl.c (__ccoshl): Likewise.
12803         * math/s_cexp.c (__cexp): Likewise.
12804         * math/s_cexpf.c (__cexpf): Likewise.
12805         * math/s_cexpl.c (__cexpl): Likewise.
12806         * math/s_csin.c (__csin): Likewise.
12807         * math/s_csinf.c (__csinf): Likewise.
12808         * math/s_csinh.c (__csinh): Likewise.
12809         * math/s_csinhf.c (__csinhf): Likewise.
12810         * math/s_csinhl.c (__csinhl): Likewise.
12811         * math/s_csinl.c (__csinl): Likewise.
12812         * math/s_ctan.c (__ctan): Likewise.
12813         * math/s_ctanf.c (__ctanf): Likewise.
12814         * math/s_ctanh.c (__ctanh): Likewise.
12815         * math/s_ctanhf.c (__ctanhf): Likewise.
12816         * math/s_ctanhl.c (__ctanhl): Likewise.
12817         * math/s_ctanl.c (__ctanl): Likewise.
12818         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12819         csin, csinh, ctan and ctanh.
12820         * math/auto-libm-test-out: Regenerated.
12821         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12822         * sysdeps/i386/fpu/libm-test-ulps: Update.
12823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12825 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12827         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12828         return value is wrong, print the expected value too.
12830 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12832         [BZ #18585]
12833         * elf/readlib.c (is_gdb_python_file): New.
12834         (process_file): Don't issue errors on filenames with -gdb.py
12835         suffix.
12837 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12839         * math/auto-libm-test-in: Add more tests of csin and csinh.
12840         * math/auto-libm-test-out: Regenerated.
12841         * math/libm-test.inc (csin_test_data): Remove tests moved to
12842         auto-libm-test-in.
12843         (csinh_test_data): Likewise.
12845         [BZ #18593]
12846         * math/s_csin.c (__csin): Negate before rather than after possibly
12847         overflowing multiplication.
12848         * math/s_csinf.c (__csinf): Likewise.
12849         * math/s_csinh.c (__csinh): Likewise.
12850         * math/s_csinhf.c (__csinhf): Likewise.
12851         * math/s_csinhl.c (__csinhl): Likewise.
12852         * math/s_csinl.c (__csinl): Likewise.
12853         * math/auto-libm-test-in: Add some tests of csin and csinh.
12854         * math/auto-libm-test-out: Regenerated.
12855         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12856         (csinh_test_data): Likewise.
12857         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12859         [BZ #18586]
12860         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12861         underflow exception for small results.
12863 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12865         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12867         variable and included header.
12868         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12869         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12870         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12871         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12872         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12875         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12876         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12877         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12878         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12879         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12880         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12881         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12882         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12883         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12885 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12887         [BZ #16526]
12888         [BZ #16538]
12889         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12890         (__sin): Force underflow exception for arguments with small
12891         absolute value.
12892         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12893         (__kernel_sinf): Force underflow exception for arguments with
12894         small absolute value.
12895         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12896         (__kernel_sincosl): Force underflow exception for arguments with
12897         small absolute value.
12898         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12899         (__kernel_sinl): Force underflow exception for arguments with
12900         small absolute value.
12901         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12902         (__kernel_sincosl): Force underflow exception for arguments with
12903         small absolute value.
12904         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12905         (__kernel_sinl): Force underflow exception for arguments with
12906         small absolute value.
12907         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12908         (__kernel_sinl): Force underflow exception for arguments with
12909         small absolute value.
12910         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12911         (__kernel_sinf): Force underflow exception for arguments with
12912         small absolute value.
12913         * math/auto-libm-test-in: Add more tests of sin and sincos.
12914         * math/auto-libm-test-out: Regenerated.
12916         [BZ #18245]
12917         [BZ #18583]
12918         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12919         (__kernel_standard_l): Use feholdexcept and fesetenv around
12920         conversion to double instead of special-casing overflow and
12921         underflow.
12922         * math/libm-test.inc (fmod_test_data): Add more tests.
12923         (remainder_test_data): Likewise.
12924         (sqrt_test_data): Likewise.
12926 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12928         [BZ #17403]
12929         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12930         atomic_read_barrier, atomic_write_barrier): Define.
12931         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12932         atomic_read_barrier, atomic_write_barrier): Define.
12934 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12936         * math/Makefile [$(PERL) != no]
12937         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12938         dependency on libm-test.stmp below the inclusion of Rules.
12940 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12942         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12943         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12944         and included header.
12945         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12946         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12947         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12948         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12950         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12951         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12952         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12953         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12954         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12955         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12956         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12957         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12958         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12959         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12960         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12961         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12962         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12963         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12965 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12967         [BZ #18371]
12968         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12969         intermediate but not final result might underflow.
12970         * math/s_csqrtf.c (__csqrtf): Likewise.
12971         * math/s_csqrtl.c (__csqrtl): Likewise.
12972         * math/auto-libm-test-in: Add more tests of csqrt.
12973         * math/auto-libm-test-out: Regenerated.
12974         * sysdeps/i386/fpu/libm-test-ulps: Update.
12976         [BZ #18219]
12977         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12978         threshold on absolute value of exponent for which scaling is used.
12979         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12980         * math/auto-libm-test-in: Add more tests of exp2.
12981         * math/auto-libm-test-out: Regenerated.
12983 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12985         [BZ #17977]
12986         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12987         when initializing interface list, based on the bug analysis
12988         and the patch proposed by Eric Newton.
12989         * resolv/tst-res_hconf_reorder.c: New test.
12990         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12991         tst-res_hconf_reorder.
12992         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12993         and $(shared-thread-library).
12994         (tst-res_hconf_reorder-ENV): New variable.
12996         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12997         in comment.
12999 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13001         [BZ #16353]
13002         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13003         (__expm1): Force underflow exception for arguments with small
13004         absolute value.
13005         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13006         (__expm1f): Force underflow exception for arguments with small
13007         absolute value.
13008         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13009         (__expm1): Force underflow exception for arguments with small
13010         absolute value.
13011         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13012         (__expm1f): Force underflow exception for arguments with small
13013         absolute value.
13014         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13015         Check for small arguments before calling __expm1.
13016         * math/auto-libm-test-in: Do not mark underflow exceptions as
13017         possibly missing for bug 16353.
13018         * math/auto-libm-test-out: Regenerated.
13020 2015-06-22  Andreas Schwab  <schwab@suse.de>
13022         [BZ #18513]
13023         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13024         PTR queries.
13026 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
13028         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13030         * string/strcoll_l.c: Remove unused struct element idxnow.
13032 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13034         [BZ #18569]
13035         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13036         underflow and return argument in case of subnormal argument.
13037         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13038         Likewise.
13039         * math/auto-libm-test-in: Add more tests of expm1.
13040         * math/auto-libm-test-out: Regenerated.
13042         [BZ #16361]
13043         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13044         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13045         tiny results.
13046         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13047         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13048         tiny results.
13049         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13050         mark underflow exceptions as possibly missing for bug 16361.
13051         * math/auto-libm-test-out: Regenerated.
13053 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13055         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13056         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13057         Remove variable.
13058         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13059         (test-xfail-XOPEN2K8/utmpx.h/conform).
13061         * conform/conformtest.pl ($xerrors): New variable.
13062         (note_error): New function.
13063         (compiletest): New argument $xfail.  Use not_error.
13064         (runtest): Likewise.
13065         (top level): Handle xfail- lines.  Update calls to compiletest and
13066         runtest.  Handle xfail- and optional- in headers listed with
13067         allow-header.
13068         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13069         (O_EXEC): Likewise.
13070         (O_SEARCH): Likewise.
13071         * conform/data/stropts.h-data (ioctl): Likewise.
13072         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13073         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13074         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13075         (msghdr.msg_controllen): Likewise.
13076         (cmsghdr.cmsg_len): Likewise.
13077         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13078         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13079         variable.
13080         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13081         (test-xfail-XPG4/stropts.h/conform): Likewise.
13082         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13083         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13084         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13085         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13086         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13087         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13088         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13089         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13090         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13091         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13092         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13093         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13094         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13095         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13096         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13097         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13098         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13099         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13100         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13102 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13104         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13105         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13106         definitions for proper unfolding of __MATHDECL_VEC.
13108 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13110         * benchtests/bench-strcoll.c:
13111         Include string.h.
13112         (main): Remove unused variable res.
13114 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13116         * timezone/Makefile (%/UTC %/Universal):
13117         Generate test-result files for UTC and Universal.
13119 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13121         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13123 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
13125         [BZ #16350]
13126         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13127         for arguments with small absolute value.
13128         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13129         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
13130         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13131         (__asinh): Force underflow exception for arguments with small
13132         absolute value.
13133         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
13134         (__asinhf): Force underflow exception for arguments with small
13135         absolute value.
13136         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
13137         (__asinhl): Force underflow exception for arguments with small
13138         absolute value.
13139         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
13140         (__asinhl): Force underflow exception for arguments with small
13141         absolute value.
13142         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
13143         (__asinhl): Force underflow exception for arguments with small
13144         absolute value.
13145         * math/auto-libm-test-in: Do not mark underflow exceptions as
13146         possibly missing for bug 16350.
13147         * math/auto-libm-test-out: Regenerated.
13149         * include/bits/ipc.h: Remove file.
13150         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
13151         variable.
13152         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13153         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13154         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13155         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13156         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13157         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13158         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13159         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13160         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13162         * math/auto-libm-test-in: Remove spurious underflow allowance for
13163         tests of cexp.
13164         * math/auto-libm-test-out: Regenerated.
13166         [BZ #18558]
13167         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
13168         unconditional definition.
13169         (MCAST_BLOCK_SOURCE): Likewise.
13170         (MCAST_UNBLOCK_SOURCE): Likewise.
13171         (MCAST_LEAVE_GROUP): Likewise.
13172         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13173         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13174         (MCAST_MSFILTER): Likewise.
13175         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13176         Remove variable.
13177         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13178         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13179         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13180         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13181         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13183 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
13185         * NEWS: Mention addition of x86_64 vector sincosf.
13186         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
13187         * math/test-float-vlen4.h: Likewise.
13188         * math/test-float-vlen8.h: Likewise.
13189         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13190         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
13191         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13192         * sysdeps/x86_64/fpu/Versions: New versions added.
13193         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13194         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13195         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13196         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
13197         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13198         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
13199         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13200         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
13201         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13202         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
13203         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
13204         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
13205         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
13206         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
13207         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
13208         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
13209         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
13210         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13211         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13212         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13213         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13214         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13215         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13216         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13218         * NEWS: Mention addition of x86_64 vector sincos.
13219         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
13220         * math/math.h (__MATHDECL_VEC): New macro.
13221         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
13222         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
13223         declaration under condition.
13224         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
13225         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
13226         TEST_VEC_LOOP change.
13227         * math/test-double-vlen4.h: Likewise.
13228         * math/test-double-vlen8.h: Likewise.
13229         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
13230         * math/test-float-vlen4.h: Likewise.
13231         * math/test-float-vlen8.h: Likewise.
13232         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13233         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
13234         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13235         * sysdeps/x86_64/fpu/Versions: New versions added.
13236         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13237         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13238         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13239         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
13240         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
13241         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
13242         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
13243         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
13244         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
13245         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
13246         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
13247         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
13248         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
13249         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
13250         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
13251         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
13252         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
13253         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13254         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13256         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13257         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13258         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13259         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13261         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13262         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13263         redirections for powf.
13264         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13265         * sysdeps/x86_64/fpu/Versions: New versions added.
13266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13267         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13268         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13269         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
13270         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
13271         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
13272         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
13273         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
13274         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
13275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
13276         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
13277         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
13278         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
13279         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
13280         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
13281         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
13282         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
13283         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13284         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13285         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13286         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13288         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13289         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13290         * math/test-float-vlen16.h: Fixed 2 argument macro.
13291         * math/test-float-vlen4.h: Likewise.
13292         * math/test-float-vlen8.h: Likewise.
13293         * NEWS: Mention addition of x86_64 vector powf.
13295 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
13297         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13298         and redefine.
13299         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13300         and redefine.
13301         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
13302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13303         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13305         [BZ #18553]
13306         * resource/getpriority.c (getpriority): Rename to __getpriority
13307         and define as weak alias of __getpriority.
13308         * resource/setpriority.c (setpriority): Rename to __setpriority
13309         and define as weak alias of __setpriority.
13310         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
13311         __getpriority and define as weak alias of __getpriority.
13312         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
13313         __setpriority and define as weak alias of __setpriority.
13314         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
13315         strong name.
13316         (setpriority): Use __setpriority as strong name.
13317         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
13318         __getpriority and define as weak alias of __getpriority.
13319         * include/sys/resource.h (__getpriority): Declare.  Use
13320         libc_hidden_proto.
13321         (__setpriority): Likewise.
13322         (getpriority): Don't use libc_hidden_proto.
13323         (setpriority): Likewise.
13324         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
13325         getpriority.  Call __setpriority instead of setpriority.
13326         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
13327         Remove variable.
13329         [BZ #18547]
13330         * misc/getttyent.c (getttynam): Rename to __getttynam and define
13331         as weak alias of __getttynam.  Use prototype function definition.
13332         Call __setttyent, __getttyent and __endttyent instead of
13333         setttyent, getttyent and endttyent.
13334         (getttyent): Rename to __getttyent and define as weak alias of
13335         __getttyent.  Call __setttyent instead of setttyent.  Call
13336         __fgets_unlocked instead of fgets_unlocked.
13337         (setttyent): Rename to __setttyent and define as weak alias of
13338         __setttyent.
13339         (endttyent): Rename to __endttyent and define as weak alias of
13340         __endttyent.
13341         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
13342         (__setttyent): Likewise.
13343         (__endttyent): Likewise.
13344         (getttyent): Don't use libc_hidden_proto.
13345         (setttyent): Likewise.
13346         (endttyent): Likewise.
13347         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
13348         __endttyent instead of setttyent, getttyent and endttyent.
13349         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
13350         Remove variable.
13352         [BZ #18546]
13353         * socket/recv.c (__recv): Use libc_hidden_def.
13354         * socket/socket.c (__socket): Likewise.
13355         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13356         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13357         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
13358         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
13359         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
13360         libc_hidden_def.
13361         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
13362         libc_hidden_weak.
13363         * include/sys/socket.h (__socket): Do not use attribute_hidden.
13364         Use libc_hidden_proto.
13365         (__recv): Likewise.
13366         * socket/Versions (libc): Export __recv and __socket at version
13367         GLIBC_PRIVATE.
13368         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
13369         instead of recv.
13370         (init_mq_netlink): Call __socket instead of socket.
13371         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
13372         Remove variable.
13374         [BZ #18545]
13375         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
13376         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
13377         hidden_weak.
13378         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
13379         define as alias of __mq_timedsend.  Use hidden_weak.
13380         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
13381         __mq_timedsend as strong name.
13382         (mq_timedreceive): Use __mq_timedreceive as strong name.
13383         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
13384         (__mq_timedreceive): Likewise.
13385         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
13386         __mq_timedreceive instead of mq_timedreceive.
13387         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
13388         instead of mq_timedsend.
13389         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
13390         Remove variable.
13392         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
13393         hidden_def and hidden_weak instead of libc_hidden_def and
13394         libc_hidden_weak.
13395         (top level): Refer to hidden_def in comment.
13396         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
13397         macro.  Use it instead of libc_hidden_def.
13398         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
13399         specify __GI_* name explicitly.
13400         (mq_timedreceive): Likewise.
13401         (mq_setattr): Likewise.
13403         [BZ #18544]
13404         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
13405         __pthread_barrier_init and define as weak alias of
13406         __pthread_barrier_init.
13407         * sysdeps/sparc/nptl/pthread_barrier_init.c
13408         (pthread_barrier_init): Likewise.
13409         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
13410         __pthread_barrier_wait and define as weak alias of
13411         __pthread_barrier_wait.
13412         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13413         (pthread_barrier_wait): Likewise.
13414         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13415         (pthread_barrier_wait): Likewise.
13416         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
13417         (pthread_barrier_wait): Likewise.
13418         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
13419         (pthread_barrier_wait): Likewise.
13420         * nptl/Versions (libpthread): Export __pthread_barrier_init and
13421         __pthread_barrier_wait at version GLIBC_PRIVATE.
13422         * include/pthread.h (__pthread_barrier_init): Declare.
13423         (__pthread_barrier_wait): Likewise.
13424         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
13425         Call __pthread_barrier_wait instead of pthread_barrier_wait.
13426         (helper_thread): Likewise.
13427         (init_mq_netlink): Call __pthread_barrier_init instead of
13428         pthread_barrier_init.
13430         [BZ #18542]
13431         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
13432         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
13433         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
13434         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
13435         vswscanf.
13436         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
13437         Remove variable.
13439         [BZ #18540]
13440         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
13441         strong alias of _IO_fflush.  Use libc_hidden_def.
13442         * libio/iofflush_u.c (fflush_unlocked): Rename to
13443         __fflush_unlocked and define as weak alias of __fflush_unlocked.
13444         Use libc_hidden_weak.
13445         * include/stdio.h (__fflush_unlocked): Declare.  Use
13446         libc_hidden_proto.
13447         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
13448         fflush_unlocked.
13449         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
13450         Remove variable.
13452         [BZ #18539]
13453         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
13454         define as weak alias of __addseverity.
13455         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
13456         Remove variable.
13457         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13458         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13459         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13461         [BZ #18536]
13462         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
13463         (__tfind): Likewise.
13464         (__tdelete): Likewise.
13465         (__twalk): Likewise.
13466         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
13467         __twalk to GLIBC_PRIVATE.
13468         * include/search.h (__tsearch): Use libc_hidden_proto.
13469         (__tfind): Likewise.
13470         (__tdelete): Likewise.
13471         (__twalk): Likewise.
13472         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
13473         Call __tdelete instead of tdelete.
13474         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
13475         tfind.  Call __tsearch instead of tsearch.
13476         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
13477         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
13478         Remove variable.
13479         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13481         [BZ #18534]
13482         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
13483         (dprintf): Define as a weak alias of __dprintf, not a strong
13484         alias.
13485         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
13486         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
13487         dprintf.
13488         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
13489         Remove variable.
13490         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13491         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13493         [BZ #18533]
13494         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
13495         not a strong alias.
13496         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
13497         Remove variable.
13499         [BZ #18532]
13500         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
13501         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
13502         (in6addr_loopback): Rename to __in6addr_loopback and define as
13503         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
13504         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
13505         libc_hidden_proto.
13506         (__in6addr_any): Likewise.
13507         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
13508         in6addr_any.
13509         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
13510         variable.
13511         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13513 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13515         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
13516         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
13517         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13518         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13519         redirections for pow.
13520         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13521         * sysdeps/x86_64/fpu/Versions: New versions added.
13522         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13523         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13524         build of SSE, AVX2 and AVX512 IFUNC versions.
13525         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
13526         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
13527         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
13528         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
13529         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
13530         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
13531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
13532         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
13533         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
13534         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
13535         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
13536         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
13537         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
13538         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
13539         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13541         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13542         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13543         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13544         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13545         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13546         * NEWS: Mention addition of x86_64 vector pow.
13548         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13549         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13550         redirections for expf.
13551         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13552         * sysdeps/x86_64/fpu/Versions: New versions added.
13553         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13554         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13555         build of SSE, AVX2 and AVX512 IFUNC versions.
13556         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
13557         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
13558         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
13559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
13560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
13561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
13562         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
13563         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
13564         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
13565         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
13566         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
13567         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
13568         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
13569         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13570         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13571         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13572         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13573         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13574         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13575         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13576         * NEWS: Mention addition of x86_64 vector expf.
13578         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
13579         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
13580         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13581         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13582         redirections for exp.
13583         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13584         * sysdeps/x86_64/fpu/Versions: New versions added.
13585         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13586         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13587         build of SSE, AVX2 and AVX512 IFUNC versions.
13588         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
13589         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
13590         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
13591         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
13592         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
13593         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
13594         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
13595         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
13596         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
13597         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
13598         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
13599         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
13600         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
13601         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13603         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13604         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13605         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13606         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13607         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13608         * NEWS: Mention addition of x86_64 vector exp.
13610         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13611         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13612         redirections for logf.
13613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13614         * sysdeps/x86_64/fpu/Versions: New versions added.
13615         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13616         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13617         build of SSE, AVX2 and AVX512 IFUNC versions.
13618         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13619         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13620         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13621         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13622         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13623         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13624         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13625         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13626         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13627         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13628         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13629         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13630         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13631         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13632         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13633         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13634         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13635         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13636         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13637         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13638         * NEWS: Mention addition of x86_64 vector logf.
13640         * bits/libm-simd-decl-stubs.h: Added stubs for log.
13641         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13642         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13643         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13644         redirections for log.
13645         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13646         * sysdeps/x86_64/fpu/Versions: New versions added.
13647         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13648         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13649         build of SSE, AVX2 and AVX512 IFUNC versions.
13650         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
13651         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13652         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13653         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13654         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13655         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13656         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13657         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13658         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13659         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13660         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
13661         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
13662         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
13663         test.
13664         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13665         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13666         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13667         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13668         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13669         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13670         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13671         * NEWS: Mention addition of x86_64 vector log.
13673 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13675         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
13676         cfi_adjust_cfa_offset argument.
13677         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
13678         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
13680         [BZ #18034]
13681         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
13682         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
13683         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
13684         ordering using ldar.
13685         (_dl_tlsdesc_dynamic): Likewise.
13686         (_dl_tlsdesc_return_lazy): Likewise.
13687         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
13688         relaxed atomics instead of volatile and synchronize with release store.
13689         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
13690         volatile.
13691         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13693 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
13695         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13696         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
13697         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13698         * sysdeps/x86_64/fpu/Versions: New versions added.
13699         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13700         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13701         build of SSE, AVX2 and AVX512 IFUNC versions.
13702         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13703         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13704         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13705         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13706         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13707         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13708         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13709         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13710         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13711         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13712         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13713         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13714         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13715         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13716         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13717         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13718         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13719         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13720         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13721         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13722         * NEWS: Mention addition of x86_64 vector sinf.
13724 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
13726         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13727         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13728         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13729         Remove variable.
13730         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13731         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13733 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13735         [BZ #18530]
13736         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13737         strong alias of _IO_fputs.  Use libc_hidden_def.
13738         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13739         and define as weak alias of __fputs_unlocked.  Use
13740         libc_hidden_weak.
13741         * include/stdio.h (__fputs_unlocked): Declare.  Use
13742         libc_hidden_proto.
13743         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13744         fputs_unlocked.
13746         [BZ #18529]
13747         * resolv/netdb.h [__USE_POSIX]: Change condition to
13748         [__USE_XOPEN2K].
13749         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13750         not expect.
13751         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13752         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13753         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13754         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13755         [XPG4 || UNIX98] (AI_ALL): Likewise.
13756         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13757         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13758         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13759         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13760         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13761         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13762         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13763         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13764         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13765         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13766         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13767         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13768         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13769         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13770         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13771         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13772         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13773         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13774         [XPG4 || UNIX98] (gai_strerror): Likewise.
13775         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13776         [XPG4 || UNIX98] (getnameinfo): Likewise.
13778         [BZ #18528]
13779         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13780         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13781         __USE_XOPEN2K8].
13782         (getgrent): Likewise.
13783         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13784         expect.
13785         [XPG3 || POSIX2008] (endgrent): Likewise.
13786         [XPG3] (setgrent): Likewise.
13787         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13788         variable.
13789         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13791         [BZ #18527]
13792         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13793         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13794         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13795         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13796         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13797         * include/unistd.h (__getlogin_r): Declare.  Use
13798         libc_hidden_proto.
13799         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13800         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13801         variable.
13802         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13803         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13804         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13806 2015-06-12  Martin Sebor  <msebor@redhat.com>
13808         [BZ #18512]
13809         * Makerules (check-install-supported): New target.
13810         (install): Add check-install-supported as a dependency.
13811         * manual/install.texi (Installing the C Library): Document
13812         that overriding prefix and exec_prefix is not supported.
13813         Mention DESTDIR.
13814         * INSTALL: Regenerate from the above.
13816 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13818         [BZ #18519]
13819         * posix/Versions (libc): Export __libc_pread at version
13820         GLIBC_PRIVATE.
13821         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13822         instead of pread.
13823         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13824         variable.
13826         [BZ #18522]
13827         * misc/efgcvt_r.c
13828         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13829         (cvt_symbol): Use weak_alias instead of strong_alias.
13830         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13831         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13832         Remove variable.
13833         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13834         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13836         [BZ #18520]
13837         * inet/herrno.c (h_errno): Rename to __h_errno.
13838         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13839         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13840         to __h_errno instead of h_errno.
13841         * nptl/herrno.c (h_errno): Rename to __h_errno.
13842         (__h_errno_location): Refer to __h_errno not h_errno.
13843         * resolv/Versions (h_errno): Rename to __h_errno.
13844         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13845         Remove variable.
13846         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13848 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13850         * configure.ac: More strict check for AVX512 assembler support.
13851         * configure: Regenerated.
13853         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13854         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13855         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13856         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13857         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13858         * sysdeps/x86_64/fpu/Versions: New versions added.
13859         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13860         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13861         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13862         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13863         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13864         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13865         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13866         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13867         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13868         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13869         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13870         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13871         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13872         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13873         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13874         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13875         test.
13876         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13877         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13878         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13879         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13880         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13881         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13882         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13883         * NEWS: Mention addition of x86_64 vector sin.
13885 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13887         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13888         comment.
13890 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13892         [BZ #18479]
13893         * nptl/pt-interp.c: New file.
13894         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13895         Add pt-interp.
13896         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13897         $(common-objpfx)runtime-linker.h.
13899 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13901         * Makeconfig (+interp): Remove unused variable.
13902         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13903         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13904         $(elf-objpfx)runtime-linker.h.
13905         ($(elf-objpfx)runtime-linker.h): Rename to
13906         $(common-objpfx)runtime-linker.h and move ...
13907         * Makerules [$(build-shared) = yes]: ... here.
13908         * elf/interp.c: Include <runtime-linker.h> instead of
13909         <elf/runtime-linker.h>.
13911 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13913         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13914         (__gettimeofday_syscall): Remove vsyscall fallback.
13915         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13916         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13917         Add syscall fallback function.
13918         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13919         if vDSO is not present.
13920         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13921         fallback function.
13922         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13923         present.
13924         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13925         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13927 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13929         [BZ #18497]
13930         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13931         of wcscmp.
13932         (wcscmp): Define as weak alias of WCSCMP.
13933         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13934         wcscoll.
13935         (USE_HIDDEN_DEF): Define.
13936         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13937         __wcscoll.  Don't use libc_hidden_weak.
13938         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13939         wcscmp.
13940         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13941         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13942         __GI_wcscmp.
13943         (weak_alias): Undefine and redefine.
13944         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13945         __wcscmp and define as weak alias of __wcscmp.
13946         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13947         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13948         (__wcscoll): Likewise.
13949         (wcscmp): Don't use libc_hidden_proto.
13950         (wcscoll): Likewise.
13951         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13952         wcscoll.
13953         * posix/regexec.c (check_node_accept_bytes): Likewise.
13954         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13955         variable.
13956         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13957         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13959         [BZ #18507]
13960         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13961         __fstatvfs and define as weak alias of __fstatvfs.  Use
13962         libc_hidden_weak.
13963         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13964         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13965         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13966         Define as alias of __fstatvfs, not fstatvfs.
13967         (fstatvfs64): Likewise.
13968         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13969         Define as alias of __statvfs, not statvfs.
13970         (statvfs64): Likewise.
13971         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13972         Remove variable.
13974 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13977         (HAVE_GETCPU_VSYSCALL): Define.
13978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13979         (HAVE_GETCPU_VSYSCALL): Likewise.
13980         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13981         * sysdeps/unix/sysv/linux/sched_getcpu.c
13982         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13983         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13984         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13985         prototype.
13986         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13987         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13988         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13990         Define.
13991         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13992         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13993         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13994         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13996 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13998         * sysdeps/x86_64/fpu/Makefile: New file.
13999         * sysdeps/x86_64/fpu/Versions: New file.
14000         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14001         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14002         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14003         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14004         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14005         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14006         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14007         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14008         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14009         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14010         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14011         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14013         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14014         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14015         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14016         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14017         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14018         * sysdeps/x86_64/configure: Regenerated.
14019         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14020         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14021         * manual/install.texi (Configuring and compiling): Document
14022         --disable-mathvec.
14023         * INSTALL: Regenerated.
14024         * NEWS: Mention addition of libmvec and x86_64 vector cos.
14026         * math/Makefile: Added rules for vector tests.
14027         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14028         declaration under condition.
14029         * math/test-double-vlen2.h: New file.
14030         * math/test-double-vlen4.h: New file.
14031         * math/test-double-vlen8.h: New file.
14032         * math/test-vec-loop.h: Added initialization macro.
14033         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14034         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14035         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14036         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14037         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14038         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14039         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14040         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14041         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14042         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14043         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14045         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14046         * sysdeps/x86_64/fpu/Versions: New versions added.
14047         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14048         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14049         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14050         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14051         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14052         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14053         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14054         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14055         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14056         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14057         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14058         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14059         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14060         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14061         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14062         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14063         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14064         * NEWS: Mention addition of x86_64 vector cosf.
14066         * math/Makefile: Added CFLAGS for new tests.
14067         * math/test-float-vlen16.h: New file.
14068         * math/test-float-vlen4.h: New file.
14069         * math/test-float-vlen8.h: New file.
14070         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14071         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14072         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14073         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14074         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14075         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14076         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14077         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14078         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14079         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14080         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14082 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
14084         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14085         * locale/programs/ld-ctype.c: Likewise.
14087 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
14089         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14090         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14091         bit_ZMM16_31_state): New macro.
14092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14093         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14095 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
14097         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14099 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
14101         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14103 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
14105         [BZ #18498]
14106         * libio/memstream.c (open_memstream): Rename to __open_memstream
14107         and define as weak alias of __open_memstream.
14108         * include/stdio.h (__open_memstream): Declare.  Use
14109         libc_hidden_proto.
14110         (open_memstream): Don't use libc_hidden_proto.
14111         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14112         open_memstream.
14113         * posix/getopt.c (_getopt_internal_r): Likewise.
14114         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14115         variable.
14116         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14117         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14118         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14120         [BZ #18496]
14121         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14122         instead of wcrtomb.
14124         [BZ #18483]
14125         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14126         [__USE_XOPEN2K8].  Remove redundant #endif.
14127         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14128         Remove redundant #if.
14129         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
14130         Remove variable.
14131         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14132         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14134         [BZ #18495]
14135         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
14136         (__iswlower): Likewise.
14137         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
14138         (__iswlower): Likewise.
14139         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
14140         instead of towlower.
14141         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
14142         instead of iswlower.  Call __towupper instead of towupper.
14143         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
14144         instead of iswalnum.
14146 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14148         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
14149         errors to stderr.
14151 2015-06-05  Florian Weimer  <fweimer@redhat.com>
14153         [BZ #15661]
14154         [BZ #17322]
14155         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14156         Check for overflow properly.  Check for O_APPEND.  Ignore large
14157         file system block sizes.  Add comments about problems.
14158         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
14159         * manual/filesys.texi (Storage Allocation): New node.
14161 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14163         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
14164         cancellable syscalls.
14165         (SYS_ify): Add guard to no redefine it.
14166         (INLINE_SYSCALL): Likewise.
14167         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
14168         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
14169         SYSCALL_CANCEL instead.
14170         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
14171         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14172         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14173         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14174         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14175         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
14176         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
14177         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
14178         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14179         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14180         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
14181         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
14182         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
14183         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
14184         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
14185         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14186         Likewise.
14187         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14188         (__libc_pread64): Likewise.
14189         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
14190         (__libc_preadv): Likewise.
14191         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
14192         (__libc_readv64): Likewise.
14193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14194         (__libc_pwrite): Likewise.
14195         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14196         (__libc_pwrite64): Likewise.
14197         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
14198         (__libc_pwritev): Likewise.
14199         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
14200         (__libc_pwritev64): Likewise.
14201         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
14202         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14203         (sync_file_range): Likewise.
14204         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
14205         Likewise.
14206         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
14207         Likewise.
14208         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14209         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14210         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14211         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14212         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14213         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14214         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14215         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
14216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14217         Likewise.
14218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14219         (__libc_read64): Likewise.
14220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
14221         Likewise.
14222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
14223         Likewise.
14224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
14225         Likewise.
14226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
14227         Likewise.
14228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14229         (__libc_pread64): Likewise.
14230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
14231         Likewise.
14232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14233         (__libc_pwrite64): Likewise.
14234         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
14235         (sync_file_range): Likewise.
14236         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
14237         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14238         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14239         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
14240         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
14241         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14242         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14243         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
14244         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
14245         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14246         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14247         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14248         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14249         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14250         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
14251         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14252         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14253         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14254         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14255         Likewise.
14256         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
14257         Likewise.
14258         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
14259         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
14260         Likewise.
14261         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
14262         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
14263         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
14264         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
14265         Likewise.
14266         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
14267         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
14268         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
14269         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
14270         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
14272 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
14274         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
14275         Include dl-vdso.
14276         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
14277         Use VDSO routines for gettimeofday, clock_gettime if
14278         available.
14279         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
14280         Declare VDSO symbols.
14281         * sysdeps/unix/sysv/linux/arm/sysdep.h:
14282         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
14283         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14284         * sysdeps/unix/sysv/linux/arm/Versions: Add
14285         __vdso_clock_gettime.
14287 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14289         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
14290         be an inline implementation regardless of library is built within.
14291         (open_not_cancel_2): Likewise.
14292         (__read_nocancel): Likewise.
14293         (__write_nocancel): Likewise.
14294         (openat_not_cancel): Likewise.
14295         (openat_not_cancel_3): Likewise.
14296         (openat64_not_cancel): Likewise.
14297         (openat64_not_cancel_3): Likewise.
14298         (__close_nocancel): Likewise.
14299         (pause_not_cancel): Likewise.
14300         (nanosleep_not_cancel): Likewise.
14301         (sigsuspend_not_cancel): Likewise.
14303 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14305         [BZ #14958]
14306         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
14307         wake-up.
14308         (__pthread_rwlock_rdlock_slow): Likewise.
14309         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14310         Likewise.
14311         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14312         Likewise.
14313         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
14314         * nptl/tst-rwlock16.c: New file.
14315         * nptl/Makefile (tests): Add new test.
14317 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14319         [BZ #18324]
14320         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
14321         missing wake-up of readers.
14322         * nptl/tst-rwlock15.c: New file.
14323         * nptl/Makefile (tests): Add new test.
14325 2015-06-03  Roland McGrath  <roland@hack.frob.com>
14327         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
14328         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
14329         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
14330         and __nacl_supply_interface_rtld.
14331         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
14332         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
14333         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
14334         Add __nacl_supply_interface_rtld.
14335         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
14337 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14339         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
14340         isfinite.
14341         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14342         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
14344 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14346         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
14347         __signbit* with standard C99 macros.
14348         * math/e_exp10l.c: Likewise.
14349         * math/e_exp2l.c: Likewise.
14350         * math/e_scalb.c: Likewise.
14351         * math/e_scalbf.c: Likewise.
14352         * math/e_scalbl.c: Likewise.
14353         * math/s_ldexp.c: Likewise.
14354         * math/s_ldexpf.c: Likewise.
14355         * math/s_ldexpl.c: Likewise.
14356         * math/w_atan2.c: Likewise.
14357         * math/w_atan2f.c: Likewise.
14358         * math/w_atan2l.c: Likewise.
14359         * math/w_cosh.c: Likewise.
14360         * math/w_coshf.c: Likewise.
14361         * math/w_coshl.c: Likewise.
14362         * math/w_exp10.c: Likewise.
14363         * math/w_exp10f.c: Likewise.
14364         * math/w_exp10l.c: Likewise.
14365         * math/w_exp2.c: Likewise.
14366         * math/w_exp2f.c: Likewise.
14367         * math/w_exp2l.c: Likewise.
14368         * math/w_fmod.c: Likewise.
14369         * math/w_fmodf.c: Likewise.
14370         * math/w_fmodl.c: Likewise.
14371         * math/w_hypot.c: Likewise.
14372         * math/w_hypotf.c: Likewise.
14373         * math/w_hypotl.c: Likewise.
14374         * math/w_jnl.c: Likewise.
14375         * math/w_lgamma.c: Likewise.
14376         * math/w_lgamma_r.c: Likewise.
14377         * math/w_lgammaf.c: Likewise.
14378         * math/w_lgammaf_r.c: Likewise.
14379         * math/w_lgammal.c: Likewise.
14380         * math/w_lgammal_r.c: Likewise.
14381         * math/w_pow.c: Likewise.
14382         * math/w_powf.c: Likewise.
14383         * math/w_powl.c: Likewise.
14384         * math/w_remainder.c: Likewise.
14385         * math/w_remainderf.c: Likewise.
14386         * math/w_remainderl.c: Likewise.
14387         * math/w_scalb.c: Likewise.
14388         * math/w_scalbf.c: Likewise.
14389         * math/w_scalbl.c: Likewise.
14390         * math/w_scalbln.c: Likewise.
14391         * math/w_scalblnf.c: Likewise.
14392         * math/w_scalblnl.c: Likewise.
14393         * math/w_sinh.c: Likewise.
14394         * math/w_sinhf.c: Likewise.
14395         * math/w_sinhl.c: Likewise.
14396         * math/w_tgamma.c: Likewise.
14397         * math/w_tgammaf.c: Likewise.
14398         * math/w_tgammal.c: Likewise.
14399         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14400         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
14401         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14402         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14403         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14404         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14405         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14406         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14407         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14408         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14409         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14410         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14411         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14412         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14413         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14414         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14415         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14416         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14417         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14418         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14419         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14420         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14422         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14423         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14424         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14425         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
14426         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14427         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14428         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14429         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
14430         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
14431         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
14432         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
14433         * stdio-common/printf_fp.c: Likewise.
14434         * stdio-common/printf_fphex.c: Likewise.
14435         * stdio-common/printf_size.c: Likewise.
14437 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
14439         [BZ #18470]
14440         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
14441         strnlen.
14442         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
14443         Remove variable.
14444         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14445         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14446         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14447         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14448         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14449         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14450         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14451         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14452         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14453         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14455         [BZ #18468]
14456         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
14457         weak alias of __wmemchr.  Use libc_hidden_weak.
14458         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
14459         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
14460         instead of wmemchr.
14462 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14464         [BZ #18383]
14465         * elf/tst-tlsalign-extern.c: New file.
14466         * elf/tst-tlsalign-extern-static.c: New file.
14467         * elf/tst-tlsalign-vars.c: New file.
14468         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
14469         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
14470         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
14471         ($(objpfx)tst-tlsalign-extern-static): Likewise.
14472         (test-xfail-tst-tlsalign-extern-static): New variable.
14474 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
14476         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
14477         Use variable name _sc_err instead of err.
14478         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
14479         instead of ret.
14480         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
14481         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
14482         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
14483         (INLINE_SYSCALL): Likewise.
14485         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
14486         * include/string.h (__strnlen): Use libc_hidden_proto.
14487         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
14488         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
14489         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
14490         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
14491         (libc_hidden_def): Undefine and redefine.
14492         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
14493         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
14494         __GI_strnlen.
14495         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
14496         libc_hidden_def.
14497         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
14499         [BZ #18469]
14500         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
14501         weak alias of __towlower.  Use libc_hidden_weak.
14502         (towupper): Rename to __towupper and define as weak alias of
14503         __towupper.  Use libc_hidden_weak.
14504         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
14505         (__towupper): Likewise.
14506         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
14507         __towlower instead of towlower.
14509 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14511         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
14512         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
14514 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14516         * sysdeps/aarch64/libm-test-ulps: Update.
14518 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14520         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
14521         Define.
14522         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14524         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14525         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14526         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
14527         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
14528         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
14530 2015-06-01  Martin Sebor  <msebor@redhat.com>
14532         [BZ #18116]
14533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14534         (__setcontext): Use extended four-operand version of mtsf whenever
14535         possible.
14536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14537         (__novec_swapcontext): Likewise.
14539 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14541         * benchtests/scripts/compare_bench.py: New file.
14542         * benchtests/scripts/import_bench.py (mean): New function.
14543         (split_list): Likewise.
14544         (do_for_all_timings): Likewise.
14545         (compress_timings): Likewise.
14547         * benchtests/scripts/import_bench.py: New file.
14548         * benchtests/scripts/validate_benchout.py: Import import_bench
14549         instead of jsonschema.
14550         (validate_bench): Remove function.
14551         (main): Use import_bench.
14553 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
14555         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
14556         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
14558 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14562 2015-05-28  Roland McGrath  <roland@hack.frob.com>
14564         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
14565         set THREAD_SELF->tid to a magic value and futex-wake it.
14566         Pass its address to the thread_exit system call.
14567         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
14568         bit is clear.
14569         * sysdeps/nacl/lowlevellock.h: New file.
14570         * sysdeps/nacl/lll_timedwait_tid.c: New file.
14572         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
14573         Add TIMEOUT to current time, don't subtract it.
14575 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
14577         [BZ #2981]
14578         [BZ #18422]
14579         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
14580         ($(objpfx)tst-audit2.out): Also depend on
14581         $(objpfx)tst-auditmod9b.so.
14582         * elf/tst-audit2.c: Include <dlfcn.h>.
14583         (calloc_called): New.
14584         (calloc): Allow to be called more than once.
14585         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
14587 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
14589         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
14590         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
14592 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
14594         * stdlib/monetary.h: Fix comment.
14596 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
14598         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
14599         Avoid using variables in #defines that might cause shadowing.
14600         (INTERNAL_VSYSCALL_CALL): Likewise.
14602 2015-05-26  Roland McGrath  <roland@hack.frob.com>
14604         * sysdeps/nacl/lll_timedlock_wait.c: New file.
14606         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
14607         * nptl/lll_timedlock_wait.c: ... to this new file.
14608         * nptl/Makefile (libpthread-routines): Add it.
14609         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
14610         * nptl/lll_timedwait_tid.c: ... to this new file.
14611         * nptl/Makefile (libpthread-routines): Add it.
14612         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
14613         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
14614         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
14615         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
14616         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
14617         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14618         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14619         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14620         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14621         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14623 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14625         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14626         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14627         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14628         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14629         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14630         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14631         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14632         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14633         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14634         * sysdeps/unix/sysv/linux/tile/sysdep.h
14635         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14636         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14637         using vDSO syscall macro.
14639 2015-05-26  Andriy Rysin  <arysin@gmail.com>
14641         [BZ #17293]
14642         * uk_UA: Fix sorting order for Ukrainian locale
14644 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
14646         * stdlib/monetary.h: Fix comment.
14648 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14650         [BZ #18234]
14651         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14652         st_mtim and st_ctim members.
14653         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14654         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14655         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14656         (struct stat64): Likewise.
14657         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14658         (struct stat64): Likewise.
14659         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14660         (struct stat64): Likewise.
14662 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14664         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
14665         Define and include sysdep-vdso.h.
14666         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
14667         Likewise.
14668         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
14669         Likewise.
14670         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
14671         Define with VDSO_SYMBOL and use PTR_MANGLE.
14672         (__vdso_clock_gettime): Likewise.
14673         (__vdso_clock_getres): Likewise.
14674         (_libc_vdso_platform_setup): Likewise.
14675         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14676         Likewise.
14677         (_libc_vdso_platform_setup): Likewise.
14678         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
14679         Likewise.
14680         (__vdso_clock_gettime): Likewise.
14681         (__vdso_clock_getres): Likewise.
14682         (__vdso_get_tbfreq): Likewise.
14683         (__vdso_getcpu): Likewise.
14684         (__vdso_time): Likewise.
14685         (__vdso_sigtramp_rt64): Likewise.
14686         (__vdso_signtramp32): Likewise.
14687         (__vdso_sigtramp_rt32): Likewise.
14688         (_libc_vdso_platform_setup): Likewise.
14689         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
14690         Likewise.
14691         (__vdso_clock_gettime): Likewise.
14692         (__vdso_clock_getres): Likewise.
14693         (_libc_vdso_platform_setup): Likewise.
14694         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
14695         Likewise.
14696         (__vdso_clock_gettime): Likewise.
14697         (_libc_vdso_platform_setup): Likewise.
14698         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14699         Likewise.
14700         (__vdso_getcpu): Likewise.
14701         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
14702         Use VDSO_SYMBOL macro to define.
14703         (__vdso_clock_gettime): Likewise.
14704         (__vdso_clock_getres): Likewise.
14705         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14706         Likewise.
14707         (__vdso_clock_gettime): Likewise.
14708         (__vdso_clock_getres): Likewise.
14709         (__vdso_get_tbfreq): Likewise.
14710         (__vdso_getcpu): Likewise.
14711         (__vdso_time): Likewise.
14712         (__vdso_sigtramp_rt64): Likewise.
14713         (__vdso_signtramp32): Likewise.
14714         (__vdso_sigtramp_rt32): Likewise.
14715         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14716         Likewise.
14717         (__vdso_clock_gettime): Likewise.
14718         (__vdso_clock_getres): Likewise.
14719         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14720         Likewise.
14721         (__vdso_clock_gettime): Likewise.
14722         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14723         Likewise.
14724         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
14725         macro.
14726         (INTERNAL_VSYSCALL): Likewise.
14727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14728         Remove macro.
14729         (INTERNAL_VSYSCALL): Likewise.
14730         (INTERNAL_VSYSCALL_NCS): Likewise.
14731         (INTERNAL_VSYSCALL_CALL): New macro.
14732         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14733         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14734         Likewise.
14735         (INTERNAL_VSYSCALL): Likewise.
14736         (INTERNAL_VSYSCALL_NCS): Likewise.
14737         (INTERNAL_VSYSCALL_CALL): New macro.
14738         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14740         (INLINE_VSYSCALL): Remove macro.
14741         (INTERNAL_VSYSCALL): Remove macro.
14742         (INTERNAL_VSYSCALL_NCS): Remove macro.
14743         (INTERNAL_VSYSCALL_CALL): New macro.
14744         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14745         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14746         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14747         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14748         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14750         (INLINE_VSYSCALL): Remove macro.
14751         (INTERNAL_VSYSCALL): Likewise.
14752         (INTERNAL_VSYSCALL_NCS): Likewise.
14753         (INTERNAL_VSYSCALL_CALL): New macro.
14754         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14755         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14756         PTR_DEMANGLE on vDSO pointer.
14757         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14758         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14759         macro.
14760         (INTERNAL_SYSCALL): Likewise.
14761         (INTERNAL_VSYSCALL_NCS): Remove macro.
14762         (INTERNAL_VSYSCALL_CALL): New macro.
14763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14764         Remove macro.
14765         (INTERNAL_VSYSCALL): Likewise.
14766         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14767         sysdep-vdso.h instead of libc-vdso.h.
14768         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14769         definition.
14770         (INLINE_VSYSCALL): Likewise.
14771         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14772         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14773         definition.
14774         (INLINE_VSYSCALL): Likewise.
14775         (INTERNAL_VSYSCALL): Likewise.
14776         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14777         * sysdeps/unix/sysv/linux/timespec_get.c
14778         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14779         (timespec_get): Use ANSI prototype.
14780         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14781         and definition for Linux.
14783 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14785         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14786         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14788 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14790         [BZ #2981]
14791         [BZ #18410]
14792         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14793         for missing DT_PLTRELSZ.
14795 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14797         Remove obsolete aliases that broke 'locale -a'
14798         [BZ #18412]
14799         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14800         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14801         breaking some applications that use 'locale -a' output.
14802         Change the encoding of this file from Latin-1 to ASCII to avoid
14803         other potential problems with people grepping this file.
14805 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14807         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14808         -fasynchronous-unwind-tables.
14809         (CFLAGS-sendto.c): Likewise.
14810         (CFLAGS-sendmsg.c): Likewise.
14811         (CFLAGS-connect.c): Likewise.
14812         (CFLAGS-recvmsg.c): Likewise.
14813         (CFLAGS-recvfrom.c): Likewise.
14814         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14815         (SOCKETCALL): New macro: non-cancellable socketcall.
14816         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14817         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14818         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14819         * sysdeps/unix/sysv/linux/accept.c: New file.
14820         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14821         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14822         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14823         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14824         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14825         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14826         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14827         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14828         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14829         * sysdeps/unix/sysv/linux/send.c: Likewise.
14830         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14831         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14832         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14833         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14834         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14835         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14836         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14837         prototype.
14838         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14839         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14840         instead of __internal_xxx function.
14841         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14842         prototype.
14843         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14844         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14845         instead of __internal_xxx function.
14846         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14847         prototype.
14848         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14849         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14850         instead of __internal_xxx function.
14851         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14852         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14853         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14854         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14855         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14856         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14857         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14858         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14859         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14860         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14861         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14862         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14863         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14864         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14865         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14866         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14867         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14868         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14869         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14870         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14873         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14874         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14875         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14876         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14877         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14878         * sysdeps/unix/sysv/linux/send.S: Likewise.
14879         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14880         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14881         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14882         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14883         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14884         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14885         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14886         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14887         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14888         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14889         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14890         socketcall is implemented in GLIBC.
14892 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14894         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14895         (__fma): Ignore uninitialized warnings around packing.
14896         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14897         (__fmaf): Ignore uninitialized warnings around packing.
14898         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14899         (__fmal): Ignore uninitialized warnings around packing.
14901         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14902         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14903         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14904         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14906         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14907         switch statement into default case.
14908         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14910         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14911         a conditional in forcing "inexact".
14912         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14913         Likewise.
14915 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14917         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14918         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14919         for each INTERNAL_SYSCALL use.
14921 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14923         [BZ #438]
14924         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14925         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14926         variable.
14928         [BZ #18444]
14929         * string/basename.c (basename): Rename to __basename and define as
14930         weak alias of __basename.  Use libc_hidden_weak.
14931         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14932         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14933         __basename instead of basename.
14934         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14935         Remove variable.
14936         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14938 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14940         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14941         (_IO_JUMPS_FILE_plus): New.
14942         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14943         _IO_CAST_FIELD_ACCESS.
14944         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14945         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14946         * libio/freopen.c (freopen): Likewise.
14947         * libio/freopen64.c (freopen64): Likewise.
14948         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14949         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14950         * libio/iofwide.c (_IO_fwide): Likewise.
14951         * libio/memstream.c (open_memstream): Likewise.
14952         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14953         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14954         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14956 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14958         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14959         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14960         NADJ.
14961         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14962         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14963         NADJ.
14964         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14965         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14966         NADJ.
14968         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14969         (p == 4) case.
14971         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14972         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14973         Remove variable.
14974         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14975         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14976         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14978 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14980         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14981         Adjust jump table label generation macros.
14983 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14985         * stdio-common/vfprintf.c (vfprintf): Move local variables
14986         args_malloced, specs, specs_malloced, and the code after
14987         do_positional to the printf_positional function.
14988         (printf_positional): New function.
14990 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14992         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14993         function.
14994         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14995         STEP4_TABLE, process_arg): Move macro definitions
14996         out of the vfprintf function.  (Cosmetic change only.)
14998 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15000         * benchtests/Makefile (stdio-common-bench): Define.
15001         (benchset): Add stdio-common-bench.
15002         * sprintf-inputs: New file.
15003         * sprintf-source.c: New file.
15005 2015-05-21  Andreas Schwab  <schwab@suse.de>
15007         [BZ #13028]
15008         [BZ #17053]
15009         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15010         of struct __res_state.
15011         * resolv/res_send.c (__libc_res_nsend): Likewise.
15012         (get_nsaddr): New function.
15013         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15014         statp directly.
15016 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15018         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15019         -D_POSIX_C_SOURCE=199506L.
15021         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15023         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15024         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15025         Do not mention otherwise.
15026         [POSIX] (_XOPEN_VERSION): Do not expect.
15027         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15028         [POSIX] (_POSIX2_C_BIND): Likewise.
15029         [POSIX] (_POSIX2_VERSION): Likewise.
15030         [POSIX] (_XOPEN_XPG2): Likewise.
15031         [POSIX] (_XOPEN_XPG3): Likewise.
15032         [POSIX] (_XOPEN_XPG4): Likewise.
15033         [POSIX] (_XOPEN_UNIX): Likewise.
15034         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15035         [POSIX] (_POSIX_BARRIERS): Likewise.
15036         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15037         [POSIX] (_POSIX_CPUTIME): Likewise.
15038         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15039         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15040         [POSIX] (_POSIX_SHELL): Likewise.
15041         [POSIX] (_POSIX_SPAWN): Likewise.
15042         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15043         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15044         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15045         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15046         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15047         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15048         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15049         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15050         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15051         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15052         [POSIX] (_POSIX2_PBS): Likewise.
15053         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15054         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15055         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15056         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15057         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15058         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15059         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15060         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15061         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15062         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15063         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15064         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15065         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15066         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15067         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15068         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15069         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15070         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15071         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15072         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15073         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15074         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15075         [POSIX] (_SC_2_C_BIND): Likewise.
15076         [POSIX] (_SC_2_C_VERSION): Likewise.
15077         [POSIX] (_SC_2_PBS): Likewise.
15078         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15079         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15080         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15081         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15082         [POSIX] (_SC_2_PBS_TRACK): Likewise.
15083         [POSIX] (_SC_ATEXIT_MAX): Likewise.
15084         [POSIX] (_SC_BARRIERS): Likewise.
15085         [POSIX] (_SC_BASE): Likewise.
15086         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15087         [POSIX] (_SC_DEVICE_IO): Likewise.
15088         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15089         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15090         [POSIX] (_SC_FD_MGMT): Likewise.
15091         [POSIX] (_SC_FIFO): Likewise.
15092         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15093         [POSIX] (_SC_FILE_LOCKING): Likewise.
15094         [POSIX] (_SC_FILE_SYSTEM): Likewise.
15095         [POSIX] (_SC_IOV_MAX): Likewise.
15096         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15097         [POSIX] (_SC_NETWORKING): Likewise.
15098         [POSIX] (_SC_PAGE_SIZE): Likewise.
15099         [POSIX] (_SC_PASS_MAX): Likewise.
15100         [POSIX] (_SC_PIPE): Likewise.
15101         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15102         [POSIX] (_SC_REGEXP): Likewise.
15103         [POSIX] (_SC_SHELL): Likewise.
15104         [POSIX] (_SC_SIGNALS): Likewise.
15105         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15106         [POSIX] (_SC_SPIN_LOCKS): Likewise.
15107         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15108         [POSIX] (_SC_USER_GROUPS): Likewise.
15109         [POSIX] (_SC_USER_GROUPS_R): Likewise.
15110         [POSIX] (_SC_STREAMS): Likewise.
15111         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15112         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15113         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15114         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15115         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15116         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15117         [POSIX] (_PC_FILESIZEBITS): Likewise.
15118         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15119         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15120         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15121         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15122         [POSIX] (uid_t): Likewise.
15123         [POSIX] (gid_t): Likewise.
15124         [POSIX] (off_t): Likewise.
15125         [POSIX] (pid_t): Likewise.
15126         [POSIX] (cuserid): Allow.
15127         (_SC_2_CHAR_TERM): Require constant.
15128         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15129         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
15130         variable.
15132 2015-05-20  Roland McGrath  <roland@hack.frob.com>
15134         * sysdeps/nacl/pthread-pids.h: New file.
15135         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
15136         (create_thread): Use __nacl_get_tid to initialize PD->tid.
15138         * nptl/pthread-pids.h: New file.
15139         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
15140         * nptl/nptl-init.c: Include <pthread-pids.h>.
15141         (__pthread_initialize_minimal_internal):
15142         Call __pthread_initialize_pids instead of set_tid_address syscall.
15144         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
15145         * sysdeps/posix/usleep.c: ... here.
15147 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15149         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
15150         call_pselect6 object.
15151         [$(subdir) = io]: Remove call_sync_file_range object.
15152         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
15153         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
15154         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
15155         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
15157 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
15159         * math/s_cproj.c: Add include "math_private.h".
15160         * math/s_cprojf.c: Likewise.
15161         * math/s_cprojl.c: Likewise.
15163 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
15165         [BZ #18244]
15166         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
15167         high mantissa bit when testing whether P is a NaN.
15168         * math/libm-test.inc (remainder_test_data): Add more tests.
15169         (remquo_test_data): Likewise.
15171         [BZ #18049]
15172         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
15173         below -32, return the argument, with underflow if subnormal.
15174         * math/auto-libm-test-in: Add more tests of atanh.
15175         * math/auto-libm-test-out: Regenerated.
15177 2015-05-19  Roland McGrath  <roland@hack.frob.com>
15179         [BZ #18434]
15180         * nptl/tst-sem15.c: New file.
15181         * nptl/Makefile (tests): Add it.
15182         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15183         s/<</>>/ to fix typo in EOVERFLOW check.
15184         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
15186 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15188         * manual/strings.texi (envz_remove): Fix typo in safety
15189         annotations.
15191 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
15192             Steve Ellcey  <sellcey@imgtec.com>
15194         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
15195         in order to avoid strict alias warnings.
15196         (iruserok_af): Ditto for ra.
15198 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
15200         [BZ #17581]
15201         * malloc/hooks.c
15202         (magicbyte): Convert to a function and avoid returning 0x01.
15203         (mem2mem_check): Avoid using a length byte equal to the magic byte.
15204         (mem2chunk_check): Fix unsigned comparisons to zero.
15205         Hoist defs of sz and magic.
15207 2015-05-19  Richard Henderson  <rth@redhat.com>
15209         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
15211         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15213 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15215         [BZ #16159]
15216         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
15217         * malloc/arena.c (arena_lock): Check if arena is corrupt.
15218         (reused_arena): Find a non-corrupt arena.
15219         (heap_trim): Pass arena to unlink.
15220         * malloc/hooks.c (malloc_check_get_size): Pass arena to
15221         malloc_printerr.
15222         (top_check): Likewise.
15223         (free_check): Likewise.
15224         (realloc_check): Likewise.
15225         * malloc/malloc.c (malloc_printerr): Add arena argument.
15226         (unlink): Likewise.
15227         (munmap_chunk): Adjust.
15228         (ARENA_CORRUPTION_BIT): New macro.
15229         (arena_is_corrupt): Likewise.
15230         (set_arena_corrupt): Likewise.
15231         (sysmalloc): Use mmap if there are no usable arenas.
15232         (_int_malloc): Likewise.
15233         (__libc_malloc): Don't fail if arena_get returns NULL.
15234         (_mid_memalign): Likewise.
15235         (__libc_calloc): Likewise.
15236         (__libc_realloc): Adjust for additional argument to
15237         malloc_printerr.
15238         (_int_free): Likewise.
15239         (malloc_consolidate): Likewise.
15240         (_int_realloc): Likewise.
15241         (_int_memalign): Don't touch corrupt arenas.
15242         * malloc/tst-malloc-backtrace.c: New test case.
15244         * Makefile (summarize-tests): Fix return value on success.
15246         * manual/string.texi (Envz Functions): Add envz_remove.
15248 2015-05-18  Roland McGrath  <roland@hack.frob.com>
15250         * sysdeps/posix/opendir.c: Include <stdbool.h>.
15251         (invalid_name): New function, broken out of ...
15252         (__opendirat): ... here.  Call it.
15253         (need_isdir_precheck): New function, broken out of ...
15254         (__opendirat): ... here.  Call it.
15255         Use __fxstatat64, not __xstatat64.
15256         (opendir_oflags): New function, broken out of ...
15257         (__opendirat): ... here.  Call it.
15258         (opendir_tail): New function, broken out of ...
15259         (__opendirat): ... here.  Call it.
15260         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
15261         opendir_tail, rather than punting to __opendirat.
15262         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
15264 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15266         * .gitignore: Ignore generated *.pyc.
15268 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
15270         * include/stdio.h: Define __need_wint_t.
15271         * test-skeleton.c: Avoid `for' loop initial declaration.
15272         * nptl/tst-initializers1.c: Use test-skeleton.c.
15274 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15276         [BZ #18418]
15277         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
15279 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15281         [BZ #16352]
15282         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
15283         (__ieee754_atanh): Force underflow exception for results with
15284         small absolute value.
15285         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
15286         (__ieee754_atanhf): Force underflow exception for results with
15287         small absolute value.
15288         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
15289         (__ieee754_atanh): Force underflow exception for results with
15290         small absolute value.
15291         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
15292         (__ieee754_atanhf): Force underflow exception for results with
15293         small absolute value.
15294         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
15295         (__ieee754_atanhl): Force underflow exception for results with
15296         small absolute value.
15297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
15298         (__ieee754_atanhl): Force underflow exception for results with
15299         small absolute value.
15300         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
15301         (__ieee754_atanhl): Force underflow exception for results with
15302         small absolute value.
15303         * math/auto-libm-test-in: Do not allow missing underflow
15304         exceptions from atanh.
15305         * math/auto-libm-test-out: Regenerated.
15307         [BZ #18221]
15308         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
15309         2**-28 as threshold for returning x or +/- 1/x.
15310         * math/auto-libm-test-in: Add more tests of tan.
15311         * math/auto-libm-test-out: Regenerated.
15313         [BZ #18220]
15314         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15315         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
15316         * math/auto-libm-test-in: Add another test of lgamma.
15317         * math/auto-libm-test-out: Regenerated.
15319 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
15321         * stdio-common/printf_fp.c (___printf_fp): Use abs.
15322         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
15323         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
15324         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
15325         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
15326         (ADD2A): Use fabs.  (SUB2A): Use fabs.
15327         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
15328         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
15329         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
15330         (log1): Use fabs.  (my_log2): Use fabs.
15331         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
15332         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
15333         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
15334         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
15335         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
15336         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
15337         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
15338         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
15339         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
15340         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
15341         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
15343 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15345         [BZ #18217]
15346         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
15347         as threshold for returning 1 - x.
15348         * math/auto-libm-test-in: Add more tests of erfc.
15349         * math/auto-libm-test-out: Regenerated.
15351 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
15353         [BZ #18196]
15354         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
15355         threshold for large arguments.
15356         * math/auto-libm-test-in: Add another test of atan.
15357         * math/auto-libm-test-out: Regenerated.
15359         [BZ #16339]
15360         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
15361         (__log1p): Force underflow exception for results with small
15362         absolute value.
15363         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
15364         (__log1pf): Force underflow exception for results with small
15365         absolute value.
15366         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
15367         (__log1p): Force underflow exception for results with small
15368         absolute value.
15369         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
15370         (__log1pf): Force underflow exception for results with small
15371         absolute value.
15372         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
15373         (__log1pl): Force underflow exception for results with small
15374         absolute value.
15375         * math/auto-libm-test-in: Do not allow missing underflow
15376         exceptions from log1p.
15377         * math/auto-libm-test-out: Regenerated.
15379 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
15380             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15382         [BZ #16704]
15383         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
15385 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
15387         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
15388         (libmvec): New variable.
15389         * configure.ac: Added option for mathvec build.
15390         * configure: Regenerated.
15391         * mathvec/Depend: New file.
15392         * mathvec/Makefile: New file.
15393         * shlib-versions: Added libmvec.
15394         * math/Makefile: Added rule for libm.so installation.
15396         * bits/math-vector.h: New file.
15397         * bits/libm-simd-decl-stubs.h: New header.
15398         * math/Makefile (headers): Added new header
15399         libm-simd-decl-stubs.h.
15400         * math/math.h (__MATHCALL_VEC): New macro.
15402         * math/gen-libm-have-vector-test.sh: Script generates series of macros
15403         for conditions in testing functions.
15404         * math/Makefile: Added call of libm-have-vector-test.sh.
15405         * math/libm-test.inc (HAVE_VECTOR): New macros.
15407         * math/libm-test.inc: START refactored.
15408         * math/test-double.c (TEST_MATHVEC): Add define.
15409         * math/test-float.c: Likewise.
15410         * math/test-idouble.c: Likewise.
15411         * math/test-ifloat.c: Likewise.
15412         * math/test-ildoubl.c: Likewise.
15413         * math/test-ldouble.c: Likewise.
15414         * sysdeps/generic/math-tests-arch.h
15415         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
15416         architecture check.
15418         * math/test-double.c (FUNC_TEST): New macro.
15419         * math/test-float.c: Likewise.
15420         * math/test-idouble.c: Likewise.
15421         * math/test-ifloat.c: Likewise.
15422         * math/test-ildoubl.c: Likewise.
15423         * math/test-ldouble.c: Likewise.
15424         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
15426 2015-05-13  Roland McGrath  <roland@hack.frob.com>
15428         * sysdeps/nacl/fdopendir.c: New file.
15430         * dirent/scandir-tail.c: New file.
15431         * dirent/scandir64-tail.c: New file.
15432         * dirent/Makefile (routines): Add them.
15433         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
15434         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
15435         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
15436         [!SCANDIR] (SCANDIR_TAIL): New macro.
15437         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
15438         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
15439         (SCANDIRAT): Macro removed.
15440         (SCANDIR_TAIL): New macro.
15441         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
15442         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
15443         (SCANDIRAT): Just call __opendirat and __scandir_tail.
15444         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
15445         (READDIR): Macro removed.
15446         (SCANDIR_TAIL): New macro.
15447         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
15448         (SCANDIR_TAIL): New macro.
15450         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
15451         * dirent/scandir-cancel.c: ... to this new file.
15452         * dirent/Makefile (routines): Add it.
15453         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
15454         * sysdeps/unix/sysv/linux/i386/scandir64.c
15455         (SKIP_SCANDIR_CANCEL): Macro removed.
15456         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
15458         * dirent/tst-scandir.c: New file.
15459         * dirent/tst-scandir64.c: New file.
15460         * dirent/Makefile (tests): Add them.
15462 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15464         [BZ #18409]
15465         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
15467 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15469         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
15470         list.
15472 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
15474         * benchtests/bench-strcoll.c: New benchmark.
15475         * benchtests/Makefile: Generate locales and run benchmark.
15476         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
15477         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15478         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
15479         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
15480         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
15481         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
15482         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
15483         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
15484         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
15485         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
15486         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
15487         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
15488         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
15489         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
15490         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
15491         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
15492         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
15493         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
15494         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
15495         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
15496         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
15497         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
15498         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
15499         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
15501 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
15503         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
15504         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15506 2015-05-12  Roland McGrath  <roland@hack.frob.com>
15508         * posix/uname-values.h: New file.
15509         * posix/uname.c: Include that instead of <config-name.h>.
15510         * sysdeps/nacl/uname-values.h: New file.
15511         * sysdeps/arm/nacl/uname-values.h: New file.
15513 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
15515         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
15516         splitting into fields.
15518 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
15520         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
15521         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
15522         * locale/localeinfo.h: Add enum collation_encoding_type.
15523         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
15524         * programs/ld-collate.c (collate_output): Add encoding type info.
15525         * string/strcoll_l.c (STRDIFF): New function.
15526         * (STRCOLL): Use STRDIFF to skip over equal prefix.
15527         * wcsmbs/wcscoll_l.c: Define STRDIFF.
15529 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
15531         [BZ #18397]
15532         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
15533         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
15534         <fpu_control.h> instead of <math/fpu_control.c>.
15535         * sysdeps/mips/mips32/fpu/Makefile: New file.
15537 2015-05-11  Andreas Schwab  <schwab@suse.de>
15539         [BZ #18007]
15540         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
15541         nss_endgrent.
15542         (_nss_compat_endgrent): Call nss_endgrent.
15543         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
15544         nss_endpwent.
15545         (_nss_compat_endpwent): Call nss_endpwent.
15546         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
15547         needent, call nss_setspent only if non-zero.
15548         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
15549         (internal_endspent): Don't call nss_endspent.
15550         (_nss_compat_endspent): Call nss_endspent.
15551         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
15552         Remove.  All uses removed.
15553         (internal_setent): Remove parameter stayopen, add parameter
15554         stream.  Use it instead of global variable.
15555         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
15556         (internal_endent, internal_getent): Add parameter stream.  Use it
15557         instead of global variable.
15558         (CONCAT(_nss_files_end,ENTNAME))
15559         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
15560         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
15561         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
15562         uses removed.
15563         (internal_setent, internal_endent): Add parameter stream.  Use it
15564         instead of global variable.
15565         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
15566         stream.
15567         (get_next_alias): Add parameter stream.
15568         (_nss_files_getaliasent_r): Pass global stream.
15569         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
15570         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
15571         (_nss_files_gethostbyname4_r): Pass local stream to
15572         internal_setent, internal_getent and internal_endent.  Remove
15573         locking.
15575 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15577         * tst-strfmon1.c (tests): Update expected currency symbol.
15579 2015-05-08  Roland McGrath  <roland@hack.frob.com>
15581         * sysdeps/nacl/gethostname.c: New file.
15583 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
15585         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
15586         and sinh.
15587         * math/auto-libm-test-out: Regenerated.
15588         * sysdeps/i386/fpu/libm-test-ulps: Update.
15589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15591 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
15593         [BZ #18125]
15594         * stdlib/tst-setcontext3.c: New file.
15595         * stdlib/tst-setcontext3.sh: New file.
15596         * stdlib/Makefile (tests): Add tst-setcontext3.
15597         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
15598         to verify test program created output file.
15599         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
15600         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
15601         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
15602         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
15604 2015-05-06  Roland McGrath  <roland@hack.frob.com>
15606         [BZ #18383]
15607         * elf/tst-tlsalign.c: New file.
15608         * elf/tst-tlsalign-static.c: New file.
15609         * elf/tst-tlsalign-lib.c: New file.
15610         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
15611         (tests-static): Add tst-tlsalign-static.
15612         (modules-names): Add tst-tlsalign-lib.
15613         (test-xfail-tst-tlsalign): New variable.
15614         (test-xfail-tst-tlsalign-static): New variable.
15616         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
15617         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15619 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
15621         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15622         csqrt, erfc, sin and sincos.
15623         * math/auto-libm-test-out: Regenerated.
15624         * sysdeps/i386/fpu/libm-test-ulps: Update.
15625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15627 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15629         * sysdeps/aarch64/libm-test-ulps: Update.
15631 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
15633         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15634         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15635         * math/auto-libm-test-out: Regenerated.
15636         * sysdeps/i386/fpu/libm-test-ulps: Update.
15637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15639 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15641         [BZ #18265]
15642         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15643         (wcsncpy): Likewise.
15645 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15647         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15648         Assume __ASSUME_FALLOCATE is always true.
15649         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15650         (__posix_fallocate64_l64): Likweise.
15651         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15652         (posix_fallocate): Likewise.
15653         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15654         (__posix_fallocate64_l64): Likewise.
15655         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15656         [!__ASSUME_FALLOCATE]: Add comment.
15658 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15660         * sysdeps/unix/sysv/linux/i386/Makefile
15661         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
15662         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
15663         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
15664         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15665         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15666         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
15667         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
15669 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
15671         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
15672         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
15673         tgamma.
15674         * math/auto-libm-test-out: Regenerated.
15675         * sysdeps/i386/fpu/libm-test-ulps: Update.
15676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15678 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15680         * math/auto-libm-test-in: Add more tests of tgamma.
15681         * math/auto-libm-test-out: Regenerated.
15682         * sysdeps/i386/fpu/libm-test-ulps: Update.
15683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15685         * math/auto-libm-test-in: Add more tests of tanh.
15686         * math/auto-libm-test-out: Regenerated.
15687         * sysdeps/i386/fpu/libm-test-ulps: Update.
15688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15690         * math/auto-libm-test-in: Add more tests of tan.
15691         * math/auto-libm-test-out: Regenerated.
15692         * sysdeps/i386/fpu/libm-test-ulps: Update.
15693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15695         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
15696         * math/auto-libm-test-out: Regenerated.
15697         * sysdeps/i386/fpu/libm-test-ulps: Update.
15698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15700         * math/auto-libm-test-in: Add another test of pow.
15701         * math/auto-libm-test-out: Regenerated.
15702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15704         * math/auto-libm-test-in: Add more tests of lgamma.
15705         * math/auto-libm-test-out: Regenerated.
15706         * sysdeps/i386/fpu/libm-test-ulps: Update.
15707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15709         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15710         log1p.
15711         * math/auto-libm-test-out: Regenerated.
15712         * sysdeps/i386/fpu/libm-test-ulps: Update.
15713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15715 2015-05-01  Mark Wielaard  <mjw@redhat.com>
15717         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15718         Elf64_Chdr structs and ELFCOMPRESS constants.
15720 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15722         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15723         expm1.
15724         * math/auto-libm-test-out: Regenerated.
15725         * sysdeps/i386/fpu/libm-test-ulps: Update.
15726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15728         * math/auto-libm-test-in: Add more tests of erf and erfc.
15729         * math/auto-libm-test-out: Regenerated.
15730         * sysdeps/i386/fpu/libm-test-ulps: Update.
15731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15733 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15735         * config.h.in (HAVE_AARCH64_BE): Add.
15737 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
15739         * math/auto-libm-test-in: Add more tests of csqrt.
15740         * math/auto-libm-test-out: Regenerated.
15741         * sysdeps/i386/fpu/libm-test-ulps: Update.
15742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15744         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15745         * math/auto-libm-test-out: Regenerated.
15746         * sysdeps/i386/fpu/libm-test-ulps: Update.
15747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15749         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15751 2015-04-29  Roland McGrath  <roland@hack.frob.com>
15753         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15754         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15756         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15757         (euidaccess, eaccess): Define as weak aliases.
15759         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15760         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15761         but __suseconds_t is often 'long int' so some sources assume that
15762         type is being used (e.g. they use %ld to print tv_usec).
15764 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15766         [BZ #18007]
15767         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15768         (CVE-2014-8121)
15769         * nss/tst-nss-getpwent.c: New file.
15770         * nss/Makefile (tests): Add new test.
15772 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15774         [BZ #18346]
15775         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15776         exponents less than 48 as cases where high part of mantissa needs
15777         examining to determine whether argument is integral.
15778         * math/libm-test.inc (round_test_data): Add more tests.
15780 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15782         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15784 2015-04-27  David S. Miller  <davem@davemloft.net>
15786         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15787         __tls_get_addr.
15788         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15790 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15792         [BZ#18333]
15793         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15795 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15797         [BZ#18333]
15798         * time/tzset.c (parse_tzname): Return error on memory allocation
15799         failure.
15800         * test-skeleton.c (struct temp_name_list): Change type of name
15801         member to non-const.
15802         (add_temp_file): Create a copy of the file name.
15803         (delete_temp_files): Deallocate memory.
15804         (create_temp_file): Add comment.
15806 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15808         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15809         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15811 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15813         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15814         * sysdeps/arm/configure: Regenerated.
15816 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15818         [BZ #17715]
15819         * time/tzfile.c (__tzfile_read): Check for large values of
15820         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15821         * time/tzset.c (__tzstring_len): New function, based on the old
15822         __tzstring function.
15823         (__tzstring): Call __tzstring_len.
15824         (parse_tzname): New helper function extracted from
15825         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15826         the input string.
15827         (parse_offset): New helper function extracted from
15828         __tzset_parse_tz.  Replace switch with fallthrough with
15829         initialization before sscanf.
15830         (parse_rule): Likewise.
15831         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15832         new-style function definition.
15833         * timezone/Makefile (tests): Add tst-tzset.
15834         (tst-tzset.out): Dependencies on time zone files.
15835         (tst-tzset-ENV): Set TZDIR.
15836         (testdata/XT%): Copy crafted time zone files.
15837         * timezone/README: Mention crafted time zone files.
15838         * timezone/testdata/XT1, timezone/testdata/XT2,
15839         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15840         files.
15841         * timezone/tst-tzset.c: New test.
15843 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15845         * Makeconfig (+gccwarn): Remove -Winline.
15847 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15849         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15851 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15853         * NEWS: Mention sysconf() cache information support for s390.
15854         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15856 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15858         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15859         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15860         (__nearbyint): Likewise.
15861         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15862         (copysignl): Likewise.
15864 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15866         [BZ #18287]
15867         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15868         based on padding.  (CVE-2015-1781)
15870 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15872         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15873         libc-vdso.h.
15874         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15875         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15876         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15877         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15878         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15879         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15880         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15881         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15882         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15883         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15884         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15885         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15886         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15887         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15888         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15889         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15890         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15891         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15892         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15893         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15894         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15895         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15896         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15898 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15900         * stdlib/setenv.c (__add_to_environ):
15901         Dump core quickly if setenv (..., NULL, ...) is called.
15902         This time, do it the right way, and pacify GCC with a pragma.
15904 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15906         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15907         IMAP->l_prev cannot be null, and #if out the code for the contrary
15908         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15909         believe that NS (&_dl_ns[NSID]) could point outside the array.
15911         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15912         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15913         before using NSID as an index.
15915 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15917         [BZ #17825]
15918         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15919         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15920         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15922 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15924         Add preliminary port to Google Native Client on ARM.
15925         * abi-tags (.*-.*-nacl.*): New entry.
15926         * sysdeps/arm/nacl: New directory.
15927         * sysdeps/nacl: New directory.
15929 2015-04-16  David S. Miller  <davem@davemloft.net>
15931         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15932         lowlevellock-futex.h
15934 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15936         * sysdeps/tile/configure.ac: New file.
15937         * sysdeps/tile/configure: Regenerated.
15939 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15941         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15942         conditionals for weak_alias and libc_hidden_weak.
15943         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15944         libc_hidden_weak and weak_alias.
15945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15946         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15947         and weak_alias for static one.
15949 2015-04-15  David S. Miller  <davem@davemloft.net>
15951         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15953 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15955         [BZ #18206]
15956         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15957           Use signed comparision instead of substraction to avoid
15958           overflow bug.
15959         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15960           Take the sign of ret.
15961         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15962           Do not expect precise return values. Only the sign matters.
15963         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15964         * wcsmbs/test-wcsncmp.c: New File.
15965         * string/test-strncmp.c: Add wcsncmp support.
15967 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15969         [BZ #6792]
15970         * math/w_log1p.c: New file.
15971         * math/w_log1pf.c: Likewise.
15972         * math/w_log1pl.c: Likewise.
15973         * math/Makefile (libm-calls): Add w_log1p.
15974         * math/s_log1pl.c (log1pl): Remove weak_alias.
15975         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15976         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15977         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15978         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15979         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15980         [NO_LONG_DOUBLE] (log1pl): Likewise.
15981         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15982         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15983         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15984         (log1p): Remove long_double_symbol.
15985         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15986         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15987         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15988         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15989         remove weak_alias for corresponding log1p function.
15990         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15991         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15992         * sysdeps/ia64/fpu/w_log1p.c: New file.
15993         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15994         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15995         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15997 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15999         [BZ #18247]
16000         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16001         decimal exponent by 1.
16002         * stdlib/tst-strtod-round-data: Add more tests.
16003         * stdlib/tst-strtod-round.c (tests): Regenerated.
16005 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16007         * math/auto-libm-test-in: Add more tests of clog and clog10.
16008         * math/auto-libm-test-out: Regenerated.
16009         * sysdeps/i386/fpu/libm-test-ulps: Update.
16010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16012 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16014         * Makeconfig (module-cppflags): Exclude all .v.i files.
16015         (skip-module-cppflags): Variable removed.
16017         * configure.ac (libc_config_ok): Initialize before reading
16018         preconfigure scripts, not after.
16019         * configure: Regenerated.
16021         * test-skeleton.c (TIMEOUT): Move #define to top level.
16022         (main): Grok environment variable TEST_DIRECT.  If set, print
16023         test expectation details into that file and then behave as if
16024         given --direct.
16026 2015-04-09  Florian Weimer  <fweimer@redhat.com>
16028         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16029         warning on 32-bit.
16031 2015-04-08  David S. Miller  <davem@davemloft.net>
16033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16035 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16037         * math/auto-libm-test-in: Add more tests of atanh.
16038         * math/auto-libm-test-out: Regenerated.
16039         * sysdeps/i386/fpu/libm-test-ulps: Update.
16040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16042         * math/auto-libm-test-in: Add more tests of atan.
16043         * math/auto-libm-test-out: Regenerated.
16044         * sysdeps/i386/fpu/libm-test-ulps: Update.
16045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16047 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16049         * elf/pldd.c (main): Rewrite to use struct
16050         scratch_buffer instead of extend_alloca.
16051         * elf/pldd-xx.c (find_maps): Likewise.
16052         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16053         <alloca.h>.
16054         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16055         scratch_buffer instead of extend_alloca.
16056         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16057         grp/compat-initgroups.c.
16058         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16059         Rewrite to use struct scratch_buffer instead of extend_alloca.
16060         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16061         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16063 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16065         * math/auto-libm-test-in: Add more tests of cbrt.
16066         * math/auto-libm-test-out: Regenerated.
16067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16069         * math/auto-libm-test-in: Add more tests of cabs.
16070         * math/auto-libm-test-out: Regenerated.
16071         * sysdeps/i386/fpu/libm-test-ulps: Update.
16072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16074         [BZ #18210]
16075         [BZ #18211]
16076         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16077         (__ieee754_atan2): Set FE_TONEAREST mode for internal
16078         computations.
16079         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16080         clog10.
16081         * math/auto-libm-test-out: Regenerated.
16082         * sysdeps/i386/fpu/libm-test-ulps: Update.
16083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16085         [BZ #18197]
16086         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16087         (atan): Set FE_TONEAREST mode for internal computations.
16088         * math/auto-libm-test-in: Add more tests of atan.
16089         * math/auto-libm-test-out: Regenerated.
16091 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
16093         [BZ #17930]
16094         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16096 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16098         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16100 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16102         * include/scratch_buffer.h: New file.
16103         * malloc/scratch_buffer_grow.c: Likewise.
16104         * malloc/scratch_buffer_grow_preserve.c: Likewise.
16105         * malloc/scratch_buffer_set_array_size.c: Likewise.
16106         * malloc/tst-scratch_buffer.c: Likewise.
16107         * malloc/Makefile (routines): Add scratch_buffer_grow.
16108         (tests): Add test case.
16109         * malloc/Versions (GLIBC_PRIVATE): Export
16110         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16111         __libc_scratch_buffer_set_array_size.
16113 2015-04-06  Richard Henderson  <rth@redhat.com>
16115         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16116         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16118         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16119         unsigned int before printing.
16121 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16123         [BZ #17596]
16124         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16125         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16127 2015-04-02  Florian Weimer  <fweimer@redhat.com>
16129         * include/libc-internal.h (libc_max_align_t): Define.
16131 2015-04-02  Andreas Schwab  <schwab@suse.de>
16133         [BZ #16850]
16134         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
16136 2015-04-02  Mel Gorman  <mgorman@suse.de>
16138         [BZ #17195]
16139         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
16140         as well as the main arena.
16142 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16144         [BZ #18185]
16145         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16146         sharing L2 cache to 2 for Silvermont/Knights Landing.
16148 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16150         [BZ #17711]
16151         * config.make.in (have-protected-data): New.
16152         * configure.ac: Check linker support for protected data symbol.
16153         * configure: Regenerated.
16154         * elf/Makefile (modules-names): Add tst-protected1moda and
16155         tst-protected1modb if $(have-protected-data) is yes.
16156         (tests): Add tst-protected1a and tst-protected1b if
16157         $(have-protected-data) is yes.
16158         ($(objpfx)tst-protected1a): New.
16159         ($(objpfx)tst-protected1b): Likewise.
16160         (tst-protected1modb.so-no-z-defs): Likewise.
16161         * elf/tst-protected1a.c: New file.
16162         * elf/tst-protected1b.c: Likewise.
16163         * elf/tst-protected1mod.h: Likewise.
16164         * elf/tst-protected1moda.c: Likewise.
16165         * elf/tst-protected1modb.c: Likewise.
16167 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16169         [BZ #17711]
16170         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
16171         indicates it is called from do_lookup_x on relocation against
16172         protected data, skip the data definion in the executable from
16173         copy reloc.
16174         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
16175         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
16176         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
16177         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
16178         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
16179         otherwise to 0.
16180         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16181         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
16182         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
16183         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16184         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
16185         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
16187 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
16189         * sysdeps/nptl/pthread.h: Remove duplicate definition of
16190         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
16192 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
16194         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
16195         THREAD_SETMEM_NC.
16196         * sysdeps/x86_64/nptl/tls.h: Ditto.
16198 2015-03-27  Roland McGrath  <roland@hack.frob.com>
16200         * dlfcn/tststatic.c (main): Converted to ...
16201         (do_test): ... this.
16202         (TEST_FUNCTION): New macro.
16203         Include test-skeleton.c.
16205 2015-03-26  Alan Modra  <amodra@gmail.com>
16207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
16208         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
16209         zero for undefined weak.
16210         (elf_machine_plt_conflict): Similarly.
16212 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16214         * math/auto-libm-test-in: Add more tests of acosh, asinh and
16215         atanh.
16216         * math/auto-libm-test-out: Regenerated.
16217         * sysdeps/i386/fpu/libm-test-ulps: Update.
16218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16220         * math/auto-libm-test-in: Add another test of asin.
16221         * math/auto-libm-test-out: Regenerated.
16222         * sysdeps/i386/fpu/libm-test-ulps: Update.
16223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16225         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
16226         Remove macro.
16227         (LLL_EBX_REG): Likewise.
16228         (LLL_ENTER_KERNEL): Likewise.
16230         * math/auto-libm-test-in: Add more tests of asin.
16231         * math/auto-libm-test-out: Regenerated.
16232         * sysdeps/i386/fpu/libm-test-ulps: Update.
16233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16235         [BZ #18138]
16236         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
16237         libc_do_syscall_args): New structure.
16238         (INTERNAL_SYSCALL_MAIN_0): New macro.
16239         (INTERNAL_SYSCALL_MAIN_1): Likewise.
16240         (INTERNAL_SYSCALL_MAIN_2): Likewise.
16241         (INTERNAL_SYSCALL_MAIN_3): Likewise.
16242         (INTERNAL_SYSCALL_MAIN_4): Likewise.
16243         (INTERNAL_SYSCALL_MAIN_5): Likewise.
16244         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
16245         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
16246         Replace conditional definitions by conditional definitions of ....
16247         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
16248         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
16249         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
16250         (libpthread-sysdep_routines): Add libc-do-syscall.
16251         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
16252         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
16253         to __NR_futex not 240.
16255 2015-03-25  Alan Modra  <amodra@gmail.com>
16257         * NEWS: Advertise TLS optimization.
16258         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
16259         (DT_PPC_NUM): Increment.
16260         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
16261         (CHECK_STATIC_TLS): Use here.
16262         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
16263         TLS descriptors.
16264         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16265         * sysdeps/powerpc/dl-tls.c: New file.
16266         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
16267         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
16268         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
16269         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
16270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
16271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16274 2015-03-25  Alan Modra  <amodra@gmail.com>
16276         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
16277         for overlapping .opd entries" to "support...".
16278         * sysdeps/powerpc/powerpc64/configure: Regenerate
16280 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16282         * math/auto-libm-test-in: Add more tests of acos.
16283         * math/auto-libm-test-out: Regenerated.
16284         * sysdeps/i386/fpu/libm-test-ulps: Update.
16285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16287         * math/auto-libm-test-in: Add more tests of expm1.
16288         * math/auto-libm-test-out: Regenerated.
16289         * sysdeps/i386/fpu/libm-test-ulps: Update.
16290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16292 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
16294         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16295         * math/auto-libm-test-out: Regenerated.
16296         * sysdeps/i386/fpu/libm-test-ulps: Update.
16297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16299         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16302         * math/auto-libm-test-in: Add more tests of log2.
16303         * math/auto-libm-test-out: Regenerated.
16304         * sysdeps/i386/fpu/libm-test-ulps: Update.
16305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16307 2015-03-23  Roland McGrath  <roland@hack.frob.com>
16309         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
16310         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
16311         _IO_IS_APPENDING bit in READ_WRITE instead.
16313 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16315         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16316         (__determine_cpumask_size): Replace extend_alloca with a
16317         variable-length array.  Do not treat res == 0 as an error.
16319 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16321         [BZ #18100]
16322         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
16323         and integer overflow.
16324         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
16325         (main): Add integer overflow tests.
16326         * manual/pattern.texi (Calling Wordexp): Document additional use
16327         for WRDE_SYNTAX.
16329 2015-03-23  Alan Modra  <amodra@gmail.com>
16331         * config.h.in: Remove HAVE_ASM_PPC_REL16.
16332         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
16333         and false branch of conditional.
16334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16335         Likewise.
16337 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
16339         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
16340         libc-modules.h
16341         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
16342         unused declaration of _hurd_intr_rpc_msg_in_trap.
16343         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
16344         defined instead of whether it is non-zero.
16345         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
16346         input constraint instead of both input and output constraint.  Use ecx
16347         clobber instead of %ecx.
16348         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
16349         mutex_unlock): Use a statement expression instead of an expression list.
16350         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
16351         type to vm_size_t instead of vm_address_t.
16352         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
16353         defined instead of whether it is non-zero.
16354         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
16355         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
16356         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
16357         comparisons with mapaddr.
16358         * nscd/nscd-client.h: Include <time.h>.
16359         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
16360         9th parameter to __vm_region instead of int.
16361         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
16362         * scripts/check-local-headers.sh (exclude): Add device/,
16363         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
16364         cthreads.h.
16366 2015-03-19  Roland McGrath  <roland@hack.frob.com>
16368         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
16369         to account for alignment padding.
16370         * sysdeps/arm/memmove.S: Likewise.
16372 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
16374         * sysdeps/unix/sysv/linux/generic/README: New file.
16376 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
16378         [BZ #18138]
16379         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
16380         (futex_abstimed_wait)
16381         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
16382         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
16383         of lll_futex_timed_wait.
16385 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
16387         [BZ #17542]
16388         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
16390 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
16392         [BZ #17090]
16393         [BZ #17620]
16394         [BZ #17621]
16395         [BZ #17628]
16396         * NEWS: Update.
16397         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
16398         entries with Static TLS too.  Skip entries past the end of the
16399         allocated DTV, from Alan Modra.
16400         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
16401         Static TLS DTV entry set up from...
16402         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
16403         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
16404         * nptl/allocatestack.c (init_one_static_tls): ... and here...
16405         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
16406         for Static TLS.
16407         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
16408         that the slot we find is associated with the given map before
16409         using its generation count.
16410         * nptl_db/db_info.c: Include ldsodefs.h.
16411         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
16412         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
16413         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
16414         (link_map::l_tls_offset): New struct field.
16415         (dtv_t::counter): Likewise.
16416         (rtld_global): New struct.
16417         (_rtld_global): New rtld variable.
16418         (dl_tls_dtv_slotinfo_list): New rtld global field.
16419         (dtv_slotinfo_list): New struct.
16420         (dtv_slotinfo): Likewise.
16421         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
16422         (td_lookup): Rename to...
16423         (td_mod_lookup): ... this.  Use new mod parameter instead of
16424         LIBPTHREAD_SO.
16425         * nptl_db/td_thr_tlsbase.c: Include link.h.
16426         (dtv_slotinfo_list, dtv_slotinfo): New functions.
16427         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
16428         addresses even if the DTV is out of date or missing them.
16429         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
16430         index zero-length arrays.
16431         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
16432         (td_lookup): Make it a macro implemented in terms of...
16433         (td_mod_lookup): ... this declaration.
16434         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
16435         (DB_MAIN_VARIABLE): Likewise.
16437 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16439         [BZ #18134]
16440         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16442 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
16444         * stdlib/setenv.c (__add_to_environ): Revert previous change.
16446 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16448         [BZ #18128]
16449         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
16450         (atomic_add, atomic_increment_and_test)
16451         (atomic_decrement_and_test): Fix 64-bit arithmetic.
16453 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
16455         * stdlib/setenv.c (__add_to_environ):
16456         Dump core quickly if setenv (..., NULL, ...) is called.
16458 2015-03-13  Roland McGrath  <roland@hack.frob.com>
16460         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
16461         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
16462         all the necessary asm magic in one place.
16463         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
16464         using those.
16466 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
16468         [BZ #14906]
16469         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
16470         traced file mtime. Use consistent log message.
16471         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
16472         (register_traced_file): Call install_watches. Always set mtime.
16473         (invalidate_cache): Iterate over all trace files. Call install_watches.
16474         (inotify_check_files): Don't inline. Handle watching parent
16475         directories and configuration file movement in and out.
16476         (handle_inotify_events): New function.
16477         (main_loop_poll): Call handle_inotify_events.
16478         (main_loop_epoll): Likewise.
16479         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
16480         (struct traced_file): Use array of inotify fds. Add parent directory,
16481         and basename.
16482         (struct database_dyn): Remove unused file_mtime.
16483         (init_traced_file): New inline function.
16484         (define_traced_file): New macro.
16485         * nss/nss_db/db-init.c: Use define_traced_file.
16486         (_nss_db_init): Use init_traced_file.
16487         * nss/nss_files/files-init.c: Use define_traced_file.
16488         (_nss_files_init): Use init_traced_file.
16490 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
16492         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
16493         [_LIBC]: Do not include <stdlib.h>.
16494         [!_LIBC] (abort): Remove declaration.
16495         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
16496         _FP_STATIC_ASSERT instead of conditionally calling abort.
16497         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
16498         (_FP_EXTEND_CNAN): Likewise.
16499         (FP_TRUNC): Likewise.
16500         (__FP_CLZ): Likewise.
16501         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
16503 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
16505         * manual/string.texi (XPG basename): Fix prototype.
16507 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16509         [BZ #18080]
16510         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
16511         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16512         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
16513         (__setcontext): Likewise.
16514         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
16515         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16516         Call rt_sigprocmask syscall one time to set new signal mask
16517         and retrieve the current signal mask instead of two calls.
16518         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
16519         (__swapcontext): Likewise.
16520         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
16521         * stdlib/tst-setcontext2.c: New file.
16523 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16525         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16527 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
16529         [BZ #18093]
16530         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
16531         the wrong size.
16533 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16535         [BZ #18043]
16536         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
16538 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16540         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
16541         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
16542         Remove define.
16543         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
16544         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
16545         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
16546         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
16547         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
16548         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
16549         define.
16550         * nptl_db/td_symbol_list.c (td_lookup): Remove
16551         HAVE_ASM_GLOBAL_DOT_NAME code.
16552         * sysdeps/powerpc/powerpc64/configure.ac: Remove
16553         HAVE_ASM_GLOBAL_DOT_NAME check.
16554         * sysdeps/powerpc/powerpc64/configure: Regenerate.
16555         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
16556         (DOT_LABEL): Remove define.
16557         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
16558         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
16559         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
16560         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
16561         (__TLS_GET_ADDR): Likewise.
16562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
16563         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
16565 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
16567         [BZ #18111]
16568         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
16569         (_FPU_SETCW): Initialize cw from fpsr before storing.
16570         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
16571         (fesetexceptflag): Rewrite using fpu_control.h.
16572         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
16574 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
16576         [BZ #18110]
16577         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
16578         asms.
16579         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16581 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
16583         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
16584         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
16585         abort.
16586         (_FP_FMA): Likewise.
16587         (_FP_DIV): Likewise.
16589 2015-03-10  Roland McGrath  <roland@hack.frob.com>
16591         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
16592         with 0 in that case.
16593         * Makefile (summarize-tests): New canned sequence, factored out of
16594         commands for targets tests and xtests.  Display summary lines that
16595         don't start with PASS: or XFAIL: rather than ones that do start with
16596         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
16597         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
16598         do start with ERROR: or FAIL:.
16599         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
16600         (except for [$(build-shared) = yes]).
16601         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
16602         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
16603         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
16604         * nptl/Makefile: Revert 2015-03-04 changes.
16605         [$(CXX) empty] (tests-unsupported): New variable.
16606         * debug/Makefile: Likewise.
16608         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
16609         gnulib file.  Replace __attribute with __attribute__ throughout.
16611 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
16613         * sysdeps/hppa/fpu/libm-test-ulps: Update.
16615 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16617         [BZ #18104]
16618         * math/auto-libm-test-in: Add another test of pow.
16619         * math/auto-libm-test-out: Regenerated.
16621 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16623         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16624         $(config-cflags-nofma).
16626 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16628         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16629         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16630         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16631         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16632         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16633         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16634         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16635         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16636         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16637         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16638         Add comment on closing #endif.
16640 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16642         * posix/wordexp.c (CHAR_IN_SET): New macro.
16643         (parse_param): Use it.
16645 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16647         * sysdeps/powerpc/fpu/libm-test-ulps: update.
16649 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16651         [BZ #18043]
16652         * posix/wordexp.c (parse_param): Fix buffer overflow.
16653         * posix/wordexp-test.c (test_case): Add test case.
16655 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16657         [BZ #18042]
16658         * posix/wordexp.c (parse_backtick): Fix off-by-one.
16659         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16661 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16663         [BZ #18043]
16664         * posix/wordexp-test.c (test_case): Add test for BZ #18043
16665         (do_bz18043): Delete.
16666         (at_page_end): New.
16667         (testit): Refactor to have words at the edge of unreadable page.
16669 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16671         [BZ #16734]
16672         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
16673         Cleanup read-only streams as well.
16674         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
16676 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16678         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
16679         <bits/libc-lockP.h>
16681 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
16683         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
16684         on [__KERNEL__].
16685         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
16686         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
16687         * soft-fp/op-common.h (_FP_DECL): Likewise.
16689 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16691         * elf/ifuncdep2.c (global): Replace
16692         __attribute__((visibility("protected"))) with
16693         asm (".protected global").
16694         * elf/ifuncmod1.c (global): Likewise.
16695         * elf/ifuncmod5.c (global): Likewise.
16697 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
16699         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
16700         <asm/sfp-machine.h> instead of <sfp-machine.h>.
16702 2015-03-06  Roland McGrath  <roland@hack.frob.com>
16704         * manual/install.texi (Configuring and compiling):
16705         Document test-wrapper-env-only.
16706         * INSTALL: Regenerated.
16708 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16710         [BZ #18043]
16711         * posix/wordexp.c (parse_param): Fix buffer overflow.
16712         * posix/wordexp-test.c (do_bz18043): Add test case.
16714 2015-03-06  Vincent Bernat  <vincent@bernat.im>
16716         * time/tst-strptime2.c (do_test): Ensure failing tests are
16717         reported correctly.
16718         * time/tst-strptime3.c (do_test): Likewise.
16720 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
16722         Fix aio_error thread-safety.
16723         * sysdeps/pthread/aio_error.c: New file
16724         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16725         synchronization.
16727 2015-03-06  Florian Weimer  <fweimer@redhat.com>
16729         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16730         (group_number, vfprintf): Use it.
16731         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16732         (JUMP, REF): Use it.
16733         (WORK_BUFFER_SIZE): New enum constant.
16734         (process_arg, vfprintf): Use it.
16736 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
16738         * manual/errno.texi (Error Messages): Complete example function
16739         by adding missing #define.
16740         (program_invocation_name): Add statement indicating GNU
16741         extension and reference which header file declares the variable.
16742         (program_invocation_short_name): Likewise.
16744 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
16746         * manual/errno.texi (Error Messages): Delete strerror ISO C89
16747         compatibility note.
16749 2015-03-05  Roland McGrath  <roland@hack.frob.com>
16751         * Makeconfig (test-wrapper-env-only): New variable.
16752         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16753         then use that with $(test-wrapper-env-only) rather than using
16754         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16756 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16758         [BZ #18082]
16759         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16760         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16761         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16762         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16763         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16764         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16765         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16766         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16767         Likewise.
16768         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16769         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16770         Likewise.
16771         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16772         Likewise.
16773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16774         Likewise.
16775         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16776         Likewise.
16777         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16778         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16779         Likewise.
16780         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16781         Likewise.
16782         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16783         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16785 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16787         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16788         (ETH_ALEN): New macro.
16789         (struct ether_addr): Use it for length of ether_addr_octet.
16791         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16792         (setdb): Don't call __nss_configure_lookup for "rpc".
16793         (do_test): Don't call test_rpc.
16794         (output_rpcent, test_rpc): Functions moved ...
16795         * sunrpc/test-rpcent.c: ... to this new file.
16796         * sunrpc/Makefile (tests): Add it.
16798         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16799         __xpg_sigpause.
16800         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16801         * nptl/tst-signal6.c: Likewise.
16802         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16803         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16805         * configure.ac (libc_cv_cxx_link_ok): New check.
16806         Reset CXX to empty if it fails to link.
16807         * configure: Regenerated.
16808         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16809         bug-atexit3-lib only if $(CXX) is nonempty.
16810         * nptl/Makefile (tests): Likewise for tst-cancel24.
16811         (tests, tests-static): Likewise for tst-cancel24-static.
16812         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16813         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16814         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16815         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16817 2015-03-04  Andreas Schwab  <schwab@suse.de>
16819         [BZ #17631]
16820         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16821         for non-GCC compilers.
16822         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16823         Likewise.
16825 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16827         [BZ #17776]
16828         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16829         integer before bitwise and assembly operations.
16830         (feclearexcept): Likewise.
16831         * math/test-fenvinline.c: New file.
16832         * math/Makefile: Add test-fenvinline test.
16834 2015-03-03  Alan Modra  <amodra@gmail.com>
16836         [BZ #16512]
16837         * scripts/localplt.awk: Strip off symbol version.
16838         * NEWS: Mention bug fix.
16840 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16842         * sysdeps/pthread/timer_routines.c
16843         (timer_free_list, thread_free_list, thread_active_list): Make static.
16845 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16847         [BZ #17779]
16848         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16849         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16850         Undefine.
16851         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16852         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16853         Likewise.
16854         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16855         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16856         Likewise.
16858 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16860         [BZ #18036]
16861         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16862         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16864 2015-03-02  Andreas Schwab  <schwab@suse.de>
16866         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16867         variable name.
16869 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16871         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16872         Return error status.
16874 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16876         [BZ #15969]
16877         * locale/findlocale.c (_nl_find_locale): Introduce const
16878         version of loc_name and drop unsafe type casts.
16880 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16882         * dlfcn/tststatic2.c (main): Converted to ...
16883         (do_test): ... this.
16884         (TEST_FUNCTION): New macro.
16885         Include test-skeleton.c.
16887 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16889         [BZ #17711]
16890         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16891         (tests-pie): Add vismain.
16892         (CFLAGS-vismain.c): New.
16893         * elf/vismain.c: Add comments for PIE requirement.
16895 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16897         [BZ #18046]
16898         [BZ #18047]
16899         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16900         0x1p-56L as threshold for just returning the argument.
16901         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16902         0x1p-32L as threshold for just returning the argument.
16903         * math/auto-libm-test-in: Add more tests of atanh.
16904         * math/auto-libm-test-out: Regenerated.
16905         * sysdeps/i386/fpu/libm-test-ulps: Update.
16906         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16908 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16910         * string/bcopy.c (bcopy): Call memmove for performance.
16912 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16914         * string/bzero.c (__bzero): Call memset for performance.
16916 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16918         [BZ #18068]
16919         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16920         to 00100000.
16922 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16924         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16926 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16928         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16929         (__kernel_standard): Use CSTR macro when setting exc.name.
16930         * sysdeps/ieee754/Makefile [$(subdir) = math]
16931         (CFLAGS-k_standard.c): Remove variable.
16933         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16934         setting p and q from "else if" to "else".
16935         (qzero): Likewise.
16936         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16937         (qone): Likewise.
16938         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16939         (qzerof): Likewise.
16940         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16941         (qonef): Likewise.
16942         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16943         (qzero): Likewise.
16944         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16945         (qone): Likewise.
16947         [BZ #18038]
16948         [BZ #18039]
16949         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16950         return pi/2 for arguments below 0x1p-113L.
16951         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16952         return pi/2 for arguments below 0x1p-106L.
16953         * math/auto-libm-test-in: Add more tests of acos.
16954         * math/auto-libm-test-out: Regenerated.
16956         [BZ #16351]
16957         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16958         (MO): New macro.
16959         (__ieee754_asin): Force underflow exception for results with small
16960         absolute value.
16961         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16962         (MO): New macro.
16963         (__ieee754_asinf): Force underflow exception for results with
16964         small absolute value.
16965         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16966         (__ieee754_asin): Force underflow exception for results with small
16967         absolute value.
16968         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16969         (__ieee754_asinf): Force underflow exception for results with
16970         small absolute value.
16971         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16972         (__ieee754_asinl): Force underflow exception for results with
16973         small absolute value.
16974         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16975         (__ieee754_asinl): Force underflow exception for results with
16976         small absolute value.
16977         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16978         (__ieee754_asinl): Force underflow exception for results with
16979         small absolute value.
16980         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16981         Include <math.h>.
16982         * math/auto-libm-test-in: Do not mark underflow exceptions as
16983         possibly missing for bug 16351.
16984         * math/auto-libm-test-out: Regenerated.
16986         [BZ #18030]
16987         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16988         of power of 2 down when low part has opposite sign.
16989         * math/libm-test.inc (logb_test_data): Add more tests.
16991 2015-02-26  Andreas Schwab  <schwab@suse.de>
16993         [BZ #18032]
16994         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16995         over collating symbol inside a bracket expression.  Minor cleanup.
16996         * posix/tst-fnmatch3.c (do_test): Add test case.
16998 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17000         [BZ #18029]
17001         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17002         Adjust exponent of power of 2 down when low part has opposite
17003         sign.
17004         * math/libm-test.inc (ilogb_test_data): Add more tests.
17006 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17008         [BZ #15969]
17009         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17010         the previous change.
17012         [BZ #15969]
17013         * locale/findlocale.c (_nl_find_locale): Retry archive search
17014         after alias expansion.
17016 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17018         * iconv/tst-iconv3.c (main): Converted to ...
17019         (do_test): ... this.
17020         (TEST_FUNCTION): New macro.
17021         Include test-skeleton.c.
17023         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17024         (convert): Make function static.
17025         (test_unalign): Likewise.  Add const to argument pointee types.
17026         (main): Replace with static function do_test.
17027         Print "Succeeded." only if RET is zero.
17028         (TEST_FUNCTION): New macro.
17029         Include test-skeleton.c.
17031         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17032         returns a null pointer.
17034 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17036         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17037         to __memcpy_ppc only for static builds.
17039 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17041         [BZ #18020]
17042         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17043         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17044         * math/auto-libm-test-in: Add more tests of asinh.
17045         * math/auto-libm-test-out: Regenerated.
17046         * sysdeps/i386/fpu/libm-test-ulps: Update.
17047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17049 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17051         [BZ #15850]
17052         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17053         and ip6_mtuinfo definitions here.
17054         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17055         in this define too.  Update comment.
17057 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17059         * elf/sprof.c (load_shobj): Tweak error message to match others.
17061 2015-02-24  Kevin Easton  <kevin@guarana.org>
17063         [BZ #16145] (partial fix)
17064         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17065         to reduce lock contention.
17067 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
17069         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17070         (struct timex): Update time comment.
17071         (ADJ_SETOFFSET): Define.
17073 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17075         [BZ #18019]
17076         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17077         2**56 not 2**28 as threshold for log (2x) formula.
17078         * math/auto-libm-test-in: Add more tests of acosh.
17079         * math/auto-libm-test-out: Regenerated.
17080         * sysdeps/i386/fpu/libm-test-ulps: Update.
17081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17083 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17085         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17086         parenthesis around the buf assignment.
17087         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17089 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17091         [BZ #16783]
17092         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17093         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17094         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17095         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17096         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17097         * math/libm-test.inc (scalb_test_data): Add more tests.
17099 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17101         [BZ #17916]
17102         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17103         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17105 2015-02-24  Eric Rannaud  <e@nanocritical.com>
17107         [BZ #17523]
17108         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17109         * io/bits/fcntl2.h (open): Use it.
17110         (openat): Likewise.
17111         * io/open.c (__libc_open): Likewise.
17112         * io/open64.c (__libc_open64): Likewise.
17113         * io/open64_2.c (__open64_2): Likewise.
17114         * io/open_2.c (__open_2): Likewise.
17115         * io/openat.c (__openat): Likewise.
17116         * io/openat64.c (__openat64): Likewise.
17117         * io/openat64_2.c (__openat64_2): Likewise.
17118         * io/openat_2.c (__openat_2): Likewise.
17119         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17120         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17121         * sysdeps/posix/open64.c (__libc_open64): Likewise.
17122         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17123         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17124         (__open_nocancel): Likewise.
17125         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17126         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17127         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17129 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17131         [BZ #14841]
17132         * resolv/gethnamaddr.c (getanswer): Skip logging if
17133         RES_USE_DNSSEC is set.
17134         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17136 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17138         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
17140 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
17142         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17143         201304L, for Unicode 7.
17145 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
17147         [BZ #17836]
17148         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
17149         shared library.  Add gmon-start.os otherwise.
17150         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
17151         $(objpfx)gmon-start.os if builing shared library.
17152         ($(objpfx)g$(static-start-installed-name)): Likewise.
17154 2015-02-23  Andreas Schwab  <schwab@suse.de>
17156         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
17158 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17160         [BZ #17269]
17161         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
17162         (enlarge_userbuf): Likewise.
17164 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
17166         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
17167         * math/atest-exp.c (TIMEOUT): Adjust to 200.
17168         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
17169         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
17171 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
17173         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
17174         expression inside statement expression.
17176 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17178         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
17179         <sysdeps/nptl/lowlevellock.h> and remove macros and
17180         functions that are now defined there.
17181         (SYS_futex): Remove.
17182         (lll_compare_and_swap): Remove.
17183         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
17185 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
17187         [BZ #17999]
17188         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
17189         instead of scandirat.
17190         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
17191         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
17192         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
17193         __scandirat.
17194         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
17195         (__scandirat): Declare.  Use libc_hidden_proto.
17196         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
17197         Remove variable.
17198         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17200 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17202         [BZ #15319]
17203         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
17204         (MO): New macro.
17205         (__ieee754_atan2): For results with small absolute value, force
17206         underflow exception and remove excess range and precision from
17207         return value.
17208         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
17209         (MO): New macro.
17210         (__ieee754_atan2f): For results with small absolute value, force
17211         underflow exception and remove excess range and precision from
17212         return value.
17213         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
17214         (MO): New macro.
17215         (__atan): For results with small absolute value, force underflow
17216         exception and remove excess range and precision from return value.
17217         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
17218         (MO): New macro.
17219         (__atanf): For results with small absolute value, force underflow
17220         exception and remove excess range and precision from return value.
17221         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
17222         <math.h>.
17223         (__ieee754_atan2): Force underflow exception for results with
17224         small absolute value.
17225         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
17226         <math_private.h>.
17227         (atan): Force underflow exception for results with small absolute
17228         value.
17229         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
17230         (__atanf): Force underflow exception for results with small
17231         absolute value.
17232         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
17233         <math.h>.
17234         (__atanl): Force underflow exception for results with small
17235         absolute value.
17236         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
17237         (__atanl): Force underflow exception for results with small
17238         absolute value.
17239         * sysdeps/x86/fpu/bits/mathinline.h
17240         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
17241         (__ieee754_atan2): Only define inline for long double.
17242         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17243         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
17244         * math/auto-libm-test-in: Do not mark underflow exceptions as
17245         possibly missing for bug 15319.  Add more tests of atan2.
17246         * math/auto-libm-test-out: Regenerated.
17247         * math/libm-test.inc (casin_test_data): Do not mark underflow
17248         exceptions as possibly missing for bug 15319.
17249         (casinh_test_data): Likewise.
17250         * sysdeps/i386/fpu/libm-test-ulps: Update.
17252 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
17254         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
17255         * sysdeps/mips/bits/endian.h: Fix comments.
17257 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17259         [BZ #17996]
17260         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
17261         (hdestroy_r): Likewise.
17262         (hsearch_r): Likewise.
17263         (__hcreate_r): Declare and use libc_hidden_proto.
17264         (__hdestroy_r): Likewise.
17265         (__hsearch_r): Likewise.
17266         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
17267         (hcreate): Call __hcreate_r instead of hcreate_r.
17268         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
17269         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
17270         as weak alias of __hcreate_r.
17271         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
17272         __hdestroy_r.
17273         (hsearch_r): Rename to __hsearch_r and define as weak alias of
17274         __hsearch_r.
17275         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
17276         Remove variable.
17277         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17278         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17279         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17280         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17282 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17284         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
17285         arena_lock into a single arena_get.
17287 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
17289         * dl-reloc.c: Inlucde libc-internal.h.
17290         (_dl_try_allocate_static_tls): Call ALIGN_UP.
17291         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
17292         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
17293         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
17294         (grow_heap): Likewise.
17295         * malloc/malloc.c: Include libc-internal.h.
17296         (do_check_malloc): Call powerof2.
17297         (sysmalloc): Use pagesize. Call ALIGN_UP.
17298         (systrim): Use pagesize.
17299         (mremap_chunk): Use pagesize. Call ALIGN_UP.
17300         (__libc_valloc): Use pagesize.
17301         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
17303 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17305         [BZ #17991]
17306         * include/sys/resource.h (__getrlimit64): Declare.  Use
17307         libc_hidden_proto.
17308         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
17309         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
17310         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
17311         getrlimit64.
17312         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
17313         __getrlimit64.
17314         [!getrlimit64] (getrlimit64): Define as weak alias of
17315         __getrlimit64.  Use libc_hidden_weak.
17316         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
17317         using __getrlimit64 not __new_getrlimit64.
17318         (__GI_getrlimit64): Likewise.
17319         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
17320         Likewise.
17321         (__GI_getrlimit64): Likewise.
17322         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
17323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
17324         (getrlimit): Add __getrlimit64 alias.
17325         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
17326         Likewise.
17327         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
17328         Remove variable.
17329         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17330         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17332 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
17334         * libio/fileops.c: Add missing sys/mman.h
17335         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
17337 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17339         * manual/math.texi (Errors in Math Functions): Clarify goals
17340         regarding inexact and underflow exceptions.
17342 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17344         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
17345         * sysdeps/mips/memset.S: Ditto.
17347 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17349         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
17351 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17353         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
17354         (__v1longjmp): Remove versioned symbol.
17355         (__v1siglongjmp): Remove alias and versioned symbol.
17356         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
17357         (__v2siglongjmp): Likewise.
17359 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17361         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
17363 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
17365         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
17367 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17369         [BZ #17987]
17370         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
17371         zero result does not depend on the sign resulting from
17372         subtraction.
17373         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17374         Likewise.
17375         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17376         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17377         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17378         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17379         * math/libm-test.inc (remquo_test_data): Add more tests.
17381 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
17383         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
17384         Problem reported by J William Piggott.
17386 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17388         [BZ #17978]
17389         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
17390         products 4 * y and 2 * y where those would overflow.
17391         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17392         Likewise.
17393         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17394         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17395         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17396         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17397         * math/libm-test.inc (remquo_test_data): Add more tests.
17399         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
17401         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
17402         [defined _COMPILING_NEWLIB].
17403         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
17404         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
17406         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
17407         [!defined __mips_isa_rev || __mips_isa_rev < 6].
17409 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17411         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
17412         acquired.
17414 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
17416         [BZ #17792]
17417         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
17418         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
17419         HOST_STACK_END_ADDR): Likewise.
17421 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
17423         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
17424         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
17425         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
17427 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17429         * sysdeps/generic/c++-types.data: New file.
17430         * sysdeps/generic/ld.abilist: New file.
17431         * sysdeps/generic/libBrokenLocale.abilist: New file.
17432         * sysdeps/generic/libanl.abilist: New file.
17433         * sysdeps/generic/libc.abilist: New file.
17434         * sysdeps/generic/libcrypt.abilist: New file.
17435         * sysdeps/generic/libdl.abilist: New file.
17436         * sysdeps/generic/libm.abilist: New file.
17437         * sysdeps/generic/libpthread.abilist: New file.
17438         * sysdeps/generic/libresolv.abilist: New file.
17439         * sysdeps/generic/librt.abilist: New file.
17441 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17443         [BZ #17569]
17444         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17445         Compute absolute value of x as modified by fmod, not original
17446         value of x.
17447         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
17448         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
17449         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
17450         RUN_TEST_ffI_f1_mod8.
17451         (remquo_test_data): Add more tests.
17453 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17455         * sysdeps/init_array/pt-crti.S: New file.
17457 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17459         [BZ #17967]
17460         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
17461         __builtin_fmaf instead of relying on contraction of a * b + c.
17463 2015-02-12  J William Piggott  <elseifthen@gmx.com>
17465         [BZ #17969]
17466         * manual/time.texi: correct the zoneinfo path in the TZ Variable
17467         node.
17469 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17471         [BZ #17964]
17472         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17473         __builtin_fma instead of relying on contraction of a * b + c.
17475 2015-02-12  Roland McGrath  <roland@hack.frob.com>
17477         * Makeconfig (ASFLAGS): Add -Werror=undef.
17478         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
17479         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
17480         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
17482         * Makeconfig (after-link): New variable.
17483         (+link-pie, +link-pie-tests): Use it.
17484         (+link-static, +link-static-tests): Likewise.
17485         (+link, +link-tests): Likewise.
17486         * Makerules (build-module, build-module-asneeded): Likewise.
17487         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
17488         Likewise.
17489         * elf/Makefile ($(objpfx)ld.so): Likewise.
17491 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
17493         [BZ #17965]
17494         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
17495         both struct timeval and struct timespec.
17497 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17499         [BZ #16560]
17500         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17501         and redefine.
17502         (__ieee754_exp2l): Do not multiply small fractional parts by
17503         M_LN2l.
17504         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
17505         small argument.
17506         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17507         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17508         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
17509         * math/auto-libm-test-in: Add more tests of exp2.
17510         * math/auto-libm-test-out: Regenerated.
17512 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17514         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
17515         unaligned path.
17517 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17519         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
17520         little endian.
17522 2015-02-12  Andreas Schwab  <schwab@suse.de>
17524         [BZ #15790]
17525         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17526         Filter out elision flags from value returned in kind.
17527         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
17528         * nptl/tst-pthread-mutexattr.c: New file.
17530 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17532         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
17533         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
17534         into gnu-gnu, and update comment to refer to abi-tags.
17536 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
17538         [BZ #15467]
17539         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
17540         (__sincos): Set errno to EDOM for infinite argument.
17541         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
17542         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
17543         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
17544         (__sincosl): Set errno to EDOM for infinite argument.
17545         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
17546         (__sincosl): Set errno to EDOM for infinite argument.
17547         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
17548         (__sincosl): Set errno to EDOM for infinite argument.
17549         * math/libm-test.inc (sincos_test_data): Test errno setting.
17551 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
17553         * string/strxfrm_l.c: Remove #define STRCMP.
17554         * string/strcoll_l.c: Remove #define STRLEN.
17555         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
17556         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
17558 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
17560         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
17561         * sysdeps/mips/mips32/sfp-machine.h: ... here.
17562         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
17563         * sysdeps/mips/mips64/Makefile: ... here.
17564         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
17565         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
17566         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
17567         * sysdeps/mips/mips64/sfp-machine.h: ... here.
17568         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
17569         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
17570         * sysdeps/mips/mips64/n64/Implies: Likewise.
17572 2015-02-10  Roland McGrath  <roland@hack.frob.com>
17574         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
17575         <sys/time.h>, <string.h>, and <errno.h>.
17576         (dest_offset, dest_address, value, zero): Remove unused variables.
17577         (ldouble): Remove typedef.
17578         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
17579         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
17580         1).  Fix code style.
17581         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
17582         (check): Function removed.
17583         (CHECK): New macro.
17584         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
17585         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
17586         Don't call set_sigaction_FP and remove_sigaction_FP here.
17587         (ldouble_test): Just use 'long double' as macro argument, no need for
17588         the 'ldouble' typedef.
17589         (do_test): Set up SIGFPE handler at start, using plain signal rather
17590         than sigaction.  Fix code style.
17592 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
17594         [BZ #17949]
17595         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
17596         jump label.
17598 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17600         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
17601         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17603         * sysdeps/powerpc/configure.ac: Remove file.
17604         * sysdeps/powerpc/configure: Likewise.
17606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17607         [sysdep_routines]: Remove wordcopy-power6 object.
17608         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17609         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
17610         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
17611         (__memmove_ppc32): Likewise.
17612         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
17613         file.
17614         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
17615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
17616         Remove preprocessor.
17618         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17619         [sysdep_routines]: Remove wide chars objects.
17620         [wcsmbs]: New rule for wide char objects.
17622         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17623         Remove wordcopy-power6 obejct.
17624         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17625         Use local call for wordcopy and memcpy symbols.
17626         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17627         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17628         implementation for loader.
17629         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17631         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17632         Remove wordcopy-power7 object.
17633         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17634         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17635         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17636         (_wordcopy_fwd_dest_aligned): Likewise.
17637         (_wordcopy_bwd_aligned): Likewise.
17638         (_wordcopy_bwd_dest_aligned): Likewise.
17640         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17641         Rewrite to call __memmove_ppc instead of include default
17642         implementation.
17644         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17645         Remove wide chars objects.
17646         [wcsmbs]: New rule for wide char objects.
17648 2015-02-09  Andreas Schwab  <schwab@suse.de>
17650         [BZ #17912]
17651         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17652         in terms of __O_DIRECTORY.
17654 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17656         * time/getdate.c: Include <stdbool.h>.
17657         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17658         call PTR_MANGLE.
17659         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17660         PTR_DEMANGLE.
17662 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
17664         Add ersatz _Static_assert on older C hosts
17665         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
17666         pre-C11 C platform that is not known to support _Static_assert.
17668 2015-02-07  Richard Braun  <rbraun@sceen.net>
17670         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
17671         sigstate.
17672         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
17674 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17676         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
17677         priority against unexistent AIO_PRIO_DELTA_MAX.
17678         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
17679         instead of int.
17680         * misc/fchflags.c (fchflags): Likewise.
17681         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
17682         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
17683         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
17684         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17685         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
17686         Declare macros.
17687         [__USE_MISC] (chflags, fchflags): Declare functions.
17688         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
17689         EINVAL when nfds is greater than FD_SETSIZE.
17690         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
17691         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
17692         45.
17693         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
17694         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
17695         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
17696         MACH_RCV_TIMED_OUT.
17697         * hurd/hurd/signal.h (_hurd_self_sigstate,
17698         _hurd_critical_section_lock, _hurd_critical_section_unlock):
17699         Explicit casts from void *.
17700         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
17701         * abi-tags: Rename gnu-gnu os into gnu.
17703         [BZ #4719]
17704         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17705         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17706         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17707         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17708         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17709         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17711         [BZ #17944]
17712         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17713         duplicates ADDR->sun_path with sockaddr LEN limitation.
17714         * sysdeps/mach/hurd/connect.c: Include <string.h>
17715         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17716         * sysdeps/mach/hurd/sendmsg.c: Likewise.
17717         * sysdeps/mach/hurd/sendto.c: Likewise.
17718         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17719         implementing it by hand.
17721 2015-02-06  Roland McGrath  <roland@hack.frob.com>
17723         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17724         Use sfi_breg on ldr.
17725         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17726         Likewise.
17728         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17729         it's defined.
17730         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17731         Test SIGSETXID only if it's defined.
17733         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17735         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17736         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
17738         * nptl/tst-align2.c: Moved ...
17739         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17740         * nptl/Makefile (tests): Remove tst-align2.
17741         * sysdeps/unix/sysv/linux/Makefile
17742         [$(subdir) = nptl] (tests): Add tst-align-clone.
17743         * nptl/tst-getpid1.c: Moved ...
17744         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17745         * nptl/tst-getpid2.c: Moved ...
17746         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17747         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17748         * sysdeps/unix/sysv/linux/Makefile
17749         [$(subdir) = nptl] (tests): ... here.
17750         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17751         * sysdeps/unix/sysv/linux/Makefile
17752         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17754         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17755         Drop trailing \n from perror argument.  Use return rather than exit.
17757         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17758         on [SA_SIGINFO].
17759         * nptl/tst-cancel21.c (do_test): Likewise.
17760         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17761         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17762         [!SA_SIGINFO]: Make it a stub test.
17764         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17765         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17767         * posix/tst-getlogin.c: Move to ...
17768         * login/tst-getlogin.c: ... here.
17769         * posix/Makefile (tests): Move tst-getlogin to ...
17770         * login/Makefile (tests): ... here.
17772         * libio/tst-atime.c (do_test): Move local variables SV and E
17773         inside [ST_NOATIME] conditional.
17775         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17777         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17779         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17780         (wait_code): New function replaces macro.
17781         Call nanosleep rather than syscall.
17783         * nptl/pt-system.c: Rewritten.  Put everything under
17784         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17785         Use IFUNC to redirect when possible.
17787         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17788         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17789         Use IFUNC to redirect when possible.
17791         * nptl/pt-fork.c: Rewritten.  Put everything under
17792         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17793         Use IFUNC to redirect when possible.
17794         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17796         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17797         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17798         unconditionally nowadays.  This included the only reference to
17799         __vdso_clock_gettime that appears outside libc proper.
17800         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17801         Remove version set (containing only __vdso_clock_gettime).
17802         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17803         Add attribute_hidden.
17804         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17805         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17806         libc_hidden_data_def.
17807         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17808         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17810         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17811         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17812         setrpcent, and getrpcport to ...
17813         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17814         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17815         getrpcbynumber_r, and getrpcent_r to ...
17816         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17817         * inet/getrpcbyname.c: Moved ...
17818         * sunrpc/getrpcbyname.c: ... here.
17819         * inet/getrpcbyname_r.c: Moved ...
17820         * sunrpc/getrpcbyname_r.c: ... here.
17821         * inet/getrpcbynumber.c: Moved ...
17822         * sunrpc/getrpcbynumber.c: ... here.
17823         * inet/getrpcbynumber_r.c: Moved ...
17824         * sunrpc/getrpcbynumber_r.c: ... here.
17825         * inet/getrpcent.c: Moved ...
17826         * sunrpc/getrpcent.c: ... here.
17827         * inet/getrpcent_r.c: Moved ...
17828         * sunrpc/getrpcent_r.c: ... here.
17829         * inet/Makefile (routines): Move those to ...
17830         * sunrpc/Makefile (routines): ... here.
17831         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17832         the $(subdirs) list.
17833         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17834         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17835         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17836         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17838         * elf/Makefile (routines): Include $(all-dl-routines), not just
17839         $(dl-routines).
17840         (rtld-routines): Likewise.  Use = rather than :=.
17841         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17842         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17843         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17844         * sysdeps/arm/Makefile: Likewise.
17845         * sysdeps/i386/Makefile: Likewise.
17846         * sysdeps/x86_64/Makefile: Likewise.
17847         * sysdeps/hppa/Makefile [$(subdir) = elf]
17848         (sysdep_routines, sysdep-rtld-routines): Don't add
17849         $(sysdep-dl-routines) to these.
17850         * sysdeps/ia64/Makefile: Likewise.
17851         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17852         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17853         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17854         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17855         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17856         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17857         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17858         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17859         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17860         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17861         these; sysdep-dl-routines alone is enough.
17863 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17865         [BZ #17932]
17866         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17867         where multiplication results in zero and third argument is finite
17868         and nonzero.
17869         * math/auto-libm-test-in: Add more tests of fma.
17870         * math/auto-libm-test-out: Regenerated.
17872         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17873         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17874         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17875         (_FP_CMP_EQ): Likewise.
17876         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17878         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17879         extra argument CHECK_NAN.  Redefine as wrapper around
17880         _FP_EXTEND_CNAN.
17882 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17884         * version.h (RELEASE): Set to "stable".
17885         (VERSION): Set to "2.21"
17886         * include/features.h (__GLIBC_MINOR__): Set to 21.
17888         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17890 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17891             Paul Eggert  <eggert@cs.ucla.edu>
17893         [BZ #16618]
17894         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17895         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17896         size in bytes. Store needed elements in wpmax. Use needed size
17897         in bytes for extend_alloca.
17899 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17901         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17902         binutls 2.25, and texinfo 5.2.
17903         * INSTALL: Regenerate.
17904         * sysdeps/nios2/configure: Regenerate.
17905         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17906         * manual/contrib.texi: Update.
17907         * po/be.po: Update.
17908         * po/bg.po: Update.
17909         * po/ca.po: Update.
17910         * po/cs.po: Update.
17911         * po/da.po: Update.
17912         * po/de.po: Update.
17913         * po/el.po: Update.
17914         * po/eo.po: Update.
17915         * po/es.po: Update.
17916         * po/fi.po: Update.
17917         * po/fr.po: Update.
17918         * po/gl.po: Update.
17919         * po/hr.po: Update.
17920         * po/hu.po: Update.
17921         * po/ia.po: Update.
17922         * po/id.po: Update.
17923         * po/it.po: Update.
17924         * po/ja.po: Update.
17925         * po/ko.po: Update.
17926         * po/lt.po: Update.
17927         * po/nb.po: Update.
17928         * po/nl.po: Update.
17929         * po/pl.po: Update.
17930         * po/pt_BR.po: Update.
17931         * po/ru.po: Update.
17932         * po/rw.po: Update.
17933         * po/sk.po: Update.
17934         * po/sl.po: Update.
17935         * po/sv.po: Update.
17936         * po/tr.po: Update.
17937         * po/uk.po: Update.
17938         * po/vi.po: Update.
17939         * po/zh_CN.po: Update.
17940         * po/zh_TW.po: Update.
17942         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17943         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17944         * sysdeps/hppa/dl-irel.h: Remove #warning.
17945         * sysdeps/hppa/entry.h: Provide prototype for
17946         __canonicalize_funcptr_for_compare and cast argument.
17947         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17948         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17949         * sysdeps/hppa/sotruss-lib.c: New file.
17950         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17951         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17952         (atomic_compare_and_exchange_bool_acq): Likewise.
17953         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17954         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17956         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17957         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17958         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17960 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17962         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17963         called function in non-PIC case.
17965 2015-01-31  David S. Miller  <davem@davemloft.net>
17967         * sysdeps/sparc/sparc32/bits/atomic.h
17968         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17969         unlock not after it.
17970         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17971         volatile register usage warnings from the compiler.
17973         * sysdeps/sparc/nptl/sem_init.c: Delete.
17974         * sysdeps/sparc/nptl/sem_post.c: Delete.
17975         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17976         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17977         * sysdeps/sparc/sparc32/sem_init.c: New file.
17978         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17979         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17980         padding explicitly initialized.
17981         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17982         padding for in-semaphore spinlock.
17983         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17984         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17985         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17986         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17987         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17988         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17989         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17990         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17991         version.
17992         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17993         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17995 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17997         [BZ #17801]
17998         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17999         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18000         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18001         New.
18002         (index_AVX_Fast_Unaligned_Load): Likewise.
18003         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18004         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18005         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18006         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18007         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18008         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18009         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18010         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18011         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18013 2015-01-29  Andreas Schwab  <schwab@suse.de>
18015         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18017 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18019         [BZ #17892]
18020         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18022 2015-01-28  Martin Sebor  <msebor@redhat.com>
18024         * math/README.libm-test: Clarify. Add "How to read the test output."
18026 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
18028         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18029         Define to 0.
18031 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18033         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18034         (__HAVE_64B_ATOMICS): Define to 0.
18036 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18038         [BZ #17885]
18039         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18040         value to set as new flag.
18042         [BZ #16576]
18043         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18044         and use _ARCH_PPCSQ instead.
18045         (__ieee754_sqrt): Likewise.
18046         (__ieee754_sqrtf): Likewise.
18047         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18048         _ARCH_PPCSQ is defined.
18049         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18050         fsqrt instruction.
18051         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18052         _ARCH_PPCSQ is defined.
18053         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18054         fsqrts instruction.
18055         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18057 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18059         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18060         bug (GCC BZ #64739).
18062 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
18064         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18065         Mark _retval as used.
18066         (lll_futex_wake_unlock): Likewise.
18067         (lll_futex_timed_wait_requeue_pi): Likewise.
18069         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18070         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18071         register variables.
18073         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18074         libm_hidden_def.
18076         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18077         (__bswap_64): Mark as __always_inline.
18079 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
18081         [BZ #15378]
18082         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18083         when none of the search directories exist.
18085 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18087         [BZ #17869]
18088         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18089         power8 in .machine directive.
18091         [BZ #17868]
18092         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18093         set dependency from opd value.
18095 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18098         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18099         architecture.
18101 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18103         [BZ #17870]
18104         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18105         with uint64_t.
18106         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18107         (uint64_t) 1.
18108         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18109         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18110         Replace 1UL with (uint64_t) 1.
18111         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18112         int with uint64_t.
18114 2015-01-23  Roland McGrath  <roland@hack.frob.com>
18116         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18117         (if_freenameindex): Likewise.
18119         * resource/getrlimit64.c: Add missing libc_hidden_def.
18121 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
18123         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18124         __label__.
18125         (_FP_FMA): Likewise.
18126         (_FP_TO_INT_ROUND): Likewise.
18127         (_FP_FROM_INT): Likewise.
18129 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18131         [BZ #16418]
18132         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18133         Make code racy and cancel safe.
18135 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
18137         * sysdeps/arm/unwind-resume.h: Fix copyright year.
18138         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
18139         attribution.
18141         * pwd/tst-getpw.c: Rewrite.
18143         [BZ #17702]
18144         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
18145         (modules-names): Add moddummy1 and moddummy2.
18146         ($(objpfx)tst-rec-dlopen): Define.
18147         * dlfcn/moddummy1.c: New file.
18148         * dlfcn/moddummy2.c: New file.
18149         * dlfcn/tst-rec-dlopen.c: New file.
18150         * elf/dl-cache.c (_dl_load_cache_lookup):
18151         Return char*. Copy result with alloca/strcpy/strdup.
18152         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
18153         returns char*. Free cached. If not saving realname
18154         free cached.
18155         * elf/dl-open.c (dl_open_worker): Do not assert that
18156         _r_debug->r_state is RT_CONSISTENT.
18157         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18158         returns char*.
18160 2015-01-21  Torvald Riegel  <triegel@redhat.com>
18161             Carlos O'Donell  <carlos@redhat.com>
18163         [BZ #12674]
18164         * nptl/sem_waitcommon.c: New file.
18165         * nptl/sem_wait.c: Include sem_waitcommon.c.
18166         (__sem_wait_cleanup, do_futex_wait): Remove.
18167         (__new_sem_wait): Adapt.
18168         (__new_sem_trywait): New function.
18169         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
18170         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
18171         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
18172         (sem_timedwait): Adapt.
18173         * nptl/sem_post.c (__new_sem_post): Adapt.
18174         (futex_wake): New function.
18175         (__old_sem_post): Add release MO fence.
18176         * nptl/sem_open.c (sem_open): Adapt.
18177         * nptl/sem_init.c (__new_sem_init): Adapt.
18178         (futex_private_if_supported): New function.
18179         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
18180         (__old_sem_getvalue): Add using previous code.
18181         * sysdeps/nptl/internaltypes.h: Adapt.
18182         * nptl/tst-sem13.c (do_test): Adapt.
18183         * nptl/tst-sem11.c (main): Adapt.
18184         * nptl/sem_trywait.c: Remove.
18185         * nptl/DESIGN-sem.txt: Remove.
18186         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
18187         (gen-as-const-headers): Remove structsem.sym.
18188         * nptl/structsem.sym: Remove.
18189         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
18190         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
18191         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
18192         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
18193         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
18194         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
18195         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
18196         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
18197         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
18198         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
18199         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
18200         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
18201         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
18202         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
18203         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
18204         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
18205         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
18206         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
18207         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
18208         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
18209         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
18210         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
18212 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
18214         * INSTALL: Regenerated.
18216         * po/libc.pot: Regenerated.
18218 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
18219             Sandra Loosemore  <sandra@codesourcery.com>
18220             Andrew Jenner  <andrew@codesourcery.com>
18221             Joseph Myers  <joseph@codesourcery.com>
18222             Nathan Sidwell  <nathan@codesourcery.com>
18224         * NEWS: Mention new Nios II port.
18225         * sysdeps/nios2/Implies: New file.
18226         * sysdeps/nios2/Makefile: New file.
18227         * sysdeps/nios2/Subdirs: New file.
18228         * sysdeps/nios2/Versions: New file.
18229         * sysdeps/nios2/__longjmp.S: New file.
18230         * sysdeps/nios2/abort-instr.h: New file.
18231         * sysdeps/nios2/backtrace.c: New file.
18232         * sysdeps/nios2/bits/endian.h: New file.
18233         * sysdeps/nios2/bits/fenv.h: New file.
18234         * sysdeps/nios2/bits/link.h: New file.
18235         * sysdeps/nios2/bits/setjmp.h: New file.
18236         * sysdeps/nios2/bsd-_setjmp.S: New file.
18237         * sysdeps/nios2/bsd-setjmp.S: New file.
18238         * sysdeps/nios2/configure: New generated file.
18239         * sysdeps/nios2/configure.ac: New file.
18240         * sysdeps/nios2/crti.S: New file.
18241         * sysdeps/nios2/crtn.S: New file.
18242         * sysdeps/nios2/dl-init.c: New file.
18243         * sysdeps/nios2/dl-machine.h: New file.
18244         * sysdeps/nios2/dl-sysdep.h: New file.
18245         * sysdeps/nios2/dl-tls.h: New file.
18246         * sysdeps/nios2/dl-trampoline.S: New file.
18247         * sysdeps/nios2/gccframe.h: New file.
18248         * sysdeps/nios2/gmp-mparam.h: New file.
18249         * sysdeps/nios2/jmpbuf-offsets.h: New file.
18250         * sysdeps/nios2/jmpbuf-unwind.h: New file.
18251         * sysdeps/nios2/ldsodefs.h: New file.
18252         * sysdeps/nios2/libc-tls.c: New file.
18253         * sysdeps/nios2/libm-test-ulps: New file.
18254         * sysdeps/nios2/machine-gmon.h: New file.
18255         * sysdeps/nios2/math-tests.h: New file.
18256         * sysdeps/nios2/math_private.h: New file.
18257         * sysdeps/nios2/memusage.h: New file.
18258         * sysdeps/nios2/nptl/Makefile: New file.
18259         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
18260         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
18261         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
18262         * sysdeps/nios2/nptl/pthreaddef.h: New file.
18263         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
18264         * sysdeps/nios2/nptl/tls.h: New file.
18265         * sysdeps/nios2/preconfigure: New file.
18266         * sysdeps/nios2/s_fma.c: New file.
18267         * sysdeps/nios2/s_fmaf.c: New file.
18268         * sysdeps/nios2/setjmp.S: New file.
18269         * sysdeps/nios2/sfp-machine.h: New file.
18270         * sysdeps/nios2/sotruss-lib.c: New file.
18271         * sysdeps/nios2/stackguard-macros.h: New file.
18272         * sysdeps/nios2/stackinfo.h: New file.
18273         * sysdeps/nios2/start.S: New file.
18274         * sysdeps/nios2/sysdep.h: New file.
18275         * sysdeps/nios2/tls-macros.h: New file.
18276         * sysdeps/nios2/tst-audit.h: New file.
18277         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
18278         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
18279         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
18280         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
18281         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
18282         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
18283         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
18284         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
18285         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
18286         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
18287         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
18288         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
18289         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
18290         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
18291         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
18292         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
18293         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
18294         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
18295         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
18296         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
18297         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
18298         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
18299         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
18300         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
18301         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
18302         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
18303         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
18304         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
18305         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
18306         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
18307         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
18308         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
18309         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
18310         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
18311         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
18312         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
18313         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
18314         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
18315         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
18316         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
18317         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
18318         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
18319         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
18320         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
18322 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18324         [BZ #17844]
18325         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
18326         (getutent): Use weak_alias in non SHARED case
18327         and default_symbol_version in SHARED case.
18328         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
18329         (getutent_r, pututline): Likewise.
18330         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
18331         (getutid): Likewise.
18332         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
18333         (getutid_r): Likewise.
18334         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
18335         (getutline): Likewise.
18336         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
18337         (getutline_r): Likewise.
18338         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
18339         (updwtmp): Likewise.
18341 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18343         [BZ #17848]
18344         * sysdeps/s390/s390-32/memcmp.S
18345         (memcmp_g5): Rename to __memcmp_g5.
18346         * sysdeps/s390/s390-32/memcpy.S
18347         (memcpy_g5): Rename to __memcpy_g5.
18348         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18349         (memcpy_mvcle) Rename to __memcpy_mvcle.
18350         * sysdeps/s390/s390-32/memset.S
18351         (memset_g5): Rename to __memset_g5.
18352         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18353         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18354         and use prefixed functions.
18355         * sysdeps/s390/s390-32/multiarch/memcmp.S
18356         (memcmp_z196): Rename to __memcmp_z196.
18357         (memcmp_z10): Rename to __memcmp_z10.
18358         (memcmp): Set alias to __memcmp_g5.
18359         (bcmp): Set alias to __memcmp_g5.
18360         * sysdeps/s390/s390-32/multiarch/memcpy.S
18361         (memcpy_z196): Rename to __memcpy_z196.
18362         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18363         (memcpy_z10): Rename to __memcpy_z10.
18364         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18365         (memcpy): Set alias to __memcpy_g5.
18366         * sysdeps/s390/s390-32/multiarch/memset.S
18367         (memset_z196): Rename to __memset_z196.
18368         Jump to __memset_mvcle instead of memset_mvcle.
18369         (memset_z10): Rename to __memset_z10.
18370         Jump to __memset_mvcle instead of memset_mvcle.
18371         (memset_mvcle) Rename to __memset_mvcle.
18372         (memset): Set alias to __memset_g5.
18373         * sysdeps/s390/s390-64/memcmp.S
18374         (memcmp_z900): Rename to __memcmp_z900.
18375         * sysdeps/s390/s390-64/memcpy.S
18376         (memcpy_z900): Rename to __memcpy_z900.
18377         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18378         (memcpy_mvcle) Rename to __memcpy_mvcle.
18379         * sysdeps/s390/s390-64/memset.S
18380         (memset_z900): Rename to __memset_z900.
18381         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
18382         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18383         and use prefixed functions.
18384         * sysdeps/s390/s390-64/multiarch/memcmp.S
18385         (memcmp_z196): Rename to __memcmp_z196.
18386         (memcmp_z10): Rename to __memcmp_z10.
18387         (memcmp): Set alias to __memcmp_z900.
18388         (bcmp): Set alias to __memcmp_z900.
18389         * sysdeps/s390/s390-64/multiarch/memcpy.S
18390         (memcpy_z196): Rename to __memcpy_z196.
18391         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18392         (memcpy_z10): Rename to __memcpy_z10.
18393         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18394         (memcpy): Set alias to __memcpy_z900.
18395         * sysdeps/s390/s390-64/multiarch/memset.S
18396         (memset_z196): Rename to __memset_z196.
18397         Jump to __memset_mvcle instead of memset_mvcle.
18398         (memset_z10): Rename to __memset_z10.
18399         Jump to __memset_mvcle instead of memset_mvcle.
18400         (memset_mvcle) Rename to __memset_mvcle.
18401         (memset): Set alias to __memset_z900.
18403 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
18405         [BZ #17748]
18406         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
18407         __fesetenv instead of fesetenv.
18409 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18411         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
18412         macro.
18414 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18416         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
18417         regression on LE.
18419         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
18420         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
18421         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18422         strncmp-power8 object.
18423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18424         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
18425         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
18426         * NEWS: Update.
18428 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18429             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18431         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
18432         trailing byte check.
18434 2015-01-13  David S. Miller  <davem@davemloft.net>
18436         * include/signal.h (__sigreturn): Guard with __USE_MISC.
18438 2015-01-13  Roland McGrath  <roland@hack.frob.com>
18440         * login/logout.c (logout): Use memset rather than bzero.
18441         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
18442         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
18443         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
18444         (_gethtbyaddr): Likewise.
18445         * locale/programs/simple-hash.c (bcopy): Macro removed.
18447 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18449         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18450         Add strcmp-power8 object.
18451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18452         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
18453         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
18454         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
18455         __strcmp_power8 implementation.
18456         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
18457         * NEWS: Update.
18459         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18460         Add strncpy-power8 and stpncpy-power8 objects.
18461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18462         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
18463         implementations.
18464         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
18465         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
18466         __stpncpy_power8 implementation.
18467         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
18468         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
18469         __strncpy_power8 implementation.
18470         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
18471         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
18472         * NEWS: Update.
18474         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
18475         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
18476         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
18478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18479         strncat-power8 object.
18480         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
18481         __strcat_power8 implementation.
18482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18483         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
18484         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
18485         optimized strcat for power8.
18487         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18488         strcpy-power8 and stpcpy-power8 objects.
18489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18490         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
18491         implementations.
18492         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
18493         multiarch stpcpy implementation for POWER8.
18494         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
18495         multiarch strcpy implementation for POWER8.
18496         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
18497         __strcpy_power8 function.
18498         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
18499         stpcpy for POWER8.
18500         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
18501         strcpy for POWER8.
18502         * NEWS: Update.
18504 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
18506         [BZ #16009]
18507         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
18508         weights and rules. Use do_xfrm_cached if data fits in cache,
18509         do_xfrm otherwise.  Moved former main loop to...
18510         * (do_xfrm_cached): New function.
18511         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
18512         find_idx, find_position and stack_push.
18513         * (find_idx): New function.
18514         * (find_position): Likewise.
18515         * localedata/sort-test.sh: Added test run for do_xfrm.
18516         * localedata/xfrm-test.c (main): Added command line option
18517         -nocache to run the test with strings that are too large for
18518         the STRXFRM cache.
18520 2015-01-13  Torvald Riegel  <triegel@redhat.com>
18522         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
18523         variable to lll_futex_wake call, not the value itself.
18525 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
18527         [BZ #17803]
18528         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
18529         twom64.  Adjust value to 0x1p-64L.
18530         (__scalblnl): Only return standard underflowing result for K <=
18531         -64 not K <= -63; adjust exponent for underflowing result by 64
18532         not 63.
18533         * math/libm-test.inc (scalbn_test_data): Add more tests.
18534         (scalbln_test_data): Likewise.
18536         [BZ #17834]
18537         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
18538         0x1p63L.
18539         (__scalblnl): Get new exponent of adjusted subnormal value from ES
18540         not HX.
18541         * math/libm-test.inc (scalbn_test_data): Add more tests.
18542         (scalbln_test_data): Likewise.
18544 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18545             Stefani Seibold  <stefani@seibold.net>
18547         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
18548         (sysdep_routines): Add dl-vdso here, ...
18549         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
18550         (sysdep_routines): ... not here.
18551         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
18552         fallback when vDSO is not presented.
18553         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18554         Define with libc_hidden_proto/libc_hidden_data_def definitions.
18555         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
18556         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
18557         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
18558         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
18559         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
18560         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
18561         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
18562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
18563         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
18564         fallback configurable symbol when vDSO is not available.
18565         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
18566         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
18567         be able to redefine fallback symbol when vDSO is not available.
18568         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
18569         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
18571 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18573         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
18574         (TLS_INIT_TP): Add tm_capable initialization.
18575         (TLS_DEFINE_INIT_TP): Likewise.
18576         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
18577         TCB.
18578         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
18579         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
18580         calculation.
18581         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
18582         transactoion is lock elision is built and TCB tm_capable is set.
18583         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
18584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18585         (INTERNAL_SYSCALL_NCS): Likewise.
18586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18587         (INTERNAL_SYSCALL_NCS): Likewise.
18588         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
18590         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
18591         for powerpc.
18592         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18593         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
18594         and remove it for 32 bits case.
18595         [pthread_rwlock_t] (__rwelision): New field for lock elision.
18596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
18597         initialization.
18598         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
18599         Disable lock elision with rdlocks if elision is not available.
18601         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
18602         (sysdep_routines): Add lock elision objects.
18603         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18604         [pthread_mutex_t] (__spins): Rework to add lock elision field.
18605         [pthread_mutex_t] (__elision): Add field.
18606         [__PTHREAD_SPINS]: Adjust to init lock elision field.
18607         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
18608         elision definitions for powerpc.
18609         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
18610         implementation of lock elision for powerpc.
18611         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
18612         implementation of timed lock elision for powerpc.
18613         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
18614         implementation of trylock with lock elision for powerpc.
18615         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
18616         implementaion of unlock for lock elision for powerpc.
18617         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18618         automatic enable lock elision for mutexes.
18619         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18620         transaction execution definitions for powerpc.
18621         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18622         definitions.
18623         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18624         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18625         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18626         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18627         * NEWS: Update.
18629 2015-01-09  Roland McGrath  <roland@hack.frob.com>
18631         * sysdeps/posix/shm-directory.c: Use <> rather than ""
18632         for #include of <shm-directory.h>.
18634 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
18636         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18637         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18639 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
18641         [BZ #17791]
18642         * NEWS: Mention bug fix.
18643         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18644         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18645         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18647 2015-01-09  Torvald Riegel <triegel@redhat.com>
18649         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18651 2015-01-09  Torvald Riegel <triegel@redhat.com>
18653         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18655 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18657         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18658         pointer and cast to uintptr_t.
18660 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18662         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
18663         removed.
18664         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
18666 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18668         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
18669         of 0.
18671 2015-01-08  Roland McGrath  <roland@hack.frob.com>
18673         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
18674         <nptl/pthreadP.h> instead.
18675         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
18677         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
18678         already defined.
18679         [__SIGRTMIN] (init): Function removed.
18680         [__SIGRTMIN] (initialized): Variable removed.
18681         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
18682         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
18683         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
18684         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
18685         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
18686         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
18687         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
18688         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
18689         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
18690         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
18691         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18692         * sysdeps/nptl/allocrtsig.c: New file.
18693         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
18694         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
18695         * sysdeps/generic/testrtsig.h: File removed.
18697         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
18698         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
18700         * nptl/nptl-init.c (pthread_functions): Conditionalize
18701         .ptr__nptl_setxid initialization on [SIGSETXID].
18703         * sysdeps/nptl/sys/procfs.h: New file.
18704         * nptl_db/Makefile (headers): Add it.
18705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18707         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18708         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18709         * nptl/pthread_attr_setaffinity.c: Include it.
18710         * nptl/pthread_setattr_default_np.c: Likewise.
18711         * nptl/check-cpuset.h: New file.
18713 2015-01-08  Richard Henderson  <rth@redhat.com>
18715         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18716         (CFLAGS-tst-execstack-prog.c): Likewise.
18717         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18719 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
18720             Sandra Loosemore  <sandra@codesourcery.com>
18721             Andrew Jenner  <andrew@codesourcery.com>
18722             Joseph Myers  <joseph@codesourcery.com>
18723             Nathan Sidwell  <nathan@codesourcery.com>
18725         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18726         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18727         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18728         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18729         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18730         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18731         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18732         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18733         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18734         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18735         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18736         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18737         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18738         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18739         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18740         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18741         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18743 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18745         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18746         timespec struct member in syscall macro.
18747         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18748         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18749         first timeval struct member in syscall macro.
18750         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18752 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
18754         [BZ #17748]
18755         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18756         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18757         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18758         __feupdateenv and define as weak alias of __feupdateenv.  Use
18759         libm_hidden_weak.
18760         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18761         libm_hidden_def.
18762         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18763         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18764         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18765         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18766         libm_hidden_def.
18767         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18768         __feupdateenv and define as weak alias of __feupdateenv.  Use
18769         libm_hidden_weak.
18770         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18771         libm_hidden_def.
18772         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18773         __feupdateenv and define as weak alias of __feupdateenv.  Use
18774         libm_hidden_weak.
18775         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18776         libm_hidden_def.
18777         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18778         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18779         (__feupdateenv): Likewise.
18780         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18781         __feupdateenv and define as weak alias of __feupdateenv.  Use
18782         libm_hidden_weak.
18783         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18784         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18785         libm_hidden_def.
18786         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18787         function.
18788         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18789         libm_hidden_def.
18790         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18791         __feupdateenv instead of feupdateenv.
18792         (default_libc_feupdateenv_test): Likewise.
18793         (libc_feresetround_ctx): Likewise.
18795 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18797         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18798         prototype.
18800 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18802         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18803         COLL_SYM in a couple of places to avoid uninitialized variable
18804         wanings on tilegx gcc 4.8.2.
18806 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18808         * sysdeps/aarch64/strcpy.S: New file.
18809         * sysdeps/aarch64/stpcpy.S: New file.
18810         * NEWS: Updated.
18812 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18814         * sysdeps/aarch64/strrchr.S: New file.
18815         * NEWS: Updated.
18817 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18819         [BZ #17658]
18820         * stdlib/setenv.c: Fix memory leak when setting large,
18821         duplicate string.
18823 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18825         [BZ #17273]
18826         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18827         and tabs from buffer before parsing fstab entry.
18828         * misc/tst-mntent.c (main): Add test for mount entry with
18829         trailing spaces and tabs.
18831 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18833         [BZ #17748]
18834         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18835         * math/fesetround.c (fesetround): Rename to __fesetround and
18836         define as weak alias of __fesetround.  Use libm_hidden_weak.
18837         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18838         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18839         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18840         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18841         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18842         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18843         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18844         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18845         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18846         __fesetround_inline.
18847         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18848         __fesetround_inline instead of __fesetround.
18849         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18850         __fesetround and define as weak alias of __fesetround.  Use
18851         libm_hidden_weak.  Call __fesetround_inline instead of
18852         __fesetround.
18853         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18854         __fesetround and define as weak alias of __fesetround.  Use
18855         libm_hidden_weak.
18856         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18857         Likewise.
18858         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18859         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18860         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18861         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18862         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18863         __fesetround and define as weak alias of __fesetround.  Use
18864         libm_hidden_weak.
18865         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18866         __fesetround instead of fesetround.
18867         (default_libc_feholdexcept_setround): Likewise.
18868         (libc_feholdsetround_ctx): Likewise.
18869         (libc_feholdsetround_noex_ctx): Likewise.
18871         [BZ #17748]
18872         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18873         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18874         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18875         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18876         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18877         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18878         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18879         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18880         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18881         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18882         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18883         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18884         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18885         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18886         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18887         libm_hidden_def.
18888         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18889         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18890         Likewise.
18891         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18892         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18893         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18894         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18895         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18896         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18897         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18898         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18899         __fesetenv instead of fesetenv.
18900         (libc_feresetround_noex_ctx): Likewise.
18901         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18902         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18903         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18904         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18905         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18906         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18907         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18908         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18909         (__feupdateenv): Likewise.
18910         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18911         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18912         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18913         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18915 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18917         [BZ #17806]
18918         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18919         addresses have been freed.
18921 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18923         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18924         and nservall.
18926 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18928         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18929         Clean up check_pf allocation pattern. addresses
18931 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18933         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18934         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18935         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18936         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18937         * nptl/pthread_join.c (pthread_join): Likewise.
18938         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18939         * sysdeps/posix/waitid.c (__waitid): Likewise.
18940         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18941         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18942         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18943         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18944         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18945         Likewise.
18946         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18947         (__libc_pread64): Likewise.
18948         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18949         (__libc_pwrite): Likewise.
18950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18951         (__libc_pwrite64): Likewsie.
18952         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18953         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18954         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18955         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18956         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18957         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18958         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18960         Likewise.
18961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18962         (__libc_pread64): Likewise.
18963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18964         Likewise.
18965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18966         (__libc_pwrite64): Likewise.
18967         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18968         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18969         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18970         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18971         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18972         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18973         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18974         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18975         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18976         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18977         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18978         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18979         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18980         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18981         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18982         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18983         Likewise.
18985 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18987         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18988         (CFLAGS-test-double.c): Likewise.
18989         (CFLAGS-test-ldouble.c): Likewise.
18990         (CPPFLAGS-test-ifloat.c): Likewise.
18991         (CPPFLAGS-test-idouble.c): Likewise.
18992         (CPPFLAGS-test-ildoubl.c): Likewise.
18993         (CFLAGS-test-test-fenv.c): Remove variable.
18994         (CFLAGS-test-misc.c): Likewise.
18996 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18998         [BZ #17797]
18999         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19000         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19001         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19002         CLOCKS_PER_SEC == 1000000.
19003         * time/clocktest.c (main): Replace %ld with %jd and cast to
19004         intmax_t.
19006 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19008         * sysdeps/generic/unwind-resume.h: New file.
19009         * sysdeps/gnu/unwind-resume.c: Include it.
19010         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19011         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19012         argument list.
19013         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19014         global rather than static.
19015         (_Unwind_Resume): Update user.
19016         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19017         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19018         rather than static.  Add __attribute__ ((cold)).
19019         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19020         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19021         * sysdeps/arm/arm-unwind-resume.S: New file.
19022         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19023         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19024         * sysdeps/arm/Makefile [$(subdir) = csu]
19025         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19026         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19027         Add rt-arm-unwind-resume.
19028         [$(subdir) = nptl]
19029         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19030         Add pt-arm-unwind-resume.
19031         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19032         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19034 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19036         [BZ #17748]
19037         * include/fenv.h (__feholdexcept): Declare.  Use
19038         libm_hidden_proto.
19039         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19040         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19041         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19042         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19043         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19044         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19045         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19046         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19047         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19048         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19049         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19050         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19051         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19052         (feholdexcept): Likewise.
19053         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19054         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19055         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19056         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19057         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19058         __feholdexcept instead of feholdexcept.
19059         (default_libc_feholdexcept_setround): Likewise.
19061 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19063         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19064         to avoid using stl/str to align destination.
19066 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19068         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19070 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19072         [BZ #17796]
19073         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19074         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19075         Define as weak alias not strong alias.
19077 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19079         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19080         bltzal with addiupc.
19081         (RTLD_START): Ditto.
19083 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
19085         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19086         for __vdso_* functions in declarations.
19087         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19088         definitions.
19089         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19090         INTERNAL_VSYSCALL): Use struct return types to check for error.
19092         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19093         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19094         function with cast from llround().
19095         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19096         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19097         Define.
19099 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19101         [BZ #17793]
19102         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19103         Define as weak alias not strong alias.
19105         [BZ #17635]
19106         * ctype/ctype-c99.c: New file.  isblank implementation moved from
19107         ...
19108         * ctype/ctype-extn.c: ... here.
19109         (__isblank_l): Move to ...
19110         * ctype/ctype-c99_l.c: ... here.  New file.
19111         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19112         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19113         Remove variable.
19114         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19115         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19116         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19117         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19118         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19120         [BZ #17777]
19121         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19122         (posix_fadvise64): Define as weak alias not strong alias.
19123         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19124         (posix_fallocate64): Likewise.
19125         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19126         Remove variable.
19127         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19128         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19129         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19130         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19131         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19133 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
19135         [BZ #16191]
19136         * NEWS: Mention bug fix.
19137         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
19138         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
19139         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
19140         (HOST_STACK_END_ADDR): Likewise.
19142 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19144         [BZ #17748]
19145         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
19146         * math/fegetround.c (fegetround): Rename to __fegetround and
19147         define as weak alias of __fegetround.  Use libm_hidden_weak.
19148         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
19149         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
19150         * sysdeps/arm/fegetround.c (fegetround): Likewise.
19151         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
19152         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19153         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
19154         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
19155         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
19156         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19157         Undefine after rather than before function definition; use
19158         parentheses around function name in definition.
19159         (__fegetround): Also undefine macro after function definition.
19160         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
19161         __fegetround and define as weak alias of __fegetround.  Use
19162         libm_hidden_weak.  Do not undefine as macro.
19163         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19164         Likewise.
19165         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
19166         __fegetround and define as weak alias of __fegetround.  Use
19167         libm_hidden_weak.
19168         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19169         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19170         * sysdeps/tile/math_private.h (__fegetround): New inline function.
19171         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
19172         __fegetround and define as weak alias of __fegetround.  Use
19173         libm_hidden_weak.
19174         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
19175         __fegetround instead of fegetround.
19177         [BZ #17782]
19178         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
19179         Condition macro definition on [__USE_MISC].
19181         [BZ #17781]
19182         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19183         (struct sigaction): Change type of sa_flags field to int.
19185         [BZ #17780]
19186         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
19187         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
19188         __glibc_reserved0.
19190         * nptl/version.c (banner): Use single year in copyright notice.
19192         * NEWS: Update copyright dates.
19193         * catgets/gencat.c (print_version): Likewise.
19194         * csu/version.c (banner): Likewise.
19195         * debug/catchsegv.sh: Likewise.
19196         * debug/pcprofiledump.c (print_version): Likewise.
19197         * debug/xtrace.sh (do_version): Likewise.
19198         * elf/ldconfig.c (print_version): Likewise.
19199         * elf/ldd.bash.in: Likewise.
19200         * elf/pldd.c (print_version): Likewise.
19201         * elf/sotruss.sh: Likewise.
19202         * elf/sprof.c (print_version): Likewise.
19203         * iconv/iconv_prog.c (print_version): Likewise.
19204         * iconv/iconvconfig.c (print_version): Likewise.
19205         * locale/programs/locale.c (print_version): Likewise.
19206         * locale/programs/localedef.c (print_version): Likewise.
19207         * login/programs/pt_chown.c (print_version): Likewise.
19208         * malloc/memusage.sh (do_version): Likewise.
19209         * malloc/memusagestat.c (print_version): Likewise.
19210         * malloc/mtrace.pl: Likewise.
19211         * manual/libc.texinfo: Likewise.
19212         * nptl/version.c (banner): Likewise.
19213         * nscd/nscd.c (print_version): Likewise.
19214         * nss/getent.c (print_version): Likewise.
19215         * nss/makedb.c (print_version): Likewise.
19216         * posix/getconf.c (main): Likewise.
19217         * scripts/test-installation.pl: Likewise.
19218         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19220 2015-01-02  Will Newton  <will.newton@linaro.org>
19222         * sysdeps/arm/armv7/configure: Removed.
19223         * sysdeps/arm/armv7/configure.ac: Likewise.
19225 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19227         * All files with FSF copyright notices: Update copyright dates
19228         using scripts/update-copyrights.
19229         * intl/plural.c: Regenerated.
19230         * locale/programs/charmap-kw.h: Likewise.
19231         * locale/programs/locfile-kw.h: Likewise.
19233 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19235         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
19237 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19239         [BZ #17748]
19240         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
19241         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
19242         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19243         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19244         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19245         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
19246         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19247         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
19248         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19249         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19250         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19251         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19252         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19253         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19254         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
19255         libm_hidden_def.
19256         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
19257         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
19258         Likewise.
19259         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19260         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19261         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19262         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19263         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
19264         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19265         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19266         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
19267         __fegetenv instead of fegetenv.
19268         (libc_feholdsetround_noex_ctx): Likewise.
19270 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19272         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
19273         (Elf_MIPS_ABIFlags_v0): New structure.
19274         (EF_MIPS_FP64): Define.
19275         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
19276         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
19277         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
19278         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
19279         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
19280         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
19281         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
19282         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
19283         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
19284         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
19285         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
19286         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
19287         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
19288         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
19289         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
19290         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
19291         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
19292         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
19293         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
19294         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
19295         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
19296         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
19297         field.
19298         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
19299         EF_MIPS_FP64.
19300         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
19301         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
19302         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
19303         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
19304         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
19305         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
19306         * sysdeps/mips/tst-abi-interlink.c: Likewise.
19307         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
19308         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
19309         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
19310         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
19311         record the current FP ABI extension.
19312         (mips-mode-switch): Define to show if kernel headers support mode
19313         switching.
19314         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19315         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
19316         supported SYSV ABI version to 3.
19317         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
19318         feature.
19320 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19321             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19323         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
19324         path.
19325         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
19327 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19329         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
19330         __fegetround and redefine to call __fegetround.  Remove condition
19331         on [!__NO_MATH_INLINES].
19332         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
19333         function.
19334         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
19335         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19336         Remove macro.
19337         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
19338         instead of <fenv_libc.h>.
19339         (__llrintl): Call fegetround instead of __fegetround.
19340         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
19341         instead of <fenv_libc.h>.
19342         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19343         (__lrintl): Call fegetround instead of __fegetround.
19344         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
19345         instead of <fenv_libc.h>.
19346         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19347         (__rintl): Call fegetround instead of __fegetround.
19349 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19351         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
19352         arrays.
19354 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19356         [BZ #17775]
19357         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
19358         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
19359         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
19361 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19363         * sysdeps/i386/tls-macros.h: Include <features.h>.
19364         (TLS_LE): Use non-PIC version for GCC >= 5.0.
19365         (TLS_IE): Likewise.
19366         (TLS_LD): Likewise.
19367         (TLS_GD): Likewise.
19368         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
19369         define for GCC >= 5.0.
19371 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
19373         * math/test-fenv.c (test_single_exception, set_single_exc,
19374         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
19375         feexcp_mask_test, feenable_test, fe_single_test): Add
19376         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
19377         case where they are not used.
19378         * math/libm-test.inc: Likewise.
19379         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
19380         unused in the absence of FP rounding/exception support.
19381         * stdio-common/tst-printf-round.c: Likewise.
19382         * stdlib/tst-strtod-round.c: Likewise.
19383         * stdlib/tst-strtod-underflow.c: Likewise.
19385 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
19387         [BZ #17723]
19388         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
19389         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
19390         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19391         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19392         libm_hidden_weak.
19393         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
19394         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19395         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
19396         libm_hidden_def.
19397         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19398         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19399         libm_hidden_weak.
19400         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
19401         Likewise.
19402         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19403         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19404         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19405         libm_hidden_weak.
19406         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19407         libm_hidden_def.
19408         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19409         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
19410         (__feraiseexcept): Likewise.
19411         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19412         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19413         libm_hidden_weak.
19414         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19415         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19416         libm_hidden_def.
19417         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
19418         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
19419         Use libm_hidden_def.
19420         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
19421         libm_hidden_def.
19422         (feraiseexcept): Define as weak not strong alias.  Use
19423         libm_hidden_weak.
19424         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
19425         New inline function.  Factored out of ...
19426         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
19427         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
19428         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
19429         feraiseexcept.
19430         * math/w_acos.c (__acos): Likewise.
19431         * math/w_asin.c (__asin): Likewise.
19432         * math/w_ilogb.c (__ilogb): Likewise.
19433         * math/w_j0.c (y0): Likewise.
19434         * math/w_j1.c (y1): Likewise.
19435         * math/w_jn.c (yn): Likewise.
19436         * math/w_log.c (__log): Likewise.
19437         * math/w_log10.c (__log10): Likewise.
19438         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
19439         * sysdeps/aarch64/fpu/math_private.h
19440         (libc_feupdateenv_test_aarch64): Likewise.
19441         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19442         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
19443         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
19444         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19445         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19446         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19447         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
19448         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19449         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19450         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19452 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19454         [BZ #17732]
19455         * io/test-utime.c (main): Replace %ld with %jd and cast to
19456         intmax_t.
19457         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
19458         * nptl/tst-mutex5.c: Include <stdint.h>.
19459         (do_test): Replace %ld with %jd and cast to intmax_t.
19460         * posix/tst-regex.c (run_test): Likewise.
19461         (run_test_backwards): Likewise.
19462         * rt/tst-clock.c: Include <stdint.h>.
19463         (clock_test): Replace %ld with %jd and cast to intmax_t.
19464         * rt/tst-cpuclock1.c: Include <stdint.h>.
19465         (do_test): Replace %lu with %ju and cast to uintmax_t.
19466         * rt/tst-cpuclock2.c: Include <stdint.h>.
19467         (do_test): Replace %lu with %ju and cast to uintmax_t.
19468         * rt/tst-mqueue1.c: Include <stdint.h>.
19469         (check_attrs): Replace %ld with %jd and cast to intmax_t.
19470         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
19471         intmax_t.
19472         * rt/tst-mqueue4.c (do_test): Likewise.
19473         * rt/tst-timer4.c: Include <stdint.h>.
19474         (check_ts): Replace %ld with %jd and cast to intmax_t.
19475         (do_test): Likewise.
19476         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
19477         and cast to intmax_t.
19478         * sysdeps/pthread/tst-timer.c (main): Likewise.
19479         * time/clocktest.c (main): Likewise.
19480         * time/tst-posixtz.c (do_test): Likewise.
19481         * timezone/tst-timezone.c (main): Likewise.
19483 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19484             H.J. Lu  <hongjiu.lu@intel.com>
19486         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
19487         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19488         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
19489         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
19490         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
19491         version if bit_Fast_Unaligned_Load is set.
19492         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19493         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19494         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19495         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19496         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19497         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19499         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
19500         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
19501         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
19502         to 4.
19503         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
19504         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
19505         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
19506         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
19508 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
19510         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
19511         instead of #if to avoid a Wundef warning.
19512         * stdlib/tst-limits.c (do_test): Likewise.
19514         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
19515         parallel other exception macros.
19516         (fegetenv): Convert from macro to extern inline so that it applies
19517         retroactively to inline functions already seen by the compiler.
19518         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
19520         * posix/Makefile (before-compile): Use $(objpfx) for
19521         posix-conf-vars-def.h.
19523 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19525         * posix/getconf.c (main): Use size_t for type of I.
19526         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
19527         NSPEC.
19529         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
19530         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
19531         * posix/posix-envs.def: Likewise.
19532         * sysdeps/posix/sysconf.c: Likewise.
19533         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
19534         (specs): Remove array.
19535         * scripts/gen-posix-conf-vars.awk: Support generation of specs
19536         array.
19538         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
19539         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
19540         (__sysconf): Use CONF_IS_* macros.
19542         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
19543         ($(objpfx)posix-conf-vars-def.h): New target.
19544         * posix/posix-conf-vars.list: New file.
19545         * posix/posix-conf-vars.h: New file.
19546         * posix/confstr.c: Include posix-conf-vars.h.
19547         (confstr): Use CONF_IS_* macros.
19548         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
19549         CONF_IS_* macros.
19550         * scripts/gen-posix-conf-vars.awk: New file.
19552 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
19554         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
19555         fegetround): Add no-op macros to avoid linknamespace issues.
19557         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
19558         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
19560         * sysdeps/unix/sysv/linux/tile/sysdep.h
19561         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
19562         assembly-specific section to avoid a redefinition warning.
19564         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
19565         long before casting to pointer to avoid a cast warning.
19567 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
19569         * sysdeps/tile/tilegx/Implies: New file.
19571 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
19573         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
19575 2014-12-23  Florian Weimer  <fweimer@redhat.com>
19577         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
19579 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19581         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
19582         not define.
19583         * sysdeps/unix/sysv/linux/utimes.c: Do not include
19584         <kernel-features.h>.
19585         (__utimes) [__NR_utimes]: Make code unconditional.
19586         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
19587         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19588         (__ASSUME_UTIMES): Do not undefine.
19589         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19590         (__ASSUME_UTIMES): Likewise.
19591         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19592         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
19593         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
19594         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
19596 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19598         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
19600 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
19602         [BZ #17747]
19603         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
19604         alias to weak alias for j0l, y0l.
19605         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
19606         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
19608         [BZ #17746]
19609         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
19610         conversion.
19612 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19614         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
19615         to zero if not already defined.
19617 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19619         [BZ #17724]
19620         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19621         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
19622         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
19623         (char *) casts added.
19624         * sysdeps/ieee754/k_standardf.c: New file.
19625         * sysdeps/ieee754/k_standardl.c: Likewise.
19626         * math/Makefile (libm-support): Remove k_standard.
19627         (libm-calls): Add k_standard.
19629 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19631         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19632         Optimize to avoid an unnecessary FPCR read.
19634 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19636         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19637         Optimize to reduce FPCR/FPSR accesses.
19639 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19641         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19642         Call libc_fetestexcept_aarch64.
19644 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19646         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19647         Call libc_fesetround_aarch64.
19649 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19651         [BZ #17733]
19652         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19653         (__bind): Do not define as weak alias.
19654         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19655         define.
19656         (__getsockname): Do not define as weak alias.
19658 2014-12-22  Will Newton  <will.newton@linaro.org>
19660         * manual/install.texi: Document that we require bison 2.7
19661         or above.
19662         * INSTALL: Regenerate.
19663         * configure.ac: Use AC_CHECK_PROG_VER instead of
19664         AC_PATH_PROG when checking for bison and check for
19665         version 2.7 or above.
19666         * configure: Regenerate.
19668 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
19670         [BZ #17745]
19671         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
19672         * sysdeps/tile/ffsll.c (ffsll): To here.
19674         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
19676 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19678         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
19679         if not defined.
19680         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
19681         definition.
19682         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19683         hidden ___tls_get_addr.
19684         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19685         hidden __tls_get_addr.
19686         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19687         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19688         Likewise.
19690 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19692         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
19693         _dl_init call.
19695 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19697         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
19698         from "call _dl_init@PLT".
19699         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
19701 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
19703         * manual/search.texi: (Array Sort Function): Clarify stable sorting
19704         guarantees.
19706 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
19708         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19710 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19712         [BZ #17744]
19713         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19714         strnlen.
19716 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19718         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19719         of multu on MIPSr6.
19720         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19721         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19722         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19723         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19724         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19726 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19728         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19729         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19730         (PTR_SUBU): Use subu for mips32r6/mips64r6.
19731         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19732         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19733         mips32r6/mips64r6.
19734         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19736 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
19738         * string/strncat.c (STRNCAT): Simplify implementation.
19740 2014-12-19  David S. Miller  <davem@davemloft.net>
19742         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19743         access the quad as both a long double and as a series of 4 words.
19745         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19746         link_map->l_info array access.
19748 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19750         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19752         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19753         * math/atest-exp2.c (TIMEOUT): Likewise.
19754         * math/atest-sincos.c (TIMEOUT): Likewise.
19756 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19758         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19759         -Wno-error with -fno-builtin-lround.
19761 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19763         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19764         Contains futex constants and functions moved over from ...
19765         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19766         <lowlevellock-futex.h>.
19767         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19768         (lll_timedwait_tid): Add comments and parentheses around macro
19769         arguments.
19771 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19773         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19774         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19775         (__lll_private_flag): Remove.
19776         (lll_futex_wait): Likewise.
19777         (lll_futex_timed_wait): Likewise.
19778         (lll_futex_wake): Likewise.
19779         (lll_futex_requeue): Likewise.
19780         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19781         (__lll_timedwait_tid): Spell out argument names.
19782         (lll_timedwait_tid): Add comments and parentheses around macro
19783         arguments.
19784         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19785         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19787 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19789         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19790         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19791         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19792         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19793         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19794         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19795         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19796         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19797         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19798         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19799         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19800         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19801         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19802         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19803         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19804         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19805         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19806         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19807         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19809 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19811         * sysdeps/x86_64/x32/Makefile: New file.
19813 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19815         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19816         1L with (mp_limb_t) 1.
19818 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19820         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19821         * nptl/libc_pthread_init.c: ... here.
19822         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19823         * nptl/register-atfork.c: ... here.
19825         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19826         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19827         Use assert_perror to check its return value.
19828         (__gai_create_helper_thread): Likewise.
19830         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19832         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19834 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19836         [BZ #17725]
19837         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19838         __profil_counter.
19839         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19840         Likewise.
19841         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19842         Likewise.
19843         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19844         Likewise.
19845         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19846         (profil_counter): Likewise.
19847         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19848         (profil_counter): Likewise.
19849         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19850         Likewise.
19851         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19852         Likewise.
19853         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19854         (profil_counter): Likewise.
19855         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19856         Likewise.
19857         [!__profil_counter] (profil_counter): Define as weak alias of
19858         __profil_counter.
19859         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19860         (profil_counter): Rename to __profil_counter.
19861         [!__profil_counter] (profil_counter): Define as weak alias of
19862         __profil_counter.
19863         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19864         (profil_counter): Rename to __profil_counter.
19865         [!__profil_counter] (profil_counter): Define as weak alias of
19866         __profil_counter.
19867         * sysdeps/posix/profil.c: Update comment referring to
19868         profil_counter.
19869         (__profil): Use __profil_counter instead of profil_counter.
19870         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19871         __profil_counter.  Use __profil_counter_ushort and
19872         __profil_counter_uint in definitions.
19873         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19874         instead of profil_counter_uint and profil_counter_ushort.
19876         [BZ #17722]
19877         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19878         define as weak alias of __inet_makeaddr.
19879         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19880         as weak alias of __inet_addr.
19881         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19882         as weak alias of __inet_pton.  Use libc_hidden_weak.
19883         * include/arpa/inet.h (__inet_pton): Declare.  Use
19884         libc_hidden_proto.
19885         (inet_makeaddr): Don't use libc_hidden_proto.
19886         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19887         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19888         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19889         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19890         Remove variable.
19891         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19892         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19894 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19896         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19898 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19900         * stdio-common/bug-vfprintf-nargs.c (do_test):
19901         Cast value to intptr_t to avoid format warning
19902         for usage with PRIdPTR printing macro.
19904 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19906         * libio/tst-widetext.c (do_test):
19907         Use format type %td instead of %Zd for ptrdiff_t
19908         in order to avoid format warning.
19910 2014-12-17  Andreas Schwab  <schwab@suse.de>
19912         * nscd/mem.c (gc): Add size_t cast to match printf format.
19914 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19916         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19917         (init): Apply PTR_MANGLE to pointers before storing them.
19918         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19919         before using them.
19921 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19923         [BZ #17719]
19924         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19925         define as weak alias of __memrchr.
19926         (__memrchr): Do not define as strong alias of memrchr.
19927         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19928         Remove variable.
19929         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19930         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19931         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19933         [BZ #17717]
19934         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19935         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19936         (if_indextoname): Rename to __if_indextoname and define as weak
19937         alias of __if_indextoname.  Use libc_hidden_weak.
19938         (if_freenameindex): Rename to __if_freenameindex and define as
19939         weak alias of __if_freenameindex.
19940         (if_nameindex): Rename to __if_nameindex and define as weak alias
19941         of __if_nameindex.
19942         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19943         __if_nametoindex and define as weak alias of __if_nametoindex.
19944         Use libc_hidden_weak.
19945         (if_freenameindex): Rename to __if_freenameindex and define as
19946         weak alias of __if_freenameindex.
19947         (if_nameindex): Rename to __if_nameindex and define as weak alias
19948         of __if_nameindex.
19949         (if_indextoname): Rename to __if_indextoname and define as weak
19950         alias of __if_indextoname.  Use libc_hidden_weak.
19951         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19952         __if_nametoindex and define as weak alias of __if_nametoindex.
19953         Use libc_hidden_weak.
19954         (if_freenameindex): Rename to __if_freenameindex and define as
19955         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19956         (if_nameindex_netlink): Use __if_freenameindex instead of
19957         if_freenameindex.
19958         (if_nameindex): Rename to __if_nameindex and define as weak alias
19959         of __if_nameindex.  Use libc_hidden_weak.
19960         (if_indextoname): Rename to __if_indextoname and define as weak
19961         alias of __if_indextoname.  Use libc_hidden_weak.
19962         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19963         libc_hidden_proto.
19964         [!_ISOMAC] (__if_freenameindex): Likewise.
19965         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19966         if_nametoindex.
19967         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19968         variable.
19969         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19970         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19971         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19972         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19973         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19974         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19975         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19977         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19978         Remove variable.
19979         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19980         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19982 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19984         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19985         subscript above bounds'
19987         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19988         bounds.
19990 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19992         * libio/tst-fopenloc.c: Use test-skeleton.c.
19994         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19995         (entry): Rename to ITEM.
19996         (do_test, comp): Adjust.
19998         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20000 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20002         * string/tester.c: Include <libc-internal.h>.
20003         (test_memset): Ignore -Wmemset-transposed-args.
20005 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20007         * misc/tst-mntent2.c (do_test): Fix warning.
20009 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20011         * elf/tst-unique4lib.cc(a): Mark as used.
20013 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20015         [BZ #17630]
20016         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20017         names.
20019 2014-12-16  Allan McRae  <allan@archlinux.org>
20021         * stdio-common/Makefile (tests): Re-add bug26.
20023 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
20025         [BZ #17657]
20026         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20027         static array.
20029 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
20031         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20032         (__lll_lock_wait): Likewise.
20033         (__lll_timedlock_wait): Likewise.
20034         (__lll_timedwait_tid): Likewise.
20035         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20036         (__lll_robust_timedlock_wait): Likewise.
20037         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20038         (lll_cond_trylock): Likewise.
20039         (__lll_lock): Likewise.
20040         (__lll_robust_lock): Likewise.
20041         (__lll_cond_lock): Likewise.
20042         (lll_robust_cond_lock): Likewise.
20043         (__lll_timedlock): Likewise.
20044         (__lll_robust_timedlock): Likewise.
20045         (__lll_unlock): Likewise.
20046         (__lll_robust_unlock): Likewise.
20047         (lll_wait_tid): Likewise.
20048         (lll_timedwait_tid): Likewise.
20050 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20052         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20054 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20056         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20058 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20060         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20061         * stdio-common/tst-sprintf.c: Likewise.
20063 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20065         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20067 2014-12-15  Jeff Law  <law@redhat.com>
20069         [BZ #16617]
20070         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20071         on the heap.  (CVE-2012-3406)
20072         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20073         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
20074         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20076 2014-12-15  Will Newton  <will.newton@linaro.org>
20078         * manual/install.texi: Bump required version of texinfo
20079         to 4.7 from 4.5.
20080         * INSTALL: Regenerated.
20081         * configure.ac: Check for makeinfo version 4.7 and above.
20082         * configure: Regenerated.
20084 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20086         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20087         PREFIX, string constant to insert between directory and name.
20088         * sysdeps/posix/shm_open.c: Update caller.
20089         * sysdeps/posix/shm_unlink.c: Likewise.
20090         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20091         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20092         (SEM_SHM_PREFIX): New macro.
20093         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20094         [$(have-thread-library) = no].
20095         * nptl/Makefile (libpthread-routines): Add shm-directory.
20096         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20097         * sysdeps/nptl/shm-directory.h: New file.
20098         * sysdeps/posix/shm-directory.c
20099         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20100         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20101         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20102         INTERNAL_SYSCALL.
20103         (__where_is_shmfs): Function removed.
20104         (mountpoint, defaultmount, defaultdir, __namedsem_once):
20105         Variables removed.
20106         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20107         Use SHM_GET_NAME.
20108         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
20110         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20111         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20112         unconditional for use inside libpthread.
20113         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20115 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20117         * nptl/pthread_getaffinity.c: New file.
20118         * nptl/pthread_setaffinity.c: New file.
20119         * nptl/pthread_getname.c: New file.
20120         * nptl/pthread_setname.c: New file.
20122         * nptl/pthread_create.c (START_THREAD_DEFN)
20123         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20125 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20126             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20128         * resolv/res_send.c (send_vc): Disable warning resplen may
20129         be used uninitialized.
20131 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20133         * nptl/tst-mutex6.c
20134         (ATTR_NULL): New define checks ATTR against NULL.
20135         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
20136         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
20138 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
20140         [BZ #17581]
20141         * malloc/hooks.c
20142         (mem2mem_check): Revert my previous change.
20143         (malloc_check_get_size): Revert my previous change.
20144         (mem2chunk_check): Revert my previous change.
20146 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20148         * sysdeps/posix/shm-directory.c: New file.
20149         * sysdeps/posix/shm-directory.h: New file.
20150         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
20151         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
20152         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
20153         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
20154         Transmute EPERM to EACCES.
20155         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
20156         from ...
20157         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
20158         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
20160 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20162         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
20163         pointer and cast to uintptr_t.
20164         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
20165         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
20166         Add cast to avoid warning.
20167         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
20169 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20171         * nptl/semaphore.h: Move to ...
20172         * sysdeps/pthread/semaphore.h: ... here.
20173         * Makefile (installed-headers): Change nptl/semaphore.h to
20174         sysdeps/pthread/semaphore.h.
20176 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20178         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
20179         generated error format strings.
20181         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
20182         -Wformat-extra-args warnings for scanf formats.
20183         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
20184         test of zero-length format (duh).
20185         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
20186         corner-case scanf format test.
20187         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
20188         generated fprintf format string.
20189         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
20190         corner-case sprintf format tests.
20191         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
20192         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
20193         -Wformat-extra-args warnings throughout.
20194         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20195         (CFLAGS-scanf4.c): Likewise.
20196         (CFLAGS-scanf7.c): Likewise.
20197         (CFLAGS-tst-sprintf.c): Likewise.
20198         (CFLAGS-tst-printf.c): Likewise.
20199         (CFLAGS-tst-printfsz.c): Likewise.
20201 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20203         * include/cpio.h: New file.
20204         * include/fmtmsg.h: Likewise.
20206         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
20207         corresponding format argument to size_t.
20208         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
20209         arguments.
20210         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
20211         corresponding format argument to size_t.
20212         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
20213         arguments.
20214         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
20215         corresponding format argument to size_t.
20216         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
20217         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
20218         (CFLAGS-tst-mbswcs2.c): Likewise.
20219         (CFLAGS-tst-mbswcs3.c): Likewise.
20220         (CFLAGS-tst-mbswcs4.c): Likewise.
20221         (CFLAGS-tst-mbswcs5.c): Likewise.
20222         (CFLAGS-tst-trans.c): Likewise.
20224 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20226         * posix/regexbug1.c (main): Use "%s" format with regerror results,
20227         rather than assuming they won't contain any '%'s.
20229 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
20231         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
20232         inhibit_loop_to_libcall to avoid recursive calls.
20233         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
20234         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
20236 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20238         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
20239         prototype.
20241 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20243         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
20244         integer value instead of boolean.
20246 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20248         * malloc/malloc.c: Fix powerof2 check.
20250 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20252         * locale/programs/locfile.h (maybe_swap_uint32):
20253         Remove inline and add unused attribute.
20255 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20257         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20258         Truncating assembler expression to a .long expression.
20260 2014-12-11  Andreas Schwab  <schwab@suse.de>
20262         * elf/rtld.c (struct map_args): Constify str member.
20263         (do_preload): Constify fname argument.
20265 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
20268         constants definition.
20270 2014-12-11  Andreas Schwab  <schwab@suse.de>
20272         [BZ #16657]
20273         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
20274         FORCE_ELISION instead of DO_ELISION.
20275         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
20276         Remove.
20277         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
20278         Likewise.
20280         * iconvdata/gconv-modules: Remove duplicate entry.
20282 2014-12-11  Will Newton  <will.newton@linaro.org>
20284         Merge gettext 0.19.3 into intl/.
20286         This involves a number of cosmetic changes to comments
20287         and ANSI function definitions and prototypes throughout
20288         all the files. The gettext copyright header is used but
20289         with the date ranges taken from the glibc copy.
20291         * NEWS: Add gettext merge to 2.21.
20292         * intl/bindtextdom.c: Switch to gettext copyright.
20293         Use ANSI definitions and prototypes.
20294         Use gl_* locking primitives rather than __libc_* ones.
20295         Use __builtin_expect rather than __glibc_likely/unlikely.
20296         * intl/dcgettext.c: Switch to gettext copyright.
20297         Use ANSI definitions and prototypes.
20298         * intl/dcigettext.c: Switch to gettext copyright.
20299         Use ANSI definitions and prototypes.
20300         (INTDIV0_RAISES_SIGFPE): New define.
20301         Use gl_* locking primitives rather than __libc_* ones.
20302         Include eval-plural.h instead of plural-eval.c.
20303         Use __builtin_expect rather than __glibc_likely/unlikely.
20304         * intl/dcngettext.c: Switch to gettext copyright.
20305         Use ANSI definitions and prototypes.
20306         * intl/dgettext.c: Likewise.
20307         * intl/dngettext.c: Likewise.
20308         * intl/plural-eval.c: Renamed to...
20309         * intl/eval-plural.h: ...this.
20310         * intl/explodename.c: Switch to gettext copyright.
20311         Use ANSI definitions and prototypes.
20312         (_nl_explode_name): Use strchr instead of __rawmemchr.
20313         * intl/finddomain.c: Switch to gettext copyright.
20314         Use ANSI definitions and prototypes.
20315         Use gl_* locking primitives rather than __libc_* ones.
20316         (_nl_find_domain): Use malloc rather than alloca for
20317         allocation of temporary locale name.
20318         * intl/gettext.c: Switch to gettext copyright.
20319         Use ANSI definitions and prototypes.
20320         * intl/gettextP.h: Switch to gettext copyright.
20321         Use ANSI definitions and prototypes.
20322         Use gl_* locking primitives rather than __libc_* ones.
20323         * intl/gmo.h: Switch to gettext copyright.
20324         (struct sysdep_string): Move struct segment_pair outside of
20325         struct definition.
20326         * intl/hash-string.c: Use ANSI definitions and prototypes.
20327         * intl/hash-string.h: Switch to gettext copyright.
20328         Use ANSI definitions and prototypes.
20329         * intl/l10nflist.c: Switch to gettext copyright.
20330         Use ANSI definitions and prototypes.
20331         (_nl_normalize_codeset): Avoid integer overflow.
20332         * intl/loadinfo.h: Switch to gettext copyright.
20333         Use ANSI definitions and prototypes.
20334         (LIBINTL_DLL_EXPORTED): New define.
20335         (PATH_SEPARATOR): New define.
20336         * intl/loadmsgcat.c: Switch to gettext copyright.
20337         * intl/localealias.c: Switch to gettext copyright.
20338         Use ANSI definitions and prototypes.
20339         (_nl_expand_alias): Use PATH_SEPARATOR.
20340         * intl/ngettext.c: Switch to gettext copyright.
20341         Use ANSI definitions and prototypes.
20342         * intl/plural-exp.c: Likewise.
20343         * intl/plural-exp.h: Switch to gettext copyright.
20344         Use ANSI definitions and prototypes.
20345         (struct expression): Move definition of enum operator outside
20346         of struct definition.
20347         * intl/plural.c: Regenerate.
20348         * intl/plural.y: Switch to gettext copyright.
20349         Use ANSI definitions and prototypes.
20350         Port to bison 3.0.
20351         * intl/textdomain.c: Switch to gettext copyright.
20352         Use ANSI definitions and prototypes.
20353         Use gl_* locking primitives rather than __libc_* ones.
20355 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
20357         * debug/warning-nop.c: Add used atrribute.
20359 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20361         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
20363         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
20364         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
20365         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
20367 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20368             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20370         [BZ #17634]
20371         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
20372         Undefine after defining function.  Define as weak alias of
20373         __wcschr.  Use libc_hidden_weak.
20374         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
20375         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
20376         (libc_hidden_def): Also define __GI___wcschr alias.
20377         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
20378         __wcschr and define as weak alias of __wcschr.
20379         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
20380         __wcschr.
20381         [!WCSCHR] (DEFAULT_WCSCHR): Define.
20382         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
20383         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
20384         libc_hidden_weak.  Do not use libc_hidden_def.
20385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
20386         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
20387         __GI___wcschr alias.
20388         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
20389         [IS_IN (libc)] (wcschr): Define as macro expanding to
20390         __redirect_wcschr.
20391         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
20392         [IS_IN (libc)] (__wcschr_power6): Likewise.
20393         [IS_IN (libc)] (__wcschr_power7): Likewise.
20394         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
20395         instead of wcschr.
20396         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
20397         __libc_wcschr.
20398         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
20399         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
20400         __wcschr and define as weak alias of __wcschr.  Use
20401         libc_hidden_builtin_def.
20402         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
20403         as weak alias of __wcschr.  Use libc_hidden_weak.
20404         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
20405         wcschr.
20406         * time/era.c (_nl_init_era_entries): Likewise.
20407         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
20408         variable.
20409         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20410         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20412 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20414         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
20415         format for long int variable.
20417 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
20419         [BZ #10672]
20420         * manual/search.texi: (Array Sort Function): Remove claim how to make
20421         qsort stable.
20423 2014-12-10  Andreas Schwab  <schwab@suse.de>
20425         [BZ #12847]
20426         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
20427         user-controlled locks.
20429 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
20431         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
20432         register.
20434 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20436         * configure.ac (--disable-werror): New configure option.
20437         (enable_werror): New AC_SUBST.
20438         * configure: Regenerated.
20439         * config.make.in (enable-werror): New variable.
20440         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
20441         -Wno-error=undef.
20442         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
20443         * manual/install.texi (Configuring and compiling): Document
20444         --disable-werror.
20445         * INSTALL: Regenerated.
20446         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
20447         (CFLAGS-tst-chk2.c): Likewise.
20448         (CFLAGS-tst-chk3.c): Likewise.
20449         (CFLAGS-tst-chk4.cc): Likewise.
20450         (CFLAGS-tst-chk5.cc): Likewise.
20451         (CFLAGS-tst-chk6.cc): Likewise.
20452         (CFLAGS-tst-lfschk1.c): Likewise.
20453         (CFLAGS-tst-lfschk2.c): Likewise.
20454         (CFLAGS-tst-lfschk3.c): Likewise.
20455         (CFLAGS-tst-lfschk4.cc): Likewise.
20456         (CFLAGS-tst-lfschk5.cc): Likewise.
20457         (CFLAGS-tst-lfschk6.cc): Likewise.
20459         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
20460         (main): Disable -Wdeprecated-declarations around calls to
20461         register_printf_function.
20463         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
20464         (do_test): Disable -Wdiv-by-zero around some calls to
20465         fwrite_unlocked and fread_unlocked.
20467         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
20468         (DIAG_POP_NEEDS_COMMENT): Likewise.
20469         (_DIAG_STR1): Likewise.
20470         (_DIAG_STR): Likewise.
20471         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
20472         * stdio-common/bug21.c: Include <libc-internal.h>.
20473         (do_test): Disable -Wformat around call to sscanf.
20474         * stdio-common/scanf14.c: Include <libc-internal.h>.
20475         (main): Disable -Wformat around some calls to scanf functions.
20477 2014-12-09  Torvald Riegel  <triegel@redhat.com>
20479         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
20481 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20483         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
20484         stack variable alignment.
20486 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
20488         [BZ #17682]
20489         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
20490         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
20491         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
20492         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
20493         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
20494         __getrlimit instead of getrlimit.
20495         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
20496         __gettimeofday instead of gettimeofday.
20497         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20498         Likewise.
20499         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20500         Likewise.
20501         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20502         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
20503         Remove variable.
20504         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20505         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20507 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20509         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
20510         for wide-character tests.
20512 2014-12-04  Roland McGrath  <roland@hack.frob.com>
20514         * io/openat64.c: #include <libc-internal.h>
20515         (__openat64): Prototypify.  Use ignore_value on MODE.
20516         * io/openat.c: Likewise.
20517         * misc/reboot.c: #include <libc-internal.h>
20518         (reboot): Prototypify.  Use ignore_value on HOWTO.
20519         * misc/ptrace.c: #include <libc-internal.h>
20520         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
20522 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
20524         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
20525         XPG4, UNIX98 and XOPEN2K.
20526         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
20527         Remove variable.
20528         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20530 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20532         * libio/fileops.c: Use ISO C style for function definitions.
20533         * libio/iofopen.c: Likewise.
20534         * libio/wfileops.c: Likewise.
20536         [BZ #17653]
20537         * libio/fileops.c (_IO_new_file_underflow): Unset cached
20538         offset on EOF.
20539         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20540         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
20541         (fgets_func): Function pointer to fgets and fgetws.
20542         (do_ftell_test): Add test to verify ftell value after read
20543         EOF.
20544         (do_test): Set fgets_func.
20546         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
20547         O_TRUNC flag for w and w+ modes.
20548         (do_rewind_test): Likewise.
20549         (do_ftell_test): Likewise.
20550         (do_write_test): Likewise.
20552         [BZ #17647]
20553         * libio/fileops.c (do_ftell): Seek only when there are
20554         unflushed writes.
20555         * libio/wfileops.c (do_ftell_wide): Likewise.
20556         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
20557         test case.
20558         (do_one_test): Call it.
20560 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
20562         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
20563         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
20564         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
20565         Remove variable.
20566         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20567         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20568         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20570 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20572         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
20573         Remove variable.
20574         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20576         [BZ #17668]
20577         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
20578         as weak alias of __getifaddrs.  Use libc_hidden_weak.
20579         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20580         __freeifaddrs.  Use libc_hidden_weak.
20581         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
20582         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
20583         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20584         __freeifaddrs.  Use libc_hidden_weak.
20585         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
20586         __getifaddrs and define as weak alias of __getifaddrs.  Use
20587         libc_hidden_weak.
20588         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20589         __freeifaddrs.  Use libc_hidden_weak.
20590         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
20591         Remove variable.
20592         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20593         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20595 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20597         [BZ #17601]
20598         * sysdeps/mips/start.S (__start): Use indirect jump to call
20599         __libc_start_main.
20601 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20603         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
20605         * nptl/tst-mutex1.c: Include <stdbool.h>.
20606         [!ATTR] (ATTR_NULL): New macro.
20607         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
20608         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
20609         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
20611         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
20612         to char *.
20614         [BZ #17665]
20615         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
20616         Change conditional to [__USE_MISC].
20618         [BZ #17664]
20619         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20620         fgets_unlocked.
20621         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20622         __fgets_unlocked.
20623         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20624         fgets_unlocked.
20625         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20626         Remove variable.
20627         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20628         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20629         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20630         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20631         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20632         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20633         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20634         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20635         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20637         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20639 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20641         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20642         Remove strpbrk objects.
20643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20644         (__libc_ifunc_impl_list): Remove strpbrk implementation.
20645         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20646         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20647         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20648         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20650         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20651         Remove strcspn objects.
20652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20653         (__libc_ifunc_impl_list): Remove strcspn implementation.
20654         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20655         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20656         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20657         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20659         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20660         Remove strspn objetcs.
20661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20662         (__libc_ifunc_impl_list): Remove strspn implementation.
20663         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
20664         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20665         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
20666         * sysdeps/powerpc/powerpc64/strspn.S: New file.
20668 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
20670         [BZ #17581]
20671         * malloc/hooks.c
20672         (mem2mem_check): Add a terminator to the chain of checking blocks.
20673         (malloc_check_get_size): Use it here.
20674         (mem2chunk_check): Ditto.
20676 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20678         * sysdeps/powerpc/powerpc64/strtok.S: New file.
20679         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
20681 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
20683         * bits/ioctl-types.h: Indent preprocessor directives correctly.
20685         * nptl/nptl-init.c: Include libc-internal.h.
20686         (__pthread_initialize_minimal_internal): Use ROUND_UP.
20688         * elf/ldconfig.c (search_dir): Expand comment.
20690 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
20692         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
20693         variable.
20694         (linknamespace-symlist-stdlibs-tests): Likewise.
20695         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
20696         instead of $(objpfx)symlist-stdlibs.
20697         (linknamespace-libs-isoc): New variable.
20698         (linknamespace-libs): Use $(linknamespace-libs-isoc).
20699         (linknamespace-libs-ISO): New variable.
20700         (linknamespace-libs-ISO99): Likewise.
20701         (linknamespace-libs-ISO11): Likewise.
20702         (linknamespace-libs-XPG3): Likewise.
20703         (linknamespace-libs-XPG4): Likewise.
20704         (linknamespace-libs-POSIX): Likewise.
20705         (linknamespace-libs-UNIX98): Likewise.
20706         (linknamespace-libs-XOPEN2K): Likewise.
20707         (linknamespace-libs-POSIX2008): Likewise.
20708         (linknamespace-libs-XOPEN2K8): Likewise.
20709         ($(objpfx)symlist-stdlibs): Replace by
20710         $(linknamespace-symlist-stdlibs-tests).  Use
20711         $(linknamespace-libs-$*) as set of libraries.
20712         ($(linknamespace-header-tests)): Update dependencies.  Use
20713         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20714         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20715         * conform/linknamespace.pl: Remove comment about considering
20716         definitions of symbols from irrelevant libraries.
20718 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
20720         [BZ #13862]
20721         * elf/dl-tls.c: Include <atomic.h>.
20722         (oom): Remove #ifdef SHARED/#endif.
20723         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20724         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
20725         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20726         big enough.
20727         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20728         * nptl/Makefile (tests): Add tst-stack4.
20729         (modules-names): Add tst-stack4mod.
20730         ($(objpfx)tst-stack4): New.
20731         (tst-stack4mod.sos): Likewise.
20732         ($(objpfx)tst-stack4.out): Likewise.
20733         ($(tst-stack4mod.sos)): Likewise.
20734         (clean): Likewise.
20735         * nptl/tst-stack4.c: New file.
20736         * nptl/tst-stack4mod.c: Likewise.
20738 2014-11-27  J. Brown  <jb999@gmx.de>
20740         * sysdeps/x86/bits/string.h: Add recent CPUs.
20742 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20744         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20745         sigblock.
20747         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20748         feof.
20750         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20751         variable.
20753 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20755         * nscd/connections.c: Include libc-internal.h because of macro
20756         usage ignore_value.
20758 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20760         * string/bits/string3.h (__warn_memset_zero_len): Don't
20761         declare for gcc newer than 5.0.
20762         (memset): Don't test for zero-length __LEN for gcc newer than
20763         5.0.
20765 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20767         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20768         size_t for %zu format.
20770         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20771         difference, not %ju.
20773 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20775         * include/libc-internal.h (ignore_value): New macro.
20776         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20777         with ignore_value.
20779         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20780         definition.
20782         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20783         pthread_cleanup_push to void *.
20785         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20786         Undefine.
20788         [BZ #16619]
20789         [BZ #16740]
20790         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20791         instead of 1L << 52.
20793         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20794         * libio/bug-rewind2.c (do_test): Likewise.
20796         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20797         * debug/test-strcpy_chk-ifunc.c: Likewise.
20798         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20799         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20800         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20801         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20802         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20803         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20804         * Rules [$(multi-arch) = no] (tests): Do not filter out
20805         $(tests-ifunc).
20806         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20807         * debug/Makefile (tests-ifunc): Remove variable.
20808         (tests): Do not add $(tests-ifunc).
20809         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20810         (tests): Do not add $(tests-ifunc).
20811         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20812         [TEST_IFUNC]: Remove conditionals.
20813         * string/test-string.h (TEST_IFUNC): Remove macro.
20814         [TEST_IFUNC]: Remove conditionals.
20816         * string/test-strchr.c [!WIDE] (L): New macro.
20817         [WIDE] (L): Likewise.
20818         (check1): Use CHAR instead of char.  Use L on string and character
20819         constants.
20821 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20823         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20824         tests.
20825         * sysdeps/powerpc/bits/atomic.h
20826         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20827         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20828         (atomic_exchange_and_add_acq): Likewise.
20829         (atomic_exchange_and_add_rel): Likewise.
20830         * sysdeps/powerpc/powerpc32/bits/atomic.h
20831         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20832         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20833         * sysdeps/powerpc/powerpc64/bits/atomic.h
20834         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20835         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20837 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20839         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20840         Change synchronization of __sched_fifo_min_prio and
20841         __sched_fifo_max_prio.
20842         * nptl/pthread_mutexattr_getprioceiling.c
20843         (pthread_mutexattr_getprioceiling): Likewise.
20844         * nptl/pthread_mutexattr_setprioceiling.c
20845         (pthread_mutexattr_setprioceiling): Likewise.
20846         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20847         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20848         Likewise.
20850 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20852         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20853         void.
20855 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20857         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20858         third argument const.
20860 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20862         fnmatch: work around GCC compiler warning bug with uninit var
20863         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20864         This works around a bug with x86-64 GCC 4.9.2 and earlier
20865         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20866         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20867         used uninitialized in this function [-Wmaybe-uninitialized]".
20869 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20871         * posix/bug-regex31.c (main): Return RES not 0.
20873 2014-11-25  Anton Blanchard <anton@samba.org>
20875         * sysdeps/powerpc/bits/atomic.h
20876         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20878 2014-11-24  Sterling Augustine  <saugustine@google.com>
20880         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20882 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20884         [BZ #17608]
20885         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20887 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20889         [BZ #17633]
20890         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20891         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20892         variable.
20893         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20894         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20896 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20898         * string/strncpy.c (strncpy): Improve performance by using memset.
20900 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20902         * string/strcpy.c (strcpy):
20903         Improve performance by using strlen and memcpy.
20905 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20907         * string/strcoll_l.c (get_next_seq): __always_inline.
20908         * string/strcoll_l.c (do_compare): __always_inline.
20910 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20912         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20913         defined.
20914         * include/mqueue.h: Likewise.
20915         * include/stdlib.h: Likewise.
20917         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20918         (get_null_defines): Adjust.
20919         * sunrpc/Makefile: Adjust comment.
20920         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20921         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20922         (CFLAGS-interp.c): Likewise.
20923         (CFLAGS-ldconfig.c): Likewise.
20924         (CPPFLAGS-.os): Likewise.
20925         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20926         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20927         * extra-modules.mk (extra-modules.mk): Likewise.
20928         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20929         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20930         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20931         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20932         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20933         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20934         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20935         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20936         * iconvdata/Makefile (CPPFLAGS): Likewise.
20937         (cpp-srcs-left): Add libof for all iconvdata routines.
20938         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20939         * include/assert.h: Likewise.
20940         * include/ctype.h: Likewise.
20941         * include/errno.h: Likewise.
20942         * include/libc-symbols.h: Likewise.
20943         * include/math.h: Likewise.
20944         * include/netdb.h: Likewise.
20945         * include/resolv.h: Likewise.
20946         * include/stdio.h: Likewise.
20947         * include/stdlib.h: Likewise.
20948         * include/string.h: Likewise.
20949         * include/sys/stat.h: Likewise.
20950         * include/wctype.h: Likewise.
20951         * intl/l10nflist.c: Likewise.
20952         * libidn/idn-stub.c: Likewise.
20953         * libio/libioP.h: Likewise.
20954         * nptl/libc_multiple_threads.c: Likewise.
20955         * nptl/pthreadP.h: Likewise.
20956         * posix/regex_internal.h: Likewise.
20957         * resolv/res_hconf.c: Likewise.
20958         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20959         * sysdeps/arm/memmove.S: Likewise.
20960         * sysdeps/arm/sysdep.h: Likewise.
20961         * sysdeps/generic/_itoa.h: Likewise.
20962         * sysdeps/generic/symbol-hacks.h: Likewise.
20963         * sysdeps/gnu/errlist.awk: Likewise.
20964         * sysdeps/gnu/errlist.c: Likewise.
20965         * sysdeps/i386/i586/memcpy.S: Likewise.
20966         * sysdeps/i386/i586/memset.S: Likewise.
20967         * sysdeps/i386/i686/memcpy.S: Likewise.
20968         * sysdeps/i386/i686/memmove.S: Likewise.
20969         * sysdeps/i386/i686/mempcpy.S: Likewise.
20970         * sysdeps/i386/i686/memset.S: Likewise.
20971         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20972         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20973         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20974         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20975         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20976         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20977         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20978         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20979         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20980         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20981         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20982         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20983         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20984         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20985         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20987         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20988         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20989         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20990         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20991         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20992         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20993         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20994         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20995         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20996         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20997         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20998         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20999         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21000         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21001         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21002         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21003         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21004         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21005         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21006         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21007         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21008         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21009         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21010         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21011         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21012         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21013         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21014         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21015         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21016         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21017         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21018         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21019         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21020         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21021         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21022         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21023         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21024         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21025         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21026         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21027         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21028         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21029         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21030         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21031         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21032         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21033         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21034         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21035         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21036         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21037         * sysdeps/posix/closedir.c: Likewise.
21038         * sysdeps/posix/opendir.c: Likewise.
21039         * sysdeps/posix/readdir.c: Likewise.
21040         * sysdeps/posix/rewinddir.c: Likewise.
21041         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21042         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21043         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21044         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21045         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21046         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21047         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21050         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21052         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21053         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21054         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21055         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21056         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21057         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21058         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21059         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21061         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21062         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21063         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21064         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21065         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21066         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21068         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21069         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21076         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21077         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21078         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21079         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21080         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21081         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21082         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21083         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21084         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21085         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21086         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21087         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21088         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21089         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21090         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21091         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21092         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21093         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21094         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21095         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21096         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21097         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21098         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21099         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21100         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21101         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21102         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21103         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21104         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21105         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21106         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21107         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21108         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21109         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21110         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21111         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21112         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21113         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21114         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21115         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21116         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21117         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21118         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21119         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21120         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21121         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21122         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21123         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21124         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21125         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21126         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21127         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21128         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21129         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21130         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21131         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
21132         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
21133         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
21134         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21135         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
21137         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21138         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21139         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
21140         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
21141         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21142         * sysdeps/unix/alpha/sysdep.S: Likewise.
21143         * sysdeps/unix/alpha/sysdep.h: Likewise.
21144         * sysdeps/unix/make-syscalls.sh: Likewise.
21145         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21146         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21147         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21148         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
21149         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21150         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21151         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
21152         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21153         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21154         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
21155         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21156         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21157         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21158         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21159         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21160         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21161         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21162         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21163         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21164         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21165         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21166         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21167         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21168         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21169         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21170         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21171         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21174         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
21175         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21176         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21178         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21179         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21181         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21182         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21183         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21184         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21185         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21186         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21187         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21188         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21189         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21190         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21192         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21193         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21195         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21196         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21197         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21198         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21199         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21200         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21201         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21203         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
21204         * sysdeps/x86_64/memcpy.S: Likewise.
21205         * sysdeps/x86_64/memmove.c: Likewise.
21206         * sysdeps/x86_64/memset.S: Likewise.
21207         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
21208         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21209         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21210         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
21211         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
21212         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21213         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21214         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21215         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21216         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21217         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21218         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21219         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
21220         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21221         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21222         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
21223         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21224         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21225         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21226         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21227         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
21228         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21229         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21230         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21231         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21232         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21233         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21234         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
21235         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21236         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21237         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
21238         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21239         * sysdeps/x86_64/strcmp.S: Likewise.
21241         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
21243         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
21244         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
21245         * elf/rtld-Rules: Likewise.
21246         * elf/setup-vdso.h: Likewise.
21247         * include/assert.h: Likewise.
21248         * include/bits/stdlib-float.h: Likewise.
21249         * include/errno.h: Likewise.
21250         * include/sys/stat.h: Likewise.
21251         * include/unistd.h: Likewise.
21252         * sysdeps/aarch64/setjmp.S: Likewise.
21253         * sysdeps/alpha/setjmp.S: Likewise.
21254         * sysdeps/arm/__longjmp.S: Likewise.
21255         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
21256         * sysdeps/arm/setjmp.S: Likewise.
21257         * sysdeps/arm/sysdep.h: Likewise.
21258         * sysdeps/generic/_itoa.h: Likewise.
21259         * sysdeps/generic/dl-sysdep.h: Likewise.
21260         * sysdeps/generic/ldsodefs.h: Likewise.
21261         * sysdeps/i386/dl-tls.h: Likewise.
21262         * sysdeps/i386/setjmp.S: Likewise.
21263         * sysdeps/m68k/setjmp.c: Likewise.
21264         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
21265         * sysdeps/mach/hurd/opendir.c: Likewise.
21266         * sysdeps/posix/getcwd.c: Likewise.
21267         * sysdeps/posix/opendir.c: Likewise.
21268         * sysdeps/posix/profil.c: Likewise.
21269         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21270         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21271         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21272         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21273         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21274         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
21275         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21276         * sysdeps/s390/dl-tls.h: Likewise.
21277         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21278         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21279         * sysdeps/sh/sh3/setjmp.S: Likewise.
21280         * sysdeps/sh/sh4/setjmp.S: Likewise.
21281         * sysdeps/unix/alpha/sysdep.h: Likewise.
21282         * sysdeps/unix/arm/sysdep.S: Likewise.
21283         * sysdeps/unix/i386/sysdep.S: Likewise.
21284         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21285         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21286         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21287         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21288         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21289         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21290         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21291         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21292         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21293         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21294         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21295         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21296         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21299         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21300         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21302         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21303         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21304         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21306         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21307         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21308         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21309         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21311         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21312         * sysdeps/x86_64/setjmp.S: Likewise.
21314         * include/math.h: Use IS_IN instead of IS_IN_libm.
21315         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
21316         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21317         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21318         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
21319         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21320         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21321         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21322         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21323         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21324         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21325         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
21326         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
21327         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
21328         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
21329         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
21330         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
21331         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21332         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
21333         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21334         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
21335         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
21336         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
21337         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
21338         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
21339         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
21340         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
21341         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
21342         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
21343         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
21344         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
21345         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
21346         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21347         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21349         Likewise.
21350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
21351         Likewise.
21352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
21353         Likewise.
21354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
21355         Likewise.
21356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
21357         Likewise.
21358         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21359         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
21360         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21361         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21362         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21363         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
21365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
21366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
21367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
21368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
21369         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
21370         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
21371         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21372         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21373         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21374         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21375         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21376         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21377         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21378         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
21379         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
21380         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
21381         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
21382         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
21383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21384         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
21386         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
21387         * nptl/pthreadP.h: Likewise.
21388         * nptl_db/structs.def: Likewise.
21389         * sysdeps/arm/sysdep.h: Likewise.
21390         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21391         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21392         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
21393         * sysdeps/unix/alpha/sysdep.h: Likewise.
21394         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21395         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21396         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21397         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21398         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21399         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21400         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21401         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21402         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21403         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21404         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21405         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21406         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21407         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21411         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21412         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21415         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21416         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21417         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21418         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
21419         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21421         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
21422         * nptl/pthreadP.h: Likewise.
21423         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21424         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21425         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21426         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21427         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21428         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21429         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21430         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21431         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21432         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21433         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21434         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21436         Likewise.
21437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21438         Likewise.
21439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21441         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21444         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21445         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21446         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21448         * dlfcn/dladdr.c: Use IS_IN.
21449         * dlfcn/dladdr1.c: Likewise.
21450         * dlfcn/dlclose.c: Likewise.
21451         * dlfcn/dlerror.c: Likewise.
21452         * dlfcn/dlinfo.c: Likewise.
21453         * dlfcn/dlmopen.c: Likewise.
21454         * dlfcn/dlopen.c: Likewise.
21455         * dlfcn/dlsym.c: Likewise.
21456         * dlfcn/dlvsym.c: Likewise.
21458         * include/ifaddrs.h: Use IS_IN.
21459         * inet/check_pf.c: Likewise.
21460         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21461         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
21463         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
21464         IS_IN_ldconfig.
21465         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
21466         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
21468         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
21469         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
21470         IS_IN (libc).
21472         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
21474         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
21475         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21476         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21477         * include/libc-symbols.h (IS_IN_LIB): New macro.
21478         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
21479         * include/netdb.h: Likewise.
21480         * include/stap-probe.h: Remove all uses of IN_LIB.
21482         * Makeconfig (module-cppflags-real): Define MODULE_NAME
21483         instead of IN_MODULE.
21484         * include/libc-symbols.h (IN_MODULE): Define using
21485         MODULE_NAME.
21486         (PASTE_NAME, PASTE_NAME1): New macros.
21487         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
21488         of IN_LIB.
21489         (STAP_PROBE_ASM): Likewise.
21491 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21493         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
21494         __mach_init in dlopened libc.
21496 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
21498         * sysdeps/arm/preconfigure.ac: Delete EABI check.
21499         * sysdeps/arm/preconfigure: Regenerate.
21501 2014-11-21  Roland McGrath  <roland@hack.frob.com>
21503         * nptl/pthread_create.c (__pthread_create_2_1): Set
21504         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
21505         when copying values from IATTR into PD.
21507 2014-11-21  Will Newton  <will.newton@linaro.org>
21508             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
21510         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
21511         Refactor inline-asm.  Also add comment.
21513         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
21514         ElfW macro instead of hardcoded Elf64 types.
21515         (la_aarch64_gnu_pltenter): Likewise.
21516         * sysdeps/aarch64/dl-machine.h
21517         (elf_machine_runtime_setup): Use ElfW(Addr).
21519         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
21520         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
21521         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
21522         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
21523         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
21524         (R_AARCH64_TLS_DTPMOD64): Rename to ..
21525         (R_AARCH64_TLS_DTPMOD): This.
21526         (R_AARCH64_TLS_DTPREL64): Rename to ...
21527         (R_AARCH64_TLS_DTPREL): This.
21528         (R_AARCH64_TLS_TPREL64): Rename to ...
21529         (R_AARCH64_TLS_TPREL): This.
21530         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
21531         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
21532         R_AARCH64_TLS_TPREL64.
21533         (elf_machine_rela): Likewise.
21535 2014-11-21  Torvald Riegel  <triegel@redhat.com>
21537         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
21538         by setting it to 0.  64b atomics are not supported currently.
21540 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21542         [BZ #16469]
21543         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
21544         search domain names.
21546 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21548         [BZ #16469]
21549         * NEWS: Update.
21550         * resolv/res_query.c (__libc_res_nquerydomain): Retain
21551         trailing dot.
21552         * posix/tst-getaddrinfo5.c: New.
21553         * posix/Makefile (tests): Add it.
21555 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21557         [BZ #14498]
21558         * NEWS: Fixed.
21559         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
21560         after parsing line but before break_if_match.
21561         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
21562         if there is a protocol mismatch.
21564 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
21566         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
21567         because the potential race is on the user-supplied stream.
21569 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21571         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
21572         string literal if not passed a buffer.
21573         * manual/job.texi (ctermid): Update reasoning, note deviation
21574         from posix, suggest mtasurace when not passed a buffer, for
21575         future non-preliminary safety notes.
21577 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21579         * manual/users.texi (cuserid): Fix MT-Safety note for the case
21580         of not passing it a buffer.
21581         Reported by Peng Haitao.
21583 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21585         * manual/Makefile ($(objpfx)stamp-summary): Require
21586         check-safety.sh to pass.
21587         * manual/check-safety.sh: Wish for verification that every
21588         @deftypefn and @deftypefun is followed by a @safety remark.
21590 2014-11-20  Roland McGrath  <roland@hack.frob.com>
21592         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
21594         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
21595         PTHREAD_CANCEL_ASYNCHRONOUS.
21596         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21597         send SIGCANCEL.
21599         * nptl/default-sched.h: New file.
21600         * sysdeps/unix/sysv/linux/default-sched.h: New file.
21601         * nptl/pthread_create.c: Include it.
21602         (__pthread_create_2_1): Use collect_default_sched instead of making
21603         Linux syscalls here directly.
21605 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21607         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
21608         __pthread_once): Use C11 atomics.
21610 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21612         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
21614 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21616         * include/atomic.h (__atomic_link_error, __atomic_check_size,
21617         atomic_thread_fence_acquire, atomic_thread_fence_release,
21618         atomic_thread_fence_seq_cst, atomic_load_relaxed,
21619         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21620         atomic_compare_exchange_weak_relaxed,
21621         atomic_compare_exchange_weak_acquire,
21622         atomic_compare_exchange_weak_release,
21623         atomic_exchange_acquire, atomic_exchange_release,
21624         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21625         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21626         atomic_fetch_and_acquire,
21627         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21629 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21631         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21632         USE_ATOMIC_COMPILER_BUILTINS): Define.
21633         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21635         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21636         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21637         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21639         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21641         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21643         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21644         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21645         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21646         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21647         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21648         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21649         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21651         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21653         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21654         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21655         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21656         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21657         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21658         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21659         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21660         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21661         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
21662         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21663         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
21664         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21665         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
21666         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21667         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21668         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21669         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
21670         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21671         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
21672         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21674 2014-11-19  Roland McGrath  <roland@hack.frob.com>
21676         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
21677         the sched_priority value here.  It was already checked when the user
21678         called pthread_attr_setschedparam.
21680         * nptl/tst-bad-schedattr.c: New file.
21681         * nptl/Makefile (tests): Add it.
21683 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
21684             Florian Weimer  <fweimer@redhat.com>
21685             Joseph Myers  <joseph@codesourcery.com>
21686             Adam Conrad  <adconrad@0c3.net>
21687             Andreas Schwab  <schwab@suse.de>
21688             Brooks  <bmoses@google.com>
21690         [BZ #17625]
21691         * wordexp-test.c (__dso_handle): Add prototype.
21692         (__register_atfork): Likewise.
21693         (__app_register_atfork): New function.
21694         (registered_forks): New global.
21695         (register_fork): New function.
21696         (test_case): Add 3 new tests for WRDE_CMDSUB.
21697         (main): Call __app_register_atfork.
21698         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
21699         fork count is non-zero fail the test.
21700         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
21701         is set.
21702         (parse_dollars): Remove check for WRDE_NOCMD.
21703         (parse_dquote): Likewise.
21705 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21707         * Makeconfig (built-modules): List non-library modules to be
21708         built.
21709         (module-cppflags): Include libc-modules.h for
21710         everything except shlib-versions.v.i.
21711         (CPPFLAGS): Use it.
21712         (before-compile): Add libc-modules.h.
21713         ($(common-objpfx)libc-modules.h,
21714         $(common-objpfx)libc-modules.stmp): New targets.
21715         (common-generated): Add libc-modules.h and libc-modules.stmp.
21716         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21717         * include/libc-symbols.h: Don't include libc-modules.h.
21718         * include/libc-modules.h: Remove file.
21719         * scripts/gen-libc-modules.awk: New script to generate
21720         libc-modules.h.
21721         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21722         Depend on libc-modules.stmp.
21724         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21726         * Makeconfig (in-module): Get value of libof set for the
21727         translation unit.
21728         (CPPFLAGS): Use $(in-module).
21729         * Makerules: Don't suffix routine names for nonlib.
21730         * include/libc-modules.h: New file.
21731         * include/libc-symbols.h: Include libc-modules.h
21732         (IS_IN): New macro to replace IS_IN_* macros.
21733         * elf/Makefile: Set libof-* for each routine.
21734         * elf/rtld-Rules: Likewise.
21735         * extra-modules.mk: Likewise.
21736         * iconv/Makefile: Likewise.
21737         * iconvdata/Makefile: Likewise.
21738         * locale/Makefile: Likewise.
21739         * malloc/Makefile: Likewise.
21740         * nss/Makefile: Likewise.
21741         * sysdeps/gnu/Makefile: Likewise.
21742         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21743         * sysdeps/unix/sysv/linux/Makefile: Likewise.
21744         * sysdeps/s390/s390-64/Makefile: Likewise.
21745         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
21746         CPPFLAGS for nscd instead of nonlib.
21748 2014-11-18  Roland McGrath  <roland@hack.frob.com>
21750         * nptl/createthread.c: New file.
21752         * nptl/createthread.c: Moved ...
21753         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21755         * nptl/createthread.c: Add proper top-line comment.
21756         (do_clone): Folded into ...
21757         (create_thread): ... here.  Take new arguments STOPPED_START and
21758         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21759         increment __nptl_threads, do event-reporting logic, do
21760         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21761         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21762         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21763         just send SIGCANCEL.
21764         * nptl/pthread_create.c: Forward-declare create_thread before
21765         including createthread.c.
21766         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21767         declaration, and new macro START_THREAD_SELF to replace argument.
21768         Remove return statement.
21769         (report_thread_creation): New function.
21770         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21771         synchronization logic, and __nptl_nthreads increment here, around
21772         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21773         PD->parent_cancelhandling here, before create_thread.  When
21774         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21775         __deallocate_stack, and ENOMEM translation here.
21777 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21779         [BZ #17616]
21780         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21781         (mptwo): Rename to __mptwo.
21782         (__inv): Use __mptwo instead of mptwo.
21783         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21784         (mptwo): Rename to __mptwo.
21785         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21786         of mpone and __mptwo instead of mptwo.
21787         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21788         instead of mpone.
21789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21790         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21791         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21792         of mpone and __mptwo instead of mptwo.
21793         (__mpranred): Use __mpone instead of mpone.
21794         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21795         variable.
21796         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21797         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21798         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21799         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21800         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21801         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21802         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21803         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21804         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21805         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21806         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21807         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21808         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21809         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21810         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21811         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21812         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21813         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21814         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21816 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21818         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21819         replace BSD Handler xref with BSD Signal Handling.
21821 2014-11-17  Richard Henderson  <rth@redhat.com>
21823         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21824         (_FP_PACK_RAW_2): Remove.
21825         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21826         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21827         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21828         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21829         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21830         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21831         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21832         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21833         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21834         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21835         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21836         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21837         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21838         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21839         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21840         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21842 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21844         * signal/signal.h [__USE_MISC]
21845         (struct sigvec): Remove type.
21846         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21847         (sigvec): Remove declaration.
21848         * sysdeps/posix/sigvec.c: Moved ...
21849         * signal/sigvec.c: ... here, replacing old file.
21850         (struct sigvec): New type, copied from old signal.h definition.
21851         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21852         (__sigvec): Convert definition to prototype.
21853         (sigvec): Replace weak_alias with compat_symbol.
21854         * signal/Versions (libc: GLIBC_2.21): New version set.
21855         * include/signal.h: Remove __sigvec declaration.
21856         * sysdeps/unix/bsd/sigvec.c: Remove file.
21857         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21858         * manual/signal.texi (BSD Handler): Remove subsection.
21859         Move siginterrupt up to ...
21860         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21861         (Blocking in BSD): Fold subsection into its parent.
21862         * NEWS: Mention sigvec removal.
21864 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21866         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21867         (DLA_FMS): Make definition conditional only on [__FMA4__].
21868         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21869         definition.
21871         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21872         Make definition conditional only on [PROF].
21873         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21874         definition.
21875         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21876         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21878         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21879         !__GNUC__].
21880         * include/signal.h (__sigpause): Move declaration above call to
21881         libc_hidden_proto.
21882         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21883         variable.
21884         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21885         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21887 2014-11-14  David S. Miller  <davem@davemloft.net>
21889         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21890         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21892 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21894         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21895         * configure: Regenerated.
21896         * manual/install.texi (Tools for Compilation): Document a
21897         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21898         compiler verified to work.
21899         * INSTALL: Regenerated.
21901         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21902         redeclare with asm name.
21903         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21904         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21905         including <string.h>.
21906         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21907         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21908         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21909         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21910         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21911         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21912         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21914 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21916         * stdlib/strtol.c (__strtol): Use prototype definition.
21918         [BZ #17594]
21919         * stdlib/strtol.c (SYM__): New macro.
21920         (SYM__1): Likewise.
21921         (__strtol): Likewise.
21922         (strtol): Rename to __strtol and define as weak alias of
21923         __strtol.  Use libc_hidden_weak.
21925 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21927         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21928         Use numbered labels in inline assembly.
21930 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21932         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21933         Add setjmp LIBC_PROBE.
21934         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21935         Likewise.
21936         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21937         Add longjmp, longjmp_target LIBC_PROBE.
21938         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21939         Likewise.
21941 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21943         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21944         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21945         to get rid of unused variable warning.
21947 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21949         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21950         Check for unwind_backtrace ==  NULL only in SHARED case.
21951         (__backchain_backtrace): Compile only in SHARED case.
21952         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21953         Likewise.
21954         (__backchain_backtrace): Declare as static.
21956 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21958         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21959         (__libc_multiple_threads_ptr): Variable moved ...
21960         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21962 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21964         * conform/GlibcConform.pm: New file.
21965         * conform/conformtest.pl: Use GlibcConform module.
21966         * conform/linknamespace.pl: New file.
21967         * conform/list-header-symbols.pl: Likewise.
21968         * conform/Makefile (linknamespace-symlists-base): New variable.
21969         (linknamespace-symlists-tests): Likewise.
21970         (linknamespace-header-base): Likewise.
21971         (linknamespace-header-tests): Likewise.
21972         (tests-special): Add new tests.
21973         ($(linknamespace-symlists-tests)): New rule.
21974         (linknamespace-libs): New variable.
21975         ($(objpfx)symlist-stdlibs): New rule.
21976         ($(linknamespace-header-tests)): Likewise.
21977         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21978         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21979         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21980         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21981         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21982         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21983         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21984         (test-xfail-ISO/math.h/linknamespace): Likewise.
21985         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21986         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21987         (test-xfail-ISO/time.h/linknamespace): Likewise.
21988         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21989         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21990         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21991         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21992         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21993         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21994         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21995         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21996         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21997         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21998         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21999         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22000         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22001         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22002         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22003         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22004         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22005         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22006         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22007         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22008         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22009         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22010         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22011         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22012         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22013         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22014         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22015         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22016         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22017         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22018         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22019         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22020         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22021         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22022         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22023         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22024         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22025         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22026         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22027         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22028         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22029         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22030         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22031         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22032         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22033         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22034         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22035         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22036         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22037         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22038         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22039         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22040         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22041         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22042         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22043         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22044         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22045         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22046         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22047         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22048         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22049         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22050         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22051         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22052         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22053         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22054         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22055         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22056         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22057         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22058         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22059         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22060         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22061         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22062         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22063         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22064         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22065         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22066         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22067         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22068         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22069         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22070         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22071         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22072         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22073         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22074         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22075         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22076         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22077         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22078         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22079         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22080         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22081         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22082         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22083         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22084         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22085         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22086         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22087         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22088         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22089         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22090         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22091         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22092         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22093         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22094         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22095         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22096         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22097         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22098         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22099         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22100         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22101         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22102         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22103         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22104         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22105         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22106         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22107         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22108         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22109         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22110         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22111         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22112         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22113         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22114         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22115         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22116         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22117         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22118         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22119         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22120         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22121         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22122         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22123         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22124         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22125         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22126         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22127         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22128         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22129         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22130         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22131         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22132         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22133         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22134         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
22135         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22136         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22137         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22139         [BZ #17589]
22140         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
22141         of fgets_unlocked.
22143         [BZ #17585]
22144         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
22145         (memmem): Rename to __memmem and define as weak alias of
22146         __memmem.  Use libc_hidden_weak.
22147         (__memmem): Use libc_hidden_def.
22148         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
22149         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
22150         memmem.
22152         [BZ #17582]
22153         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
22154         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
22155         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
22156         and define as weak alias of __fgets_unlocked.  Use
22157         libc_hidden_weak.
22158         (__fgets_unlocked): Use libc_hidden_def.
22159         * include/stdio.h (__fgets_unlocked): Declare.  Use
22160         libc_hidden_proto.
22161         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22162         __fgets_unlocked instead of fgets_unlocked.
22163         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
22164         (GET_NPROCS_CONF_PARSER): Likewise.
22165         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
22166         (GET_NPROCS_CONF_PARSER): Likewise.
22168         [BZ #17574]
22169         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
22170         weak alias of __wmemset.  Use libc_hidden_weak.
22171         (__wmemset): Use libc_hidden_def.
22172         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
22173         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
22174         of wmemset.
22176         [BZ #17573]
22177         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
22178         with asm name __mempcpy.
22179         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
22181         [BZ #17572]
22182         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
22183         and define as weak alias of __rawmemchr.
22184         (__rawmemchr): Do not define as strong alias of rawmemchr.
22186         [BZ #17571]
22187         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
22188         alias of __qsort_r.
22189         (qsort): Call __qsort_r instead of qsort_r.
22190         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
22191         (__qsort_r): Declare.  Call libc_hidden_proto.
22192         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
22193         instead of qsort_r.
22194         * nscd/gai.c (__qsort_r): Define to qsort_r.
22195         * posix/tst-rfc3484.c (__qsort_r): Likewise.
22196         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
22197         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
22199         [BZ #17570]
22200         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
22201         define as weak alias of __malloc_info.
22203         [BZ #17584]
22204         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22205         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22206         (__rewinddir): Use libc_hidden_def.
22207         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
22208         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22209         (__rewinddir): Use libc_hidden_def.
22210         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
22211         weak alias of __rewinddir.  Don't use libc_hidden_def.
22212         (__rewinddir): Use libc_hidden_def.
22213         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
22214         (__rewinddir): Use libc_hidden_proto.
22215         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
22216         rewinddir.
22217         (__getcwd): Use __rewinddir instead of rewinddir.
22219         [BZ #17583]
22220         * libio/fileno.c (fileno): Rename to __fileno and define as weak
22221         alias of __fileno.  Use libc_hidden_weak.
22222         (__fileno): Use libc_hidden_def.
22223         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
22224         * libio/ftello.c (ftello): Rename to __ftello and define as weak
22225         alias of __ftello.
22226         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
22227         __ftello.
22228         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
22229         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
22230         libc_hidden_def.
22231         (fread_unlocked): Don't use libc_hidden_ver.
22232         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
22233         and define as weak alias of __fread_unlocked.  Don't use
22234         libc_hidden_def.
22235         (__fread_unlocked): Use libc_hidden_def.
22236         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
22237         (ftello): Don't use libc_hidden_proto.
22238         (__ftello): Declare.  Use libc_hidden_proto.
22239         (fread_unlocked): Don't use libc_hidden_proto.
22240         (__fread_unlocked): Declare.  Use libc_hidden_proto.
22241         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
22242         and __ftello instead of fileno, fread_unlocked and ftello.
22244 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22246         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
22247         GOT12.
22248         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22249         Likewise.
22250         (_dl_start_user): Likewise.
22251         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
22253 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
22254             Siddhesh Poyarekar  <siddhesh@redhat.com>
22256         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
22257         Move argv and envp down instead of moving argc up.
22258         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
22260 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
22262         [BZ #17506]
22263         * test-skeleton.c (main): Return successful if one of
22264         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
22265         * string/tst-strcoll-overflow.c: Define expected status.
22267 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
22269         [BZ #17475]
22270         * locale/iso-639.def: Define Bhili and Tulu language codes.
22272 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
22274         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
22276 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
22278         [BZ #17555]
22279         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
22281 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22283         * configure.ac: Updated check of minimal required version to
22284         2.22.
22285         * manual/install.texi (Tools for Compilation): Updated version
22286         number.
22287         * configure: Regenerated.
22288         * INSTALL: Likewise.
22290 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
22292         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
22293         __tls_get_addr.
22295 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
22297         * include/sys/wait.h (__libc_waitpid): Remove declaration.
22298         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
22299         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22300         libc_hidden_weak.
22301         (waitpid): Define as alias of __waitpid.
22302         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
22303         __waitpid.
22304         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22305         libc_hidden_weak.
22306         (waitpid): Define as alias of __waitpid.
22307         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
22308         __libc_waitpid alias.
22309         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
22310         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
22311         Likewise.
22312         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
22313         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
22314         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
22315         alias.
22316         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
22317         __waitpid.
22318         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22319         libc_hidden_weak.
22320         (waitpid): Define as alias of __waitpid.
22322 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
22324         * manual/llio.texi: Add comment that write safety has been
22325         fixed in Linux.
22327         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
22328         (localplt-build-dso): Add elf/ld.so.
22329         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
22330         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
22331         and free for ld.so.
22332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
22333         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
22334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
22335         Likewise.
22336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22337         Likewise.
22338         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
22339         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
22340         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
22341         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
22342         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22343         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
22344         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
22345         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
22346         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22347         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
22348         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22350 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
22352         [BZ #14132]
22353         * include/libc-symbols.h (INTUSE): Remove macro.
22354         (INTDEF): Likewise.
22355         (INTVARDEF): Likewise.
22356         (_INTVARDEF): Likewise.
22357         (INTDEF2): Likewise.
22358         (INTVARDEF2): Likewise.
22359         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
22360         rtld_hidden_def instead of INTVARDEF.
22361         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
22362         (_dl_starting_up_internal): Remove declaration.
22363         (_dl_starting_up): Use rtld_hidden_proto.
22364         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
22365         declaration.
22366         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
22367         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
22368         _dl_starting_up.
22369         * elf/dl-writev.h (_dl_writev): Likewise.
22370         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
22371         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
22372         _dl_starting_up_internal.
22374 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22376         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22377         test-skeleton.c.
22379 2014-11-05  Will Newton  <will.newton@linaro.org>
22381         * benchtests/Makefile: (bench-malloc): Add malloc thread
22382         scalability benchmark.
22383         * benchtests/bench-malloc-threads.c: New file.
22385 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
22387         * sysdeps/aarch64/strchrnul.S: New file.
22389 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22391         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
22392         definition.
22393         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22394         Likwise.
22395         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22396         Likewise.
22397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22398         Likewise.
22399         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22400         Likewise.
22401         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22402         Likewise.
22404 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
22406         * catgets/test-gencat.c: Use test-skeleton.c.
22407         * catgets/tst-catgets.c: Likewise.
22408         * csu/tst-empty.c: Likewise.
22409         * elf/tst-audit2.c: Likewise.
22410         * elf/tst-global1.c: Likewise.
22411         * elf/tst-pathopt.c: Likewise.
22412         * elf/tst-piemod1.c: Likewise.
22413         * elf/tst-tls10.c: Likewise.
22414         * elf/tst-tls11.c: Likewise.
22415         * elf/tst-tls12.c: Likewise.
22416         * gnulib/tst-gcc.c: Likewise.
22417         * iconvdata/tst-e2big.c: Likewise.
22418         * iconvdata/tst-loading.c: Likewise.
22419         * iconv/tst-iconv1.c: Likewise.
22420         * iconv/tst-iconv2.c: Likewise.
22421         * inet/test-inet6_opt.c: Likewise.
22422         * inet/tst-gethnm.c: Likewise.
22423         * inet/tst-network.c: Likewise.
22424         * inet/tst-ntoa.c: Likewise.
22425         * intl/tst-codeset.c: Likewise.
22426         * intl/tst-gettext2.c: Likewise.
22427         * intl/tst-gettext3.c: Likewise.
22428         * intl/tst-ngettext.c: Likewise.
22429         * intl/tst-translit.c: Likewise.
22430         * io/test-stat.c: Likewise.
22431         * libio/test-fmemopen.c: Likewise.
22432         * libio/tst-freopen.c: Likewise.
22433         * libio/tst-sscanf.c: Likewise.
22434         * libio/tst-ungetwc1.c: Likewise.
22435         * libio/tst-ungetwc2.c: Likewise.
22436         * libio/tst-widetext.c: Likewise.
22437         * localedata/tst-ctype.c: Likewise.
22438         * localedata/tst-digits.c: Likewise.
22439         * localedata/tst-leaks.c: Likewise.
22440         * localedata/tst-mbswcs1.c: Likewise.
22441         * localedata/tst-mbswcs2.c: Likewise.
22442         * localedata/tst-mbswcs3.c: Likewise.
22443         * localedata/tst-mbswcs4.c: Likewise.
22444         * localedata/tst-mbswcs5.c: Likewise.
22445         * localedata/tst-setlocale.c: Likewise.
22446         * localedata/tst-trans.c: Likewise.
22447         * localedata/tst-wctype.c: Likewise.
22448         * localedata/tst-xlocale1.c: Likewise.
22449         * login/tst-grantpt.c: Likewise.
22450         * malloc/tst-calloc.c: Likewise.
22451         * malloc/tst-malloc.c: Likewise.
22452         * malloc/tst-mallocstate.c: Likewise.
22453         * malloc/tst-mcheck.c: Likewise.
22454         * malloc/tst-mtrace.c: Likewise.
22455         * malloc/tst-obstack.c: Likewise.
22456         * math/atest-exp2.c: Likewise.
22457         * math/atest-exp.c: Likewise.
22458         * math/atest-sincos.c: Likewise.
22459         * math/test-matherr.c: Likewise.
22460         * math/test-misc.c: Likewise.
22461         * math/test-powl.c: Likewise.
22462         * math/tst-definitions.c: Likewise.
22463         * misc/tst-dirname.c: Likewise.
22464         * misc/tst-efgcvt.c: Likewise.
22465         * misc/tst-fdset.c: Likewise.
22466         * misc/tst-hsearch.c: Likewise.
22467         * misc/tst-mntent2.c: Likewise.
22468         * nptl/tst-sem7.c: Likewise.
22469         * nptl/tst-sem8.c: Likewise.
22470         * nptl/tst-sem9.c: Likewise.
22471         * nss/test-netdb.c: Likewise.
22472         * posix/tst-fnmatch.c: Likewise.
22473         * posix/tst-getlogin.c: Likewise.
22474         * posix/tst-gnuglob.c: Likewise.
22475         * posix/tst-mmap.c: Likewise.
22476         * pwd/tst-getpw.c: Likewise.
22477         * resolv/tst-inet_ntop.c: Likewise.
22478         * rt/tst-timer.c: Likewise.
22479         * stdio-common/test-fseek.c: Likewise.
22480         * stdio-common/test-popen.c: Likewise.
22481         * stdio-common/test-vfprintf.c: Likewise.
22482         * stdio-common/tst-cookie.c: Likewise.
22483         * stdio-common/tst-fileno.c: Likewise.
22484         * stdio-common/tst-gets.c: Likewise.
22485         * stdio-common/tst-obprintf.c: Likewise.
22486         * stdio-common/tst-perror.c: Likewise.
22487         * stdio-common/tst-sprintf2.c: Likewise.
22488         * stdio-common/tst-sprintf3.c: Likewise.
22489         * stdio-common/tst-sprintf.c: Likewise.
22490         * stdio-common/tst-swprintf.c: Likewise.
22491         * stdio-common/tst-tmpnam.c: Likewise.
22492         * stdio-common/tst-unbputc.c: Likewise.
22493         * stdio-common/tst-wc-printf.c: Likewise.
22494         * stdlib/tst-environ.c: Likewise.
22495         * stdlib/tst-fmtmsg.c: Likewise.
22496         * stdlib/tst-limits.c: Likewise.
22497         * stdlib/tst-rand48-2.c: Likewise.
22498         * stdlib/tst-rand48.c: Likewise.
22499         * stdlib/tst-random2.c: Likewise.
22500         * stdlib/tst-random.c: Likewise.
22501         * stdlib/tst-strtol.c: Likewise.
22502         * stdlib/tst-strtoll.c: Likewise.
22503         * stdlib/tst-tls-atexit.c: Likewise.
22504         * stdlib/tst-xpg-basename.c: Likewise.
22505         * string/test-ffs.c: Likewise.
22506         * string/tst-bswap.c: Likewise.
22507         * string/tst-inlcall.c: Likewise.
22508         * string/tst-strtok.c: Likewise.
22509         * string/tst-strxfrm.c: Likewise.
22510         * sysdeps/x86_64/tst-audit10.c: Likewise.
22511         * sysdeps/x86_64/tst-audit3.c: Likewise.
22512         * sysdeps/x86_64/tst-audit4.c: Likewise.
22513         * sysdeps/x86_64/tst-audit5.c: Likewise.
22514         * time/tst-ftime_l.c: Likewise.
22515         * time/tst-getdate.c: Likewise.
22516         * time/tst-mktime3.c: Likewise.
22517         * time/tst-mktime.c: Likewise.
22518         * time/tst-posixtz.c: Likewise.
22519         * time/tst-strptime2.c: Likewise.
22520         * time/tst-strptime3.c: Likewise.
22521         * wcsmbs/tst-btowc.c: Likewise.
22522         * wcsmbs/tst-mbrtowc.c: Likewise.
22523         * wcsmbs/tst-mbsrtowcs.c: Likewise.
22524         * wcsmbs/tst-wchar-h.c: Likewise.
22525         * wcsmbs/tst-wcpncpy.c: Likewise.
22526         * wcsmbs/tst-wcrtomb.c: Likewise.
22527         * wcsmbs/tst-wcsnlen.c: Likewise.
22528         * wcsmbs/tst-wcstof.c: Likewise.
22530 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
22532         [BZ #14132]
22533         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
22534         INTDEF.
22535         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
22536         declaration.
22537         (_dl_mcount): Use rtld_hidden_proto.
22538         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
22539         _dl_mcount.
22540         * elf/rtld.c (_rtld_global_ro): Likewise.
22542         [BZ #14132]
22543         * elf/dl-init.c (_dl_init): Don't use INTDEF.
22544         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
22545         of _dl_init_internal.
22546         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
22547         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
22548         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
22549         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
22550         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22551         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
22552         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
22553         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
22554         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
22555         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
22556         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
22557         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
22558         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22559         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22560         * sysdeps/tile/dl-start.S (_start): Likewise.
22561         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
22562         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
22564         [BZ #14132]
22565         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
22566         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
22567         (rtld_progname): Make macro definition unconditional.
22568         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
22569         INTDEF.
22570         (dlmopen_doit): Do not use INTUSE with _dl_argv.
22571         (dl_main): Likewise.
22572         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22573         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
22574         instead of _dl_argv_internal.
22575         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22576         __GI__dl_argv instead of INTUSE(_dl_argv).
22577         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
22578         __GI__dl_argv instead of _dl_argv_internal.
22580         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
22581         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
22582         macro.
22583         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
22584         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
22585         New macro.
22586         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
22587         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
22588         macro.
22589         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
22590         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
22592 2014-11-04  Andreas Schwab  <schwab@suse.de>
22594         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
22596 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22598         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22599         mtvsrd instruction in binary form.
22601 2014-11-03  Andreas Schwab  <schwab@suse.de>
22603         [BZ #17522]
22604         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
22605         for less than MB_LEN_MAX use a local buffer of that size.
22606         * libio/tst-fputws.c: New file.
22607         * libio/Makefile (tests): Add tst-fputws.
22609 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
22611         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
22612         the size of the fpu_fr.fpu_dregs[] array.
22614 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
22616         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22617         (__nanosleep): Do not define as alias.
22618         (nanosleep): Define as alias of __nanosleep.
22619         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22620         __libc_nanosleep name.
22622 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22624         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22625         install.texi in comment.
22627 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22629         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22630         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22631         ... add here and use lwsync or sync ...
22632         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22633         ... and add here using lwsync.
22635 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22637         * elf/dl-machine-reject-phdr.h: New file.
22638         * elf/dl-load.c: #include that.
22639         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22640         if that returned true.
22642 2014-10-31  Roland McGrath  <roland@hack.frob.com>
22644         [BZ #17496]
22645         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22646         gen-as-const-headers chunk.  Add a big scare comment after the last
22647         safe place to touch before-compile.
22649 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22651         * manual/install.texi (Tools for Compilation): Update autoconf
22652         version requirements.
22653         * INSTALL: Regenerated.
22655         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22656         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22657         (__libc_pselect): Likewise.
22659         [BZ #14138]
22660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
22661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22665 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22667         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
22668         correct barrier instruction.
22669         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
22670         Likewise.
22671         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
22672         Likewise.
22674 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22676         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
22677         after defining inlines.  Instead, just use parens to defeat macro
22678         expansion of __isctype in its declaration.
22680 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22682         * include/sys/uio.h (__libc_readv): Remove declaration.
22683         (__libc_writev): Likewise.
22684         * misc/readv.c (__libc_readv): Rename to __readv.
22685         (__readv): Do not define as alias.
22686         (readv): Define as alias of __readv.
22687         * misc/writev.c (__libc_writev): Rename to __writev.
22688         (__writev): Do not define as alias.
22689         (writev): Define as alias of __writev.
22690         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
22691         (__readv): Do not define as alias.
22692         (readv): Define unconditionally as alias of __readv.
22693         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
22694         (__writev): Do not define as alias.
22695         (writev): Define unconditionally as alias of __writev.
22696         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
22697         name.
22698         (writev): Do not define __libc_writev name.
22700 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22702         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22703         (convert_charseq): New function, broken out of ...
22704         (use_from_charmap): ... here.  Call it.
22705         (use_to_charmap): Use convert_charseq and free instead of duplicating
22706         its code with a variable-length stack struct.
22708 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22710         * include/fcntl.h (__libc_creat): Remove declaration.
22711         * io/creat.c (__libc_creat): Rename to creat.
22712         (creat): Do not define as alias.
22713         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22714         of creat instead of __libc_creat.
22715         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22716         to creat.
22717         (creat): Do not define as alias.
22718         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22719         __libc_creat.
22720         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22721         __libc_creat name.
22722         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22723         Likewise.
22725 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
22727         * manual/llio.texi: Add comments discussing why write() may be
22728         considered MT-unsafe on Linux.
22730 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
22732         * dl-load.c (local_strdup): Remove.
22733         (expand_dynamic_string_token): Use __strdup.
22734         (decompose_rpath): Likewise.
22735         (_dl_map_object): Likewise.
22737 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
22739         [BZ #14132]
22740         * sysdeps/generic/unwind-dw2-fde.c
22741         (__register_frame_info_bases_internal): Do not declare.
22742         (__register_frame_info_table_bases_internal): Likewise.
22743         (__deregister_frame_info_bases_internal): Likewise.
22744         (__register_frame_info_bases): Declare and use hidden_proto before
22745         definition.  Use hidden_def instead of INTDEF.
22746         (__register_frame_info_table_bases): Likewise.
22747         (__deregister_frame_info_bases): Likewise.
22748         (__register_frame_info): Do not use INTUSE.
22749         (__register_frame): Likewise.
22750         (__register_frame_info_table): Likewise.
22751         (__register_frame_table): Likewise.
22752         (__deregister_frame_info): Likewise.
22753         (__deregister_frame): Likewise.
22755 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22757         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22758         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22759         not undefine.
22760         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22761         Likewise.
22762         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22763         Likewise.
22765 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22767         [BZ #14138]
22768         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22769         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22770         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22771         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22772         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22773         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22774         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22775         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22776         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22777         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22778         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22779         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22780         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22781         syscall.
22782         (setfsuid): Likewise.
22783         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22784         (setfsuid): Likewise.
22785         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22786         (setfsuid): Likewise.
22787         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22788         Likewise.
22789         (setfsuid): Likewise.
22790         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22791         (setfsuid): Likewise.
22792         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22793         Likewise.
22794         (setfsuid): Likewise.
22796 2014-10-27  Andreas Schwab  <schwab@suse.de>
22798         [BZ #17501]
22799         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22800         check for Slow_SSE4_2 feature bit.
22801         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22802         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22803         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22804         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22806 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22808         * configure.ac: Validate compiler version with a empirical test of
22809         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22810         $CC -v output.
22811         * configure: Regenerated.
22813         * inet/htons.c (htons): Prototypify.
22814         * inet/htonl.c (htonl): Likewise.
22816 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22818         * string/strncat.c (strncat): Improve performance by using strlen.
22820 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22822         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22824 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22826         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22827         Call libc_fetestexcept_aarch64.
22829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22831         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22832         Call libc_feholdexcept_aarch64.
22834 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22836         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22837         Call get_rounding_mode.
22839 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22841         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22842         Simplify logic.
22844 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22846         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22847         Simplify logic.
22849 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22851         [BZ #14138]
22852         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22853         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22854         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22855         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22856         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22857         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22858         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22859         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22860         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22861         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22862         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22863         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22864         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22865         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22866         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22867         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22868         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22869         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22870         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22871         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22872         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22873         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22874         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22875         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22876         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22877         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22878         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22879         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22880         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22881         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22882         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22883         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22884         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22885         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22886         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22887         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22888         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22889         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22890         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22891         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22892         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22893         syscall.
22894         (geteuid): Likewise.
22895         (getgid): Likewise.
22896         (getuid): Likewise.
22897         (getresgid): Likewise.
22898         (getresuid): Likewise.
22899         (getgroups): Likewise.
22900         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22901         (geteuid): Likewise.
22902         (getgid): Likewise.
22903         (getuid): Likewise.
22904         (getresgid): Likewise.
22905         (getresuid): Likewise.
22906         (getgroups): Likewise.
22907         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22908         (geteuid): Likewise.
22909         (getgid): Likewise.
22910         (getuid): Likewise.
22911         (getresgid): Likewise.
22912         (getresuid): Likewise.
22913         (getgroups): Likewise.
22914         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22915         Likewise.
22916         (geteuid): Likewise.
22917         (getgid): Likewise.
22918         (getuid): Likewise.
22919         (getresgid): Likewise.
22920         (getresuid): Likewise.
22921         (getgroups): Likewise.
22922         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22923         (geteuid): Likewise.
22924         (getgid): Likewise.
22925         (getuid): Likewise.
22926         (getresgid): Likewise.
22927         (getresuid): Likewise.
22928         (getgroups): Likewise.
22929         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22930         Likewise.
22931         (geteuid): Likewise.
22932         (getgid): Likewise.
22933         (getuid): Likewise.
22934         (getgroups): Likewise.
22936         [BZ #14138]
22937         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22938         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22939         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22940         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22941         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22942         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22943         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22944         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22945         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22946         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22947         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22948         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22949         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22950         __chown.
22951         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22952         (lchown): Likewise.
22953         (fchown): Likewise.
22954         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22955         Likewise.
22956         (lchown): Likewise.
22957         (fchown): Likewise.
22958         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22959         (lchown): Likewise.
22960         (fchown): Likewise.
22961         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22962         Likewise.
22963         (lchown): Likewise.
22964         (fchown): Likewise.
22966 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22968         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22969         Simplify logic.
22971 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22973         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22974         Cleanup logic.
22976 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22978         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22979         Remove unused include.
22981 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22983         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22984         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22985         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22986         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22988 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22989             Helge Deller <deller@gmx.de>
22991         [BZ #17508]
22992         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22993         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22994         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22996 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22998         [BZ #14132]
22999         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23000         Remove macro definition.
23001         (__ashrdi3_v_glibc20): Likewise.
23002         (__lshrdi3_v_glibc20): Likewise.
23003         (__cmpdi2_v_glibc20): Likewise.
23004         (__ucmpdi2_v_glibc20): Likewise.
23005         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23006         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23007         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23008         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23009         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23010         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23012 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23014         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23015         old GNU extension [0] syntax.
23016         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23017         alloca rather than an array member with variable length.
23018         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23019         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23020         (parse_opt): ... here.  Likewise use alloca there.
23021         Validate the -i argument before checking for rootness.
23022         (send_shutdown): New function, broken out of ...
23023         (parse_opt): ... here.
23025 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23027         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23028         macro to get at the _rt_local_ro field.
23029         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23030         ([PIC] case) or _dl_hwcap ([!PIC] case).
23031         * sysdeps/arm/setjmp.S: Likewise.
23033         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23034         * sysdeps/arm/configure.ac: New check to define it.
23035         * sysdeps/arm/configure: Regenerated.
23036         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23037         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23038         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23039         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23040         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23041         Use move/movt pair instead of a load.
23042         (LDST_GLOBAL): Macro removed.
23043         (LDR_GLOBAL): New macro replaces it.
23044         (LDR_HIDDEN): New macro.
23045         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23046         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23048         * setjmp/tst-setjmp-static.c: New file.
23049         * setjmp/Makefile (tests): Add it.
23050         (tests-static): New variable.
23052 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23054         [BZ #17485]
23055         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23057 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23059         [BZ #14132]
23060         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23062 2014-10-21  Roland McGrath  <roland@hack.frob.com>
23064         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23066 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23068         * io/fts.c (dirent_not_directory): New function.
23069         (fts_build): Call it.
23071 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23073         * nptl/version.c (__nptl_main): Use normal __write rather than
23074         INTERNAL_SYSCALL.
23075         (banner): Update copyright years.
23077         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23078         gettimeofday.
23079         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23080         * nptl/pthread_cond_timedwait.c: Likewise.
23081         * nptl/pthread_mutex_timedlock.c: Likewise.
23082         * nptl/sem_timedwait.c: Likewise.
23084         * sysdeps/nptl/bits/libc-lock.h
23085         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23086         (__libc_lock_init_recursive): Return void, not 0.
23087         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23088         (__libc_rwlock_init): Likewise.
23089         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23091 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23093         [BZ #15215]
23094         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23095         (__pthread_once_slow): ... here.
23096         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23097         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23099 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23101         [BZ #15215]
23102         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23103         __PTHREAD_ONCE_FORK_GEN_INCR): New.
23104         * sysdeps/nptl/fork.c (__libc_fork): Use them.
23105         * nptl/pthread_once.c (__pthread_once): Likewise.
23106         Update comments.
23108 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
23110         [BZ #14138]
23111         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23112         name.
23113         (writev): Use __libc_writev as strong name.
23114         * sysdeps/unix/sysv/linux/readv.c: Remove file.
23115         * sysdeps/unix/sysv/linux/writev.c: Likewise.
23117 2014-10-17  Roland McGrath  <roland@hack.frob.com>
23119         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23121         * sysdeps/i386/nptl/tls.h
23122         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23123         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23124         New macros.
23125         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23126         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23127         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23128         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23129         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
23130         Call CHECK_THREAD_SYSINFO instead of doing an assert.
23132         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23133         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
23134         on [__NR_futex].
23135         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
23136         broken out of ...
23137         (__pthread_mutex_init): ... here.  Call it.
23138         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
23139         Conditionalize PI cases on [__NR_futex].
23140         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
23141         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
23142         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23144         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
23145         conditional on [SIGSETXID].
23146         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
23147         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
23148         is defined.  Likewise for SIGSETXID.
23149         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
23150         Conditionalize definitions on [SIGSETXID].
23151         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
23152         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
23153         unblocking on [SIGCANCEL].
23155         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
23156         [__NR_set_robust_list].
23158 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23160         * string/strcoll_l.c (get_next_seq): Fix up formatting.
23161         (do_compare): Likewise.
23163 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
23165         [BZ #15884]
23166         * string/strcoll_l.c: Don't include stdio.h.
23167         (coll_seq): Remove members idxarr and rulearr.
23168         (get_next_seq_cached): Remove function.
23169         (get_next_seq): Likewise.
23170         (get_next_seq_nocache): Rename to get_next_seq.
23171         (do_compare): Remove function.
23172         (do_compare_nocache): Rename to do_compare.
23173         (STRCOLL): Remove weight and rules cache.
23175 2014-10-16  Roland McGrath  <roland@hack.frob.com>
23177         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
23178         * sysdeps/arm/sfp-machine.h: ... to here.
23179         * sysdeps/arm/Implies: Remove arm/soft-fp.
23181 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
23183         * conform/data/sys/utsname.h-data (*_t): Allow.
23184         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
23185         [POSIX] (WEXITED): Do not expect constant.
23186         [POSIX] (WSTOPPED): Likewise.
23187         [POSIX] (WNOHANG): Likewise.
23188         [POSIX] (WNOWAIT): Likewise.
23189         [POSIX] (siginfo_t): Do not expect type or elements.
23190         [POSIX] (pid_t): Do not expect type.
23191         [POSIX] (signal.h): Do not allow header.
23192         [POSIX] (sys/resource.h): Likewise.
23193         [POSIX] (si_*): Do not allow pattern.
23194         [POSIX] (W*): Likewise.
23195         [POSIX] (P_*): Likewise.
23196         [POSIX] (BUS_*): Likewise.
23197         [POSIX] (CLD_*): Likewise.
23198         [POSIX] (FPE_*): Likewise.
23199         [POSIX] (ILL_*): Likewise.
23200         [POSIX] (POLL_*): Likewise.
23201         [POSIX] (SEGV_*): Likewise.
23202         [POSIX] (SI_*): Likewise.
23203         [POSIX] (TRAP_*): Likewise.
23204         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
23205         variable.
23207 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23209         [BZ #12926]
23210         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
23211         infinite loop when __recvmsg returns 0.
23213 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
23215         * CANCEL-FCT-WAIVE: Remove file.
23216         * CANCEL-FILE-WAIVE: Likewise.
23218         [BZ #14132]
23219         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
23220         instead of INTVARDEF.
23221         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23222         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
23223         rtld_hidden_data_def instead of INTVARDEF.
23224         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23225         * elf/dl-deps.c (expand_dst): Likewise.
23226         * elf/dl-load.c (_dl_dst_count): Likewise.
23227         (_dl_dst_substitute): Likewise.
23228         (decompose_rpath): Likewise.
23229         (_dl_init_paths): Likewise.
23230         (open_path): Likewise.
23231         (_dl_map_object): Likewise.
23232         * elf/rtld.c (dl_main): Likewise.
23233         (process_dl_audit): Likewise.
23234         (process_envvars): Likewise.
23235         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
23236         Remove declaration.
23237         (__libc_enable_secure): Use rtld_hidden_proto.
23239 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23241         * elf/dl-load.c
23242         (add_path): New function broken out of _dl_rtld_di_serinfo.
23243         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
23245 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23247         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
23248         parentheses around macro arguments.
23249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
23250         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
23251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
23252         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
23253         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
23254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23255         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23256         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
23257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
23258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
23259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
23260         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
23261         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
23262         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
23263         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
23264         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
23265         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
23266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
23267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
23268         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
23269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
23270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
23271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
23272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
23275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
23276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
23277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
23278         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
23279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
23280         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
23281         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
23282         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
23283         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
23284         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
23285         Likewise.
23286         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
23287         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23288         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23289         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
23290         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
23291         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
23292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
23293         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
23294         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
23295         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
23296         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
23297         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
23298         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
23299         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
23300         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
23301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
23304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
23305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
23306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
23307         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
23308         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
23309         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
23310         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
23311         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
23312         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
23313         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
23314         (_FP_FRAC_SRS_1): Likewise.
23315         (_FP_FRAC_CLZ_1): Likewise.
23316         (_FP_MUL_MEAT_1_imm): Likewise.
23317         (_FP_MUL_MEAT_1_wide): Likewise.
23318         (_FP_MUL_MEAT_1_hard): Likewise.
23319         (_FP_SQRT_MEAT_1): Likewise.
23320         (_FP_FRAC_ASSEMBLE_1): Likewise.
23321         (_FP_FRAC_DISASSEMBLE_1): Likewise.
23322         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
23323         (__FP_CLZ_2): Likewise.
23324         (_FP_MUL_MEAT_2_wide): Likewise.
23325         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23326         (_FP_MUL_MEAT_2_gmp): Likewise.
23327         (_FP_MUL_MEAT_2_120_240_double): Likewise.
23328         (_FP_SQRT_MEAT_2): Likewise.
23329         (_FP_FRAC_ASSEMBLE_2): Likewise.
23330         (_FP_FRAC_DISASSEMBLE_2): Likewise.
23331         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
23332         (_FP_FRAC_CLZ_4): Likewise.
23333         (_FP_MUL_MEAT_4_wide): Likewise.
23334         (_FP_MUL_MEAT_4_gmp): Likewise.
23335         (_FP_SQRT_MEAT_4): Likewise.
23336         (_FP_FRAC_ASSEMBLE_4): Likewise.
23337         (_FP_FRAC_DISASSEMBLE_4): Likewise.
23338         * soft-fp/op-common.h (_FP_CMP): Likewise.
23339         (_FP_CMP_EQ): Likewise.
23340         (_FP_CMP_UNORD): Likewise.
23341         (_FP_TO_INT): Likewise.
23342         (_FP_FROM_INT): Likewise.
23343         [!__FP_CLZ] (__FP_CLZ): Likewise.
23344         (_FP_DIV_HELP_imm): Likewise.
23345         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
23346         Likewise.
23347         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
23348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
23349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
23350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
23351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
23352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23353         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
23355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
23356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
23357         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
23358         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
23359         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
23360         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
23361         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
23362         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
23363         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
23364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
23365         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
23366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
23367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
23368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
23369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
23370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
23373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
23374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
23375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
23376         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
23377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
23378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
23379         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
23380         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
23381         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
23382         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
23383         (FP_UNPACK_RAW_SP): Likewise.
23384         (FP_PACK_RAW_S): Likewise.
23385         (FP_PACK_RAW_SP): Likewise.
23386         (FP_UNPACK_S): Likewise.
23387         (FP_UNPACK_SP): Likewise.
23388         (FP_UNPACK_SEMIRAW_S): Likewise.
23389         (FP_UNPACK_SEMIRAW_SP): Likewise.
23390         (FP_PACK_S): Likewise.
23391         (FP_PACK_SP): Likewise.
23392         (FP_PACK_SEMIRAW_S): Likewise.
23393         (FP_PACK_SEMIRAW_SP): Likewise.
23394         (_FP_SQRT_MEAT_S): Likewise.
23395         (FP_CMP_S): Likewise.
23396         (FP_CMP_EQ_S): Likewise.
23397         (FP_CMP_UNORD_S): Likewise.
23398         (FP_TO_INT_S): Likewise.
23399         (FP_FROM_INT_S): Likewise.
23401         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
23403         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
23404         (FP_EX_INVALID_IMZ): Likewise.
23405         (FP_EX_INVALID_IMZ_FMA): Likewise.
23406         (FP_EX_INVALID_ISI): Likewise.
23407         (FP_EX_INVALID_ZDZ): Likewise.
23408         (FP_EX_INVALID_IDI): Likewise.
23409         (FP_EX_INVALID_SQRT): Likewise.
23410         (FP_EX_INVALID_CVI): Likewise.
23411         (FP_EX_INVALID_VC): Likewise.
23412         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
23413         "invalid" exceptions.
23414         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
23415         (_FP_ADD_INTERNAL): Likewise.
23416         (_FP_MUL): Likewise.
23417         (_FP_FMA): Likewise.
23418         (_FP_DIV): Likewise.
23419         (_FP_CMP_CHECK_NAN): Likewise.
23420         (_FP_SQRT): Likewise.
23421         (_FP_TO_INT): Likewise.
23422         (FP_EXTEND): Likewise.
23424 2014-10-09  Allan McRae  <allan@archlinux.org>
23426         * po/fr.po: Update French translation from translation project.
23428 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23430         [BZ #14132]
23431         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
23432         of INTDEF.
23433         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
23434         (__cxa_atexit): Use libc_hidden_proto.
23435         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
23437         [BZ #14132]
23438         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
23439         declaration.
23440         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
23441         [!_ISOMAC] (__iswspace_l_internal): Likewise.
23442         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
23443         [!_ISOMAC] (__iswctype_internal): Likewise.
23444         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
23445         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
23446         alias.
23447         (fcntl): Remove __fcntl_internal alias.
23448         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
23449         __connect_internal alias.
23450         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
23451         Likewise.
23453         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
23454         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
23455         FP_DENORM_ZERO.
23456         (_FP_CHECK_FLUSH_ZERO): New macro.
23457         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
23458         (_FP_CMP): Likewise.
23459         (_FP_CMP_EQ): Likewise.
23460         (_FP_TO_INT): Do not set inexact for subnormal arguments if
23461         FP_DENORM_ZERO.
23462         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
23463         (FP_TRUNC): Likewise.
23465         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
23466         treated as invalid conversion, not as normal exponent.
23468         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
23469         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
23470         (_FP_CMP_EQ): Likewise.
23471         (_FP_CMP_UNORD): Likewise.
23472         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
23473         (FP_CMP_EQ_D): Likewise.
23474         (FP_CMP_UNORD_D): Likewise.
23475         * soft-fp/extended.h (FP_CMP_E): Likewise.
23476         (FP_CMP_EQ_E): Likewise.
23477         (FP_CMP_UNORD_E): Likewise.
23478         * soft-fp/quad.h (FP_CMP_Q): Likewise.
23479         (FP_CMP_EQ_Q): Likewise.
23480         (FP_CMP_UNORD_Q): Likewise.
23481         * soft-fp/single.h (FP_CMP_S): Likewise.
23482         (FP_CMP_EQ_S): Likewise.
23483         (FP_CMP_UNORD_S): Likewise.
23484         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
23485         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
23486         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
23487         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
23488         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
23489         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
23490         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
23491         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
23492         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
23493         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
23494         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
23495         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
23496         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
23497         to FP_CMP_Q.
23498         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
23499         FP_CMP_Q.
23500         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
23501         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
23502         FP_CMP_EQ_Q.
23503         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
23504         FP_CMP_Q.
23505         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
23506         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
23507         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
23508         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
23509         FP_CMP_EQ_Q.
23510         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
23511         FP_CMP_Q.
23512         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
23513         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
23514         FP_CMP_EQ_Q.
23515         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
23516         FP_CMP_Q.
23517         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
23518         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
23519         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
23520         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
23521         FP_CMP_EQ_Q.
23523         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
23524         a subnormal result, set the underflow exception if trapping on
23525         underflow is enabled.
23526         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
23527         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
23528         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
23529         redefine to 0.
23530         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
23531         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23532         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23533         * soft-fp/extendxftf2.c (__extendxftf2): Use
23534         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
23536         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
23537         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
23538         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23539         FP_HANDLE_EXCEPTIONS.
23540         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
23541         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23542         FP_HANDLE_EXCEPTIONS.
23543         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
23544         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23545         FP_HANDLE_EXCEPTIONS.
23546         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
23547         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23548         FP_HANDLE_EXCEPTIONS.
23550 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
23552         [BZ #14132]
23553         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
23554         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
23555         use INTUSE.
23556         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
23557         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
23558         Remove alias.
23559         (__adjtimex): Define using libc_hidden_ver.
23560         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
23561         Remove declaration.
23562         (ntp_gettime): Call __adjtimex directly.
23563         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
23564         Remove declaration.
23565         (ntp_gettimex): Call __adjtimex directly.
23566         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
23567         __adjtimex_internal alias.
23569 2014-10-08  Roland McGrath  <roland@hack.frob.com>
23571         [BZ #17460]
23572         * nscd/nscd.c (more_help): Rewrite list of tables collection
23573         using xstrdup and asprintf.
23575         * nscd/nscd_conf.c: Remove local xstrdup declaration.
23577 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23578             Roland McGrath  <roland@hack.frob.com>
23580         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
23581         (do_lookup_unique): ... local function 'enter' here; update callers.
23583 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
23585         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
23586         compat_symbol calls on [SHARED].
23587         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
23588         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
23589         Remove.
23590         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23591         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
23592         (oldsetrlimit): Remove.
23593         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23595         (lchown): New syscall entry.
23596         (oldsetrlimit): Remove.
23597         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23598         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23599         (oldsetrlimit): Remove.
23600         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23602         [BZ #14138]
23603         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
23604         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23605         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
23606         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
23607         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23608         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
23609         (fchown): Likewise.
23610         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
23611         (fchown): Likewise.
23612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
23613         Likewise.
23615 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23617         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23618         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23619         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23620         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23621         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23622         Likewise.
23623         (__old_sem_post): Likewise.
23625 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
23627         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23628         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23629         HAVE_CLOCK_GETTIME_VSYSCALL macros.
23630         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23631         Use INLINE_VSYSCALL macro.
23632         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23633         __vdso_clock_gettime.
23634         * sysdeps/unix/sysv/linux/tile/init-first.c
23635         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23636         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23637         __vdso_clock_gettime.
23639         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23640         to set up frame more cleanly.
23642         * sysdeps/tile/memcmp.c: New file.
23644         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23646         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23647         * sysdeps/tile/tilegx/strcasestr.c: New file.
23648         * sysdeps/tile/tilegx/strnlen.c: New file.
23649         * sysdeps/tile/tilegx/strstr.c: New file.
23651         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23653 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
23655         * nptl/tst-setuid3.c: Write errors to stdout.
23657 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23659         * elf/dl-deps.c
23660         (preload): New functions broken out of _dl_map_object_deps.
23661         (_dl_map_object_deps):  Remove a nested function. Update call sites.
23663 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
23665         [BZ #14138]
23666         * sysdeps/unix/sysv/linux/execve.c: Remove file.
23667         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
23669 2014-10-01  Steve Ellcey  <sellcey@mips.com>
23671         * sysdeps/mips/strcmp.S: New.
23673 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
23675         [BZ #14138]
23676         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23677         (linkat): Likewise.
23678         (mkdirat): Likewise.
23679         (readlinkat): Likewise.
23680         (renameat): Likewise.
23681         (symlinkat): Likewise.
23682         (unlinkat): Likewise.
23683         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
23684         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
23685         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
23686         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
23687         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
23688         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
23689         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23691 2014-09-30  Will Newton  <will.newton@linaro.org>
23693         * math/math.h: Define long double math functions if
23694         _LIBC_TEST is defined.
23695         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
23697         * localedata/Makefile: Move assignment to tests-special
23698         into an ifdef testing run-built-tests.
23699         * timezone/Makefile: Likewise.
23701 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
23703         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23704         with $(BASH) not $(SHELL).
23706 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
23707             Matthew LeGendre  <legendre1@llnl.gov>
23709         [BZ #17411]
23710         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23711         l_reloc_result.
23713 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23715         * stdio-common/printf_fp.c
23716         (hack_digit): New function, broken out of ...
23717         (__printf_fp): ... local function here.  Update call sites.
23718         hack_digit now takes an additional parameter that is a pointer
23719         to a struct of the referenced locals.  Those locals moved inside
23720         the struct and references updated.
23722 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
23724         * aclocal.m4: Require autoconf 2.69.
23725         * configure: Regenerated.
23726         * sysdeps/aarch64/configure: Likewise.
23727         * sysdeps/alpha/configure: Likewise.
23728         * sysdeps/arm/armv7/configure: Likewise.
23729         * sysdeps/arm/configure: Likewise.
23730         * sysdeps/ia64/configure: Likewise.
23731         * sysdeps/mach/configure: Likewise.
23732         * sysdeps/mips/configure: Likewise.
23733         * sysdeps/s390/configure: Likewise.
23734         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23737         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23738         file.
23739         * sysdeps/ia64/configure.ac: Likewise.
23741 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
23743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23744         specify symbol version for ld.so.  Do not include entry for
23745         libpthread.
23746         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23747         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23748         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23750         [BZ #14171]
23751         * Makeconfig [$(build-shared) = yes]
23752         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23753         makefiles.
23754         [$(build-shared) = yes && $(soversions.mk-done) = t]
23755         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23756         [$(build-shared) = yes && $(soversions.mk-done) = t]
23757         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23758         to Makerules.
23759         [$(build-shared) = yes && $(soversions.mk-done) = t]
23760         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23761         here.
23762         [$(build-shared) = yes && $(soversions.mk-done) = t]
23763         (common-generated): Don't append gnu/lib-names.h and
23764         gnu/lib-names.stmp here.
23765         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23766         (lib-names-h-abi): New variable.
23767         [$(build-shared) = yes && $(soversions.mk-done) = t]
23768         (lib-names-stmp-abi): Likewise.
23769         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23770         abi-variants] (before-compile): Append
23771         $(common-objpfx)$(lib-names-h-abi).
23772         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23773         abi-variants] (common-generated): Append gnu/lib-names.h.
23774         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23775         abi-variants] (install-others-nosubdir): Depend on
23776         $(inst_includedir)/$(lib-names-h-abi).
23777         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23778         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23779         [$(build-shared) = yes && $(soversions.mk-done) = t]
23780         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23781         [$(build-shared) = yes && $(soversions.mk-done) = t]
23782         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23783         [$(build-shared) = yes && $(soversions.mk-done) = t]
23784         (common-generated): Append $(lib-names-h-abi) and
23785         $(lib-names-stmp-abi).
23786         * scripts/lib-names.awk: Do not handle multi being set.
23787         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23788         Remove variable.
23789         (abi-lp64_be-ld-soname): Likewise.
23790         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23791         Likewise.
23792         (abi-hard-ld-soname): Likewise.
23793         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23794         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23795         Remove variable.
23796         (abi-o32_hard-ld-soname): Likewise.
23797         (abi-o32_soft_2008-ld-soname): Likewise.
23798         (abi-o32_hard_2008-ld-soname): Likewise.
23799         (abi-n32_soft-ld-soname): Likewise.
23800         (abi-n32_hard-ld-soname): Likewise.
23801         (abi-n32_soft_2008-ld-soname): Likewise.
23802         (abi-n32_hard_2008-ld-soname): Likewise.
23803         (abi-n64_soft-ld-soname): Likewise.
23804         (abi-n64_hard-ld-soname): Likewise.
23805         (abi-n64_soft_2008-ld-soname): Likewise.
23806         (abi-n64_hard_2008-ld-soname): Likewise.
23807         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23808         Likewise.
23809         (abi-64-v2-ld-soname): Likewise.
23810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23811         ld.so entries.
23812         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23813         variable.
23814         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23815         entry.
23816         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23817         variable.
23818         (abi-64-ld-soname): Likewise.
23819         (abi-x32-ld-soname): Likewise.
23820         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23821         entry.
23822         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23824 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23826         [BZ #14138]
23827         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23828         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23829         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23830         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23831         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23832         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23833         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23834         syscall entry for GLIBC_2.2 symbol version.
23835         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23836         Likewise.
23837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23838         (setrlimit): Likewise.
23839         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23840         Likewise.
23842 2014-09-23  Will Newton  <will.newton@linaro.org>
23844         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23845         _LINUX_ARM_SYSDEP_H include guard too.
23846         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23847         define.
23849 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23851         * sysdeps/unix/sysv/linux/eventfd.c:
23852         Make first argument unsigned.
23853         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23854         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23856 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23858         [BZ #16852]
23859         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23860         * socket/sys/socket.h: Likewise.
23861         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23863 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23865         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23867 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23869         * time/tst-ftime.c: New test.
23870         * time/Makefile (tests): Add tst-ftime.
23872 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23874         * soft-fp/extended.h: Fix comment formatting.
23875         * soft-fp/op-1.h: Likewise.
23876         * soft-fp/op-2.h: Likewise.
23877         * soft-fp/op-4.h: Likewise.
23878         * soft-fp/op-8.h: Likewise.
23879         * soft-fp/op-common.h: Likewise.
23880         * soft-fp/soft-fp.h: Likewise.
23882         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23884 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23886         [BZ #6652]
23887         * Makeconfig (soversions-default-setname): Remove variable.
23888         ($(common-objpfx)soversions.i): Don't pass default_setname to
23889         soversions.awk.
23890         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23891         oldest_abi to abi-versions.awk.
23892         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23893         * config.make.in (oldest-abi): Remove variable.
23894         * configure.ac (--enable-oldest-abi): Remove configure option.
23895         * configure: Regenerated.
23896         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23897         text.
23898         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23899         * scripts/soversions.awk: Do not handle default_setname variable.
23900         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23901         variable.
23902         * sysdeps/mach/hurd/configure: Regenerated.
23903         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23904         variable.
23905         * sysdeps/unix/sysv/linux/configure: Regenerated.
23907 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23909         * elf/Makefile (CFLAGS-interp.c): Remove.
23910         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23911         path string.
23912         * elf/interp.c: Include generated runtime-linker.h
23914         * Makerules (lib%.so): Don't include $(+interp) in
23915         prerequisites.
23916         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23917         * dlfcn/eval.c: Remove file.
23919         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23920         macros.
23922         [BZ #17266]
23923         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23924         4.2 and newer.
23926         [BZ #17370]
23927         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23929 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23930             Jakub Jelinek  <jakub@redhat.com>
23932         [BZ #17266]
23933         * libio/stdio.h: Check definition of __fortify_function
23934         instead of __extern_always_inline to include bits/stdio2.h.
23935         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23936         check if __extern_always_inline is defined.
23937         [__USE_MISC || __USE_XOPEN]: Likewise.
23938         [__USE_ISOC99] Likewise.
23939         * misc/sys/cdefs.h (__fortify_function): Define only if
23940         __extern_always_inline is defined.
23941         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23942         __extern_always_inline and __extern_inline only for g++-4.3
23943         and newer or a compatible gcc.
23945 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23947         [BZ #17371]
23948         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23949         last change to handle zero prefix length.
23951 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23953         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23954         _SC_REGEX_VERSION.
23956         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23957         _POSIX_RAW_SOCKETS.
23959 2014-09-13  Allan McRae  <allan@archlinux.org>
23961         * po/ru.po: Update Russian translation from translation project.
23963 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23965         * locale/programs/locale.c (show_locale_vars): Inline local function
23966         into its sole call site.  Clean up some style nits.
23967         (print_item): New function, broken out of ...
23968         (show_info): ... local function here.  Clean up style nits.
23970         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23971         out of ...
23972         (set_class_defaults): ... local function set_default here.
23973         Define set_default as a macro locally to pass constant parameters.
23974         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23975         rather than a shared local.
23977         * stdlib/rpmatch.c (try): New function, broken out of ...
23978         (rpmatch): ... local function here.  Also, prototypify definition.
23980 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23982         * scripts/soversions.awk: Do not handle configuration names.
23983         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23984         vendor and os variables to soversions.awk.
23985         * configure.ac: Do not modify gnu-* host_os.
23986         * configure: Regenerated
23987         * shlib-versions: Remove first column with configuration names.
23988         * nptl/shlib-versions: Likewise.
23989         * nptl_db/shlib-versions: Likewise.
23990         * sysdeps/hppa/shlib-versions: Likewise.
23991         * sysdeps/m68k/shlib-versions: Likewise.
23992         * sysdeps/mach/hurd/shlib-versions: Likewise.
23993         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23994         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23995         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23996         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23997         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23998         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23999         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24000         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24002         Likewise.
24003         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24004         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24005         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24006         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24007         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24008         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24009         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24010         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24013         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24015         Regenerated.
24016         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24018         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24020         * shlib-versions: Remove OS-specific entries.  Moved to files in
24021         sysdeps.
24022         * sysdeps/mach/hurd/shlib-versions: New file.
24023         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24025         * nptl/shlib-versions: Remove architecture-specific entries.
24026         Moved to files in sysdeps.
24027         * shlib-versions: Likewise.
24028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24029         file.
24030         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24031         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24032         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24033         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24035         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24036         (UDP_NO_CHECK6_RX): Likewise.
24038 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24040         * sysdeps/posix/sysconf.c (__sysconf): Spell
24041         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24043 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24045         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24046         loading.
24047         * iconv/Versions (__gconv_transliterate): Export for use from
24048         gconv modules.
24049         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24050         (struct __gconv_trans_data, __gconv_trans_fct,
24051         __gconv_trans_context_fct, __gconv_trans_query_fct,
24052         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24053         definitions.
24054         (struct __gconv_step_data): Remove __trans member.
24055         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24056         longer hidden.  Remove unused trans_data argument.
24057         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24058         (__gconv_translit_find): Remove declaration.
24059         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24060         prototype.
24061         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24062         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24063         trans_data argument.  Add hidden definition.
24064         (__gconv_translit_find): Remove.
24065         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24066         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24067         * iconv/skeleton.c: Remove transliteration initialization.
24068         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24069         __gconv_step_data initialization.
24070         * libio/iofwide.c (__libio_translit_): Remove.
24071         (_IO_fwide): Adjust struct __gconv_step_data initialization.
24072         * wcsmbs/btowc.c (__btowc): Likewise.
24073         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24074         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24075         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24076         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24077         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24078         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24079         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24080         * wcsmbs/wctob.c (wctob): Likewise.
24082 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24084         [BZ #16194]
24085         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24086         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
24087         register usage.
24088         * sysdeps/x86/Makefile: Adjust.
24090 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24091             Roland McGrath  <roland@hack.frob.com>
24093         * locale/weight.h: Add include guard.
24094         (findidx): Make static rather than auto; take new parameters
24095         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24096         * locale/weightwc.h: Likewise.
24097         * posix/fnmatch_loop.c
24098         (FCT): Change type of EXTRA from int32_t to wint_t.
24099         Don't include either header inside the function.
24100         Call FINDIDX rather than findidx, and pass new arguments.
24101         #undef FINDIDX at the end of the file.
24102         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24103         FINDIDX before including fnmatch_loop.c for the non-wide version.
24104         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24105         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24106         for the wide version.
24107         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24108         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24109         Pass new arguments to findidx.
24110         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24111         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24112         Don't #include it inside the function.  Pass new arguments to findidx.
24113         * posix/regex_internal.h
24114         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24115         (re_string_elem_size_at): Don't #include it inside the function.
24116         Pass new arguments to findidx.
24117         * string/strcoll_l.c: #include WEIGHT_H at top level.
24118         (get_next_seq): Don't #include it inside the function.
24119         Pass new arguments to findidx.
24120         (get_next_seq_nocache): Likewise.
24121         * string/strxfrm_l.c: #include WEIGHT_H at top level.
24122         (STRXFRM): Don't #include it inside the function.
24123         Pass new arguments to findidx.
24125 2014-09-11  Florian Weimer  <fweimer@redhat.com>
24127         [BZ #17344]
24128         * malloc/malloc.c (unlink): Turn asserts into a call to
24129         malloc_printerr.
24131 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
24133         [BZ #17370]
24134         * libio/wfileops (do_ftell_wide): Free OUT.
24136 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
24138         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
24140 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24142         [BZ #17363]
24143         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
24144         group if the current group is empty.
24146 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24148         * benchtests/bench-memset.c (test_main): Add more test from size
24149         from 32 to 512 bytes.
24150         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24151         Add POWER8 memset object.
24152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24153         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
24154         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
24155         implementation.
24156         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
24157         Likewise.
24158         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
24159         multiarch POWER8 memset optimization.
24160         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
24161         POWER8 memset optimization.
24163         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24164         Remove bzero multiarch objects.
24165         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
24166         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
24167         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
24168         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
24169         Remove define.
24170         [__bzero]: Redefine to specific name.
24171         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24172         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24173         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
24174         define.
24175         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24176         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24178 2014-09-10  Florian Weimer  <fweimer@redhat.com>
24180         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
24181         warnings into errors.
24183         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24184         __cxa_thread_atexit_impl prototype.
24186 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24188         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
24189         Fix capitalization of error message.
24191 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24193         * sysdeps/mips/preconfigure: Modify ABI tests.
24195 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
24197         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
24199 2014-09-07  Roland McGrath  <roland@hack.frob.com>
24200             Carlos O'Donell  <carlos@systemhalted.org>
24202         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
24203         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
24204         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
24205         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
24206         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
24207         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
24208         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
24209         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
24210         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
24211         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
24212         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
24213         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
24214         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
24215         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
24216         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
24217         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
24218         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
24219         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
24220         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
24221         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
24222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
24223         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
24224         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
24225         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
24226         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
24227         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
24228         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
24229         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
24230         Deconditionalize the code that was previously under [RESET_PID].
24231         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
24232         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
24233         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
24234         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
24235         include sysdep.h.
24237 2014-09-08  Allan McRae  <allan@archlinux.org>
24239         * version.h (RELEASE): Set to "development".
24240         (VERSION): Set to "2.20.90"
24242 2014-09-07  Allan McRae  <allan@archlinux.org
24244         * version.h (RELEASE): Set to "stable".
24245         (VERSION): Set to "2.20"
24246         * include/features.h (__GLIBC_MINOR__): Set to 20.
24248         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
24249         Liebler.
24251         * po/ko.po: Update Korean translation from translation project.
24253 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
24255         [BZ #17354]
24256         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
24257         macro for handling signed relocations.
24259 2014-09-03  Florian Weimer  <fweimer@redhat.com>
24261         [BZ #17325]
24262         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
24263         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
24264         assert.
24265         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
24266         * iconvdata/ibm935.c (BODY): Likewise.
24267         * iconvdata/ibm937.c (BODY): Likewise.
24268         * iconvdata/ibm939.c (BODY): Likewise.
24269         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
24270         assert.
24271         * iconvdata/Makefile (iconv-test.out): Pass module list to test
24272         script.
24273         * iconvdata/run-iconv-test.sh: New test loop for checking for
24274         decoder crashers.
24276 2014-09-02  Khem Raj  <raj.khem@gmail.com>
24278         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
24279         libm_hidden_ver.
24281 2014-09-01  Allan McRae  <allan@archlinux.org>
24283         * po/eo.po: Update Esperanto translation from translation project.
24285         * po/ca.po: Update Catalan translation from translation project.
24287 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24289         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
24290         __proc_dostop call.
24292 2014-08-27  Mark Wielaard  <mjw@redhat.com>
24294         [BZ #17319]
24295         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
24296         to call set_thread_area instead of hand written asm.
24297         (__NR_set_thread_area): Removed define.
24298         (TLS_FLAG_WRITABLE): Likewise.
24299         (__ASSUME_SET_THREAD_AREA): Remove check.
24300         (TLS_EBX_ARG): Remove define.
24301         (TLS_LOAD_EBX): Likewise.
24303 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24305         Simplify atomicity of socket creation in bind.
24307         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
24308         looking up the name after linking the file.
24310 2014-08-27  Allan McRae  <allan@archlinux.org>
24312         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24314 2014-08-26  Florian Weimer  <fweimer@redhat.com>
24316         [BZ #17187]
24317         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
24318         trans_compare, open_translit, __gconv_translit_find):
24319         Remove module loading code.
24321 2014-08-26  Allan McRae  <allan@archlinux.org>
24323         * po/vi.po: Update Vietnamese translation from translation project.
24325         * po/uk.po: Update Ukrainian translation from translation project.
24327         * po/fr.po: Update French translation from translation project.
24329         * po/ru.po: Update Russian translation from translation project.
24331         * po/pl.po: Update Polish translation from translation project.
24333         * po/cs.po: Update Czech translation from translation project.
24335         * po/de.po: Update German translation from translation project.
24337         * po/bg.po: Update Bulgarian translation from translation project.
24339         * po/sv.po: Update Sweedish translation from translation project.
24341         * po/nl.po: Update Dutch translation from translation project.
24343         * po/es.po: Update Spanish translation from translation project.
24345 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24347         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
24349         * catgets/Makefile (CPPFLAGS-gencat): Remove.
24350         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
24351         (CPPFLAGS-iconvconfig): Likewise.
24352         * timezone/Makefile (CPPFLAGS-zic): Likewise.
24354         * include/libc-symbols.h: Remove unnecessary check for
24355         NOT_IN_libc.
24356         * nptl/pthreadP.h: Likewise.
24357         * sysdeps/aarch64/setjmp.S: Likewise.
24358         * sysdeps/alpha/setjmp.S: Likewise.
24359         * sysdeps/arm/sysdep.h: Likewise.
24360         * sysdeps/i386/setjmp.S: Likewise.
24361         * sysdeps/m68k/setjmp.c: Likewise.
24362         * sysdeps/posix/getcwd.c: Likewise.
24363         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24364         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24365         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24366         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24367         * sysdeps/sh/sh3/setjmp.S: Likewise.
24368         * sysdeps/sh/sh4/setjmp.S: Likewise.
24369         * sysdeps/unix/alpha/sysdep.h: Likewise.
24370         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24372         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24373         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24378         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24379         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24380         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24381         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24383         * sysdeps/x86_64/setjmp.S: Likewise.
24385 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
24387         [BZ #17263]
24388         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
24389         <stdint.h>.
24390         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
24391         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
24393 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24395         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
24397         [BZ #17262]
24398         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
24399         and __x86_64__ when disabling x87 inline functions.
24401 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
24403         [BZ #17259]
24404         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
24405         asm statement with __cpuid_count.
24407 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
24409         * configure.ac: Change __ehdr_start code to dereference the struct.
24410         Run readelf on the output to look for relocations.
24411         * configure: Regenerated.
24413 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
24415         [BZ #17261]
24416         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
24417         value to 0.
24418         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
24420 2014-08-12  Roland McGrath  <roland@hack.frob.com>
24422         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
24424 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
24426         [BZ #16892]
24427         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
24428         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
24430 2014-08-12  Sean Anderson  <seanga2@gmail.com>
24432         * malloc/malloc.c: Fix typo in comment.
24434 2014-08-09  Allan McRae  <allan@archlinux.org>
24436         * Regenerate libc.po.
24438 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
24440         * intl/tst-gettext2.sh: Check every lang file for creation.
24442 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24444         * sysdeps/aarch64/fpu/math_private.h
24445         (libc_feholdsetround_noex_aarch64_ctx): New function.
24447 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24449         * sysdeps/arm/armv6/strcpy.S (strcpy):
24450         Fix performance issue in misaligned cases.
24452 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24454         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
24455         Move definition from termios.h.
24456         (struct termio): Likewise.
24457         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24458         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24459         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24460         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24461         Likewise.
24462         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
24463         Move definition to ioctl-types.h
24464         (struct termio): Likewise.
24465         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24466         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24467         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24468         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24469         Likewise.
24471 2014-08-05  Richard Henderson  <rth@redhat.com>
24473         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
24474         exceptions.
24475         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
24476         Add fraiseexcpt.
24477         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
24478         Use __feraiseexcept.
24479         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
24480         Protect libm symbols with IS_IN_libm.
24482         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
24484 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
24486         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
24488 2014-08-04  Will Newton  <will.newton@linaro.org>
24490         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
24491         file.
24493 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
24495         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
24496         variants for each function.
24498 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24500         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
24501         appended ...
24502         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
24503         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
24504         appended ...
24505         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
24506         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
24507         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
24508         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
24509         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
24510         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
24511         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
24512         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
24513         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
24514         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
24515         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
24516         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
24517         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
24518         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
24519         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
24520         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
24521         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
24522         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
24523         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
24524         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
24525         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
24526         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
24527         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
24528         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
24529         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
24530         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
24531         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
24532         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
24533         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
24534         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
24535         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
24536         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
24537         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
24538         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
24539         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
24540         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
24541         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
24542         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
24543         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
24544         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
24545         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
24546         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
24547         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
24548         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
24549         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
24550         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
24551         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
24552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
24553         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
24554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
24555         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
24556         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
24557         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
24558         Update #include.
24559         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
24560         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
24562 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24564         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
24565         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
24566         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
24567         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
24568         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
24569         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
24571 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24573         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
24574         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
24575         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24576         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
24578 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24580         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
24581         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
24582         (__libc_vfork): Define function under this name.
24583         (__vfork): Define as an alias.
24584         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
24585         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
24587 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24589         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
24590         that was previously under [RESET_PID].
24591         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
24593 2014-08-04  Andreas Schwab  <schwab@suse.de>
24595         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
24597 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
24599         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
24600         (main): Likewise.
24602 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24604         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
24606 2014-08-01  Richard Henderon  <rth@redhat.com>
24608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
24609         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
24610         typo in exact zero test.
24611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24615 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24617         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24618         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24619         * sysdeps/arm/sysdep.h: ... here.
24620         [!__ASSEMBLER__]: Include <stdint.h>.
24622 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24624         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24625         (HAVE_WCTYPE_H): Likewise.
24626         (HAVE_ISWCTYPE): Likewise.
24627         (ENABLE_NLS): Likewise.
24628         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24629         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24631         * posix/regex_internal.c: Check if DEBUG is defined and is
24632         set.
24634         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24635         (HAVE_MBSRTOWCS): Likewise.
24636         * posix/fnmatch.c: Include string.h unconditionally.
24638 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24640         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24641         reversal.
24643 2014-07-31  Roland McGrath  <roland@hack.frob.com>
24645         * sysdeps/generic/safe-fatal.h: New file.
24646         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24647         * nptl/forward.c: Include it.
24648         (__pthread_unwind): Use __safe_fatal as default action, rather
24649         than a bogus use of INTERNAL_SYSCALL that could never work.
24651         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24652         * configure.ac (libc_cv_builtin_trap): New test.
24653         * configure: Regenerated.
24654         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24655         (ABORT_INSTRUCTION): Define using __builtin_trap.
24657         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24658         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24659         * sysdeps/nptl/nptl-signals.h: New file.
24660         * nptl/pthreadP.h: Include <nptl-signals.h>.
24662 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24664         * sysdeps/s390/s390-64/utf16-utf32-z9.c
24665         (ONE_DIRECTION): Define.
24666         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24667         (ONE_DIRECTION): Define.
24668         * sysdeps/s390/s390-64/utf8-utf32-z9.c
24669         (ONE_DIRECTION): Define.
24671 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24673         * sysdeps/s390/Makefile: Delete file.
24674         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
24675         * sysdeps/s390/__longjmp.c: Delete file.
24676         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
24677         Remove fields __flags and __reserved.
24678         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
24679         and add versioning.
24680         * sysdeps/s390/rtld-__longjmp.c: Delete file.
24681         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
24682         * sysdeps/s390/rtld-setjmp.S: Likewise.
24683         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
24684         * sysdeps/s390/s390-32/__longjmp.c: ... here.
24685         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
24686         * sysdeps/s390/s390-32/setjmp.S: ... here.
24687         Add versioning.
24688         (__sigsetjmp): Remove setting __flags field.
24689         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
24690         * sysdeps/s390/s390-64/__longjmp.c: ... here.
24691         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
24692         * sysdeps/s390/s390-64/setjmp.S: ... here.
24693         Add versioning.
24694         (__sigsetjmp): Remove setting __flags field.
24695         * sysdeps/s390/setjmp.S: Delete file.
24696         * sysdeps/s390/sigjmp.c: Likewise.
24697         * sysdeps/s390/v1-longjmp.c: Likewise.
24698         * sysdeps/s390/v1-setjmp.h: Likewise.
24699         * sysdeps/s390/v1-sigjmp.c: Likewise.
24700         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
24701         Remove v1-longjmp_chk.
24702         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
24703         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24704         Include debug/longjmp_chk.c and add versioning.
24705         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24706         Include nptl/pt-longjmp.c and add versioning.
24707         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24708         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24709         Include __longjmp.c.
24710         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24711         Move to ...
24712         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24713         (__getcontext): Remove setting __flags field.
24714         Add versioning.
24715         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24716         Don't restore upper high grps.
24717         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24718         Likewise.
24719         (__swapcontext): Remove setting uc_flags field.
24720         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24721         Delete file.
24722         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24723         Include __longjmp.c.
24724         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24725         Move to ...
24726         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24727         (__getcontext): Remove setting __flags field.
24728         Add versioning.
24729         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24730         (__swapcontext): Remove setting uc_flags field.
24731         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24732         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24733         Remove fields uc_high_gprs and __reserved.
24734         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24735         New file with reverted content.
24736         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24737         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24738         Regenerated.
24739         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24740         Regenerated.
24742 2014-07-31  Andreas Schwab  <schwab@suse.de>
24744         * config.h.in (HAVE_IFUNC): Define to 0.
24745         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24746         definedness.
24748 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
24750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24751         memmove-avx-unaligned, memcpy-avx-unaligned and
24752         mempcpy-avx-unaligned.
24753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24754         Add tests for AVX memcpy functions.
24755         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24756         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24757         memcpy_chk.
24758         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24759         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24760         memmove_chk.
24761         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24762         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24763         mempcpy_chk.
24764         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24765         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24766         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24768 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24770         [BZ #17213]
24771         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24772         powerpc64le.
24774 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24776         [BZ #16839]
24777         * manual/llio.texi: Add section about open file description locks.
24778         * manual/examples/ofdlocks.c: Example of open file description
24779         lock usage.
24780         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24781         F_OFD_SETLK, and F_OFD_SETLKW.
24783 2014-07-23  Allan McRae  <allan@archlinux.org>
24785         * po/es.po: Update Spanish translation from translation project.
24787 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24789         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24791 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24793         [BZ #17078]
24794         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24795         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24796         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24798 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24800         [BZ #17088]
24801         * math/fesetenv.c (__fesetenv)
24802         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24803         * math/feupdateenv.c (__feupdateenv)
24804         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24806         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24807         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24808         (__ASSUME_SOCKETCALL): Do not define.
24810         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24811         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24812         (__ASSUME_SOCKETCALL): Do not define.
24813         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24814         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24815         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24816         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24817         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24818         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24819         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24820         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24822         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24823         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24824         (__ASSUME_SOCKETCALL): Do not define.
24825         (__ASSUME_IPC64): Define unconditionally.
24826         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24827         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24828         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24829         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24830         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24831         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24832         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24833         Likewise.
24835         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24836         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24837         (__ASSUME_SOCKETCALL): Do not define.
24838         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24839         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24840         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24841         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24842         (__ASSUME_REQUEUE_PI): Define unconditionally.
24843         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24844         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24845         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24846         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24847         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24848         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24850         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24851         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24852         (__ASSUME_SOCKETCALL): Do not define.
24853         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24854         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24855         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24856         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24858         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24860         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24861         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24862         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24863         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24864         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24865         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24867         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24868         (__ASSUME_GETCPU_SYSCALL): Likewise.
24870         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24871         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24872         cases for individual architectures.
24873         * sysdeps/gnu/configure: Regenerated.
24874         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24875         LIBC_SLIBDIR_RTLDDIR.
24876         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24877         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24878         LIBC_SLIBDIR_RTLDDIR.
24879         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24881         LIBC_SLIBDIR_RTLDDIR.
24882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24883         Regenerated.
24884         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24885         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24886         file.
24887         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24888         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24889         file.
24890         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24891         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24892         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24893         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24895         * sysdeps/aarch64/shlib-versions: Move to ...
24896         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24897         * sysdeps/alpha/shlib-versions: Move to ...
24898         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24899         * sysdeps/arm/shlib-versions: Move to ...
24900         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24901         * sysdeps/hppa/shlib-versions: Move all contents except for
24902         libgcc_s entry to ...
24903         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24904         entry from ...
24905         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24906         * sysdeps/ia64/shlib-versions: Move to ...
24907         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24908         entry from ...
24909         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24910         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24911         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24912         * sysdeps/microblaze/shlib-versions: Move to ...
24913         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24914         * sysdeps/mips/shlib-versions: Move to ...
24915         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24916         entry from ...
24917         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24918         * sysdeps/tile/shlib-versions: Move to ...
24919         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24920         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24921         from ...
24922         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24923         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24924         entry from ...
24925         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24927 2014-07-17  Will Newton  <will.newton@linaro.org>
24929         * sysdeps/arm/bits/atomic.h
24930         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24931         (__arch_compare_and_exchange_bool_16_int): Likewise.
24932         (__arch_compare_and_exchange_bool_64_int): Likewise.
24934         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24935         into an #else block.
24937 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24939         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24940         just Linux configurations.  Test empirically that the compiler sets
24941         __ARM_EABI__, rather than using the tuple to decide.
24942         * sysdeps/arm/preconfigure: Regenerated.
24943         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24944         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24945         contents appended ...
24946         * sysdeps/arm/configure.ac: ... here.
24947         * sysdeps/arm/configure: Regenerated.
24949 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24951         * nptl/pthread_kill.c: New file.
24952         * nptl/pthread_sigmask.c: New file.
24953         * nptl/pthread_sigqueue.c: New file.
24955         * sysdeps/nptl/lowlevellock.h: New file.
24956         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24957         * sysdeps/nptl/lowlevellock-futex.h: New file.
24959         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24960         Remove dead declarations.
24962 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24964         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24965         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24966         config-cflags-avx2.
24967         * sysdeps/x86_64/configure.ac: Likewise.
24968         * sysdeps/i386/configure: Regenerated.
24969         * sysdeps/x86_64/configure: Likewise.
24970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24971         memset-avx2 only if config-cflags-avx2 is yes.
24972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24973         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24974         defined.
24975         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24976         only if HAVE_AVX2_SUPPORT is defined.
24977         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24979 2014-07-14  Alan Modra  <amodra@gmail.com>
24981         [BZ #17153]
24982         * elf/elf.h (DT_PPC64_NUM): Correct value.
24983         * NEWS: Add to fixed bug list.
24985 2014-07-13  Jim Meyering  <meyering@fb.com>
24987         [BZ 17150]
24988         regex: don't deref NULL upon heap allocation failure
24989         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24990         failure in one more place.
24991         To trigger the segfault, configure grep -with-included-regex,
24992         build it, and run these commands:
24993         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24995 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24997         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24999 2014-07-11  Richard Henderson  <rth@redhat.com>
25001         * sysdeps/aarch64/libm-test-ulps: Update.
25003 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25005         [BZ #17135]
25006         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25007         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25008         (__nptl_setxid): Initialize error member.  Call
25009         __nptl_setxid_error.
25010         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25011         * nptl/descr.h (struct xid_command): Add error member.
25012         * nptl/tst-setuid3.c: New file.
25013         * nptl/Makefile (tests): Add it.
25015 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25017         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25018         New define.
25019         (__lll_trylock): Use __lll_base_trylock.
25020         (__lll_cond_trylock): Likewise.
25022 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25024         * nptl/pthread_create.c (start_thread): Use atomic_or and
25025         lll_futex_wake directly rather than lll_robust_dead.
25026         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25027         (lll_robust_dead): Macro removed.
25028         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25029         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25030         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25031         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25032         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25033         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25034         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25035         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25036         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25037         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25038         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25039         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25040         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25041         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25042         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25044         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25045         Use atomic_compare_and_exchange_val_acq directly rather than
25046         lll_robust_trylock.
25047         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25048         (__lll_robust_trylock, lll_robust_trylock): Removed.
25049         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25050         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25051         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25052         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25053         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25054         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25055         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25056         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25057         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25058         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25059         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25060         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25061         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25062         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25064 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25066         * manual/locale.texi (Locale Names): New section documenting
25067         locale name syntax.  Adjust menu and node chaining accordingly.
25068         (Choosing Locale): Reference Locale Names, Locale Categories.
25069         Mention setting LC_ALL=C.  Reflect that name syntax is now
25070         documented.
25071         (Locale Categories): New section title.  Reference Locale Names.
25072         LC_ALL is an environment variable, but not a category.
25073         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25074         description, now in Locale Name.  Reference that section.  Locale
25075         name syntax is now documented.
25077 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25079         [BZ #17137]
25080         * locale/findlocale.c (name_present, valid_locale_name): New
25081         functions.
25082         (_nl_find_locale): Use the loc_name variable to store name
25083         candidates.  Call name_present and valid_locale_name to check and
25084         validate locale names.  Return an error if the locale is invalid.
25086 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25088         * locale/setlocale.c (setlocale): Use strdup for allocating
25089         composite name copy.
25091 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25093         Sync up with gnulib.
25094         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25095         [!_LIBC && ENABLE_NLS]: Include gettext.h.
25096         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25097         and _GL_ARG_NONNULL.
25098         [USE_UNLOCKED_IO]: Include unlocked-io.h.
25099         [!_LIBC]: Include code for Windows and Cygwin.
25100         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25101         Include prototype for int strerror_r.
25102         [!_LIBC] (is_open): New function.
25103         (flush_stdout): New function.
25104         (print_errno_message): Use it.
25105         (error): Likewise.
25106         (error_at_line): Likewise.
25107         (error_tail) Add function attribute macros.  Use
25108         __builtin_expect.
25110         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25112         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25114         * io/ftw.c: Include sys/param.h unconditionally.
25116         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25118         [BZ #17125]
25119         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25120         libc_freeres_ptr.
25121         (freecache): New function to free CACHE on exit.
25123         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25124         initialization.
25126 2014-07-09  David S. Miller  <davem@davemloft.net>
25128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25130         * sysdeps/sparc/nptl/internaltypes.h: Delete.
25131         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25132         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
25133         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
25134         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
25135         * sysdeps/sparc/nptl/sem_init.c: Likewise.
25136         * sysdeps/sparc/nptl/sem_post.c: Likewise.
25137         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25138         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
25139         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
25140         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
25141         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
25142         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
25144 2014-07-09  Andreas Schwab  <schwab@suse.de>
25146         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
25147         output.
25148         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
25149         (do_test): Likewise.
25151         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25153 2014-07-09  Will Newton  <will.newton@linaro.org>
25155         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
25156         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
25157         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25158         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25159         * sysdeps/hppa/start.S (_start): Likewise.
25161 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25163         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
25165         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
25166         defined.
25168 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25170         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
25171         after checking that it is non-NULL.
25173         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
25175 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25177         * sysdeps/powerpc/memmove.c: Remove file.
25178         * sysdeps/powerpc/powerpc32/power4/memcopy.h
25179         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
25180         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25181         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
25182         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
25183         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
25184         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
25185         string memmove instead of removed powerpc one.
25187         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25188         [weak_alias]: Fix compiler warning due trailing data.
25189         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
25190         [weak_alias]: Likewise.
25191         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
25192         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
25194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25195         (__libc_ifunc_impl_list): Add memmove functions.
25197 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25199         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
25200         Remove code.
25201         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
25202         Likewise.
25203         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
25204         Likewise.
25205         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
25206         Likewise.
25207         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
25208         Likewise.
25209         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
25210         Likewise.
25211         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
25212         Likewise.
25213         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
25214         Likewise.
25215         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
25216         Likewise.
25217         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
25218         Likewise.
25219         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
25220         Likewise.
25221         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
25222         Likewise.
25223         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
25224         Likewise.
25225         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
25226         Likewise.
25227         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
25228         Likewise.
25229         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
25230         Likewise.
25231         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
25232         Likewise.
25234 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25236         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
25237         to avoid alignment traps in non-cacheable memory.
25238         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
25241         multiarch objects.
25242         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
25243         file: multiarch power7 memmove.
25244         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
25245         multiarch default memmove.
25246         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
25247         multiarch memove for powerpc32/power4.
25249         * string/bcopy.c: Use full path to include memmove.c.
25250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
25251         multiarch objects.
25252         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
25253         bcopy for powerpc64.
25254         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
25255         bcopy for powerpc64.
25256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
25257         and memmove implementations.
25258         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
25259         optimized multiarch memmove for POWER7/powerpc64.
25260         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
25261         default multiarch memmove for powerpc64.
25262         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
25263         multiarch for powerpc64.
25264         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
25265         for POWER7/powerpc64.
25266         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
25267         memmove for POWER7/powerpc64.
25269         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
25270         glibc default one.
25272         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
25273         __ELF_NATIVE_CLASS equal to 64.
25275 2014-07-07  Roland McGrath  <roland@hack.frob.com>
25277         * sysdeps/nptl/lowlevellock.h: File removed.
25279         * NEWS: NPTL is no longer an add-on!
25280         * nptl/internaltypes.h: Moved ...
25281         * sysdeps/nptl/internaltypes.h: ... here.
25282         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
25283         * sysdeps/nptl/fork.c: Likewise.
25284         * sysdeps/nptl/gai_misc.h: Likewise.
25285         * sysdeps/nptl/librt-cancellation.c: Likewise.
25286         * sysdeps/nptl/jmp-unwind.c: Likewise.
25287         * sysdeps/nptl/setxid.h: Likewise.
25288         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
25289         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
25290         * sysdeps/unix/sysv/linux/arm/Implies: New file.
25291         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
25292         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
25293         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
25294         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
25295         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
25296         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
25297         * sysdeps/unix/sysv/linux/mips/Implies: New file.
25298         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
25299         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
25300         * sysdeps/unix/sysv/linux/sh/Implies: New file.
25301         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
25302         * sysdeps/unix/sysv/linux/tile/Implies: New file.
25303         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
25304         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
25305         * nptl/Makeconfig: Moved ...
25306         * sysdeps/nptl/Makeconfig: ... here.
25307         * nptl/configure: File removed.
25308         * nptl/ANNOUNCE: File removed.
25309         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
25310         * sysdeps/unix/sysv/linux/configure: Regenerated.
25312         * nptl/Makefile (routines): Add libc_pthread_init,
25313         libc_multiple_threads, register-atfork and unregister-atfork.
25314         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
25315         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
25316         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
25317         pthread-pi-defines.sym, structsem.sym.
25318         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
25319         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
25320         [$(subdir) = nptl] (tests): Add tst-setgetname.
25321         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
25322         * sysdeps/unix/sysv/linux/sigaction.c: Just include
25323         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
25324         [!LIBC_SIGACTION]: Remove aliases.
25325         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25326         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25327         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25328         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
25329         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25330         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
25331         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25332         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25333         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25334         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
25335         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
25336         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
25337         __libc_allocate_rtsig_private.
25338         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
25339         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
25340         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25341         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25342         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
25343         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
25344         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
25345         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
25346         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
25347         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
25348         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
25349         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
25350         * nptl/internaltypes.h: ... here.
25351         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
25352         * sysdeps/nptl/jmp-unwind.c: ... here.
25353         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
25354         * nptl/libc-lowlevellock.c: ... here.
25355         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
25356         * nptl/libc_multiple_threads.c: ... here.
25357         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
25358         * nptl/libc_pthread_init.c: ... here.
25359         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
25360         * nptl/lowlevelbarrier.sym: ... here.
25361         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
25362         * nptl/lowlevelcond.sym: ... here.
25363         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
25364         * nptl/lowlevellock.c: ... here.
25365         * nptl/lowlevellock.h: Moved ...
25366         * sysdeps/nptl/lowlevellock.h: ... here.
25367         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
25368         * nptl/lowlevelrobustlock.c: ... here.
25369         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
25370         * nptl/lowlevelrobustlock.sym: ... here.
25371         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
25372         * nptl/lowlevelrwlock.sym: ... here.
25373         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
25374         * nptl/pt-fork.c: ... here.
25375         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
25376         * nptl/pthread-pi-defines.sym: ... here.
25377         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
25378         * nptl/pthread_attr_getaffinity.c: ... here.
25379         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
25380         * nptl/pthread_attr_setaffinity.c: ... here.
25381         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
25382         * nptl/pthread_mutex_cond_lock.c: ... here.
25383         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25384         Update #include.
25385         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
25386         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
25387         * nptl/pthread_once.c: ... here, replacing old file.
25388         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
25389         * nptl/pthread_yield.c: ... here.
25390         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
25391         * nptl/register-atfork.c: ... here.
25392         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
25393         * nptl/sem_post.c: ... here.
25394         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
25395         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
25396         * nptl/sem_timedwait.c: ... here.
25397         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
25398         * nptl/sem_trywait.c: ... here.
25399         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
25400         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
25401         * nptl/sem_wait.c: ... here.
25402         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
25403         * nptl/structsem.sym: ... here.
25404         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
25405         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
25406         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
25407         * nptl/unregister-atfork.c: ... here.
25408         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
25409         * nptl/unwindbuf.sym: ... here.
25410         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
25411         * sysdeps/nptl/fork.c: ... here.
25412         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
25413         * sysdeps/nptl/fork.h: ... here.
25414         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
25415         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
25416         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
25417         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
25418         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
25419         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
25420         * sysdeps/unix/sysv/linux/getpid.c: ... here.
25421         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
25422         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
25423         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
25424         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
25425         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
25426         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
25427         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
25428         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
25429         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
25430         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
25431         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
25432         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
25433         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
25434         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
25435         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
25436         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
25437         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
25438         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
25439         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
25440         * sysdeps/unix/sysv/linux/raise.c: ... here.
25441         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
25442         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
25443         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
25444         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
25445         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
25446         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
25447         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
25448         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
25449         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
25450         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
25451         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
25452         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
25453         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
25454         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
25455         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
25457 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25459         * sysdeps/generic/memcopy.h: Add comment for
25460         MEMCPY_OK_FOR_FWD_MEMMOVE.
25462 2014-07-04  Will Newton  <will.newton@linaro.org>
25464         * string/memchr.c: Merge from gnulib.
25465         [_LIBC]: Remove conditionals.
25466         (__ptr_t): Remove define.
25467         (LONG_MAX_32_BITS): Likewise.
25468         (LONG_MAX): Likewise.
25469         (MEMCHR): Use ANSI prototype and optimize algorithm.
25471         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
25473 2014-07-03  Roland McGrath  <roland@hack.frob.com>
25475         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
25476         (lll_futex_timed_wait_bitset): Fix syscall argument count.
25478         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
25479         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
25480         in a bare environment with no <stdlib.h> installed.
25481         * sysdeps/nptl/configure: Regenerated.
25483         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
25485         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
25486         AC_EGREP_CPP for kernel header checks, so they only succeed if
25487         including <linux/version.h> actually works right.
25488         * sysdeps/unix/sysv/linux/configure: Regenerated.
25490         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
25491         value so it's not diagnosed as unused.
25493         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
25494         thing) with "ifeq ($(subdir),rt)".
25496 2014-07-03  Richard Henderson  <rth@redhat.com>
25498         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
25499         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
25500         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
25502         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
25503         (math_force_eval): New.
25505         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
25506         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
25508         * sysdeps/alpha/fpu/s_round.c: Remove file.
25509         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
25511         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
25512         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
25513         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
25514         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
25515         (_dl_start, print_statistics): Likewise.
25516         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
25517         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
25519         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25520         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25521         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25522         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25524         (HP_SMALL_TIMING_AVAIL): Define.
25525         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25526         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25527         (HP_SMALL_TIMING_AVAIL): Define.
25528         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25529         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25531         * sysdeps/aarch64/hp-timing.h: New file.
25533         * sysdeps/generic/hp-timing.h: Remove dead comment.
25534         * sysdeps/generic/hp-timing-common.h: New file.
25535         * sysdeps/alpha/hp-timing.h: Include it.
25536         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
25537         * sysdeps/i386/i686/hp-timing.h: Likewise.
25538         * sysdeps/ia64/hp-timing.h: Likewise.
25539         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25540         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25541         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25542         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25543         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
25544         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
25545         (hp_timing_t): New.
25547         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
25548         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
25549         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
25550         * elf/rtld.c (_dl_start_final): Likewise.
25551         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
25552         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25553         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25554         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25555         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25556         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25557         (HP_TIMING_DIFF_INIT): Remove.
25558         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25559         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25560         (HP_TIMING_DIFF_INIT): Remove.
25561         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25562         * sysdeps/i386/i686/hp-timing.c: Remove file.
25563         * sysdeps/x86_64/hp-timing.c: Remove file.
25564         * sysdeps/ia64/hp-timing.c: Remove file.
25565         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
25566         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
25567         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
25568         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
25570         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
25571         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
25572         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
25573         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25574         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25575         (HP_TIMING_ACCUM): Remove.
25576         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25577         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
25578         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25580         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
25581         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
25582         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
25583         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
25584         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
25585         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25586         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
25587         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25589         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
25591 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
25593         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
25595 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25597         Sync up with gettext.
25598         * intl/loadmsgcat.c: Define O_BINARY if not defined.
25599         [_MSC_VER]: Include malloc.h
25600         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
25601         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
25602         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
25603         TEMP_FAILURE_RETRY.  Cast return of alloca.
25604         [!_LIBC] Call gl_rwlock_init.
25605         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
25607 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25609         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
25610         before checking its value.
25612 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25614         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25616         * debug/memcpy_chk.c: Don't include pagecopy.h.
25617         * debug/mempcpy_chk.c: Likewise.
25618         * string/memcpy.c: Likewise.
25619         * string/memmove.c: Likewise.
25620         * sysdeps/powerpc/memmove.c: Likewise.
25621         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
25622         definition of PAGE_COPY_FWD_MAYBE here...
25623         * sysdeps/generic/pagecopy.h: ... from here.
25624         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25626 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25627             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25629         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25631         optimizations.
25632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25633         (__libc_ifunc_impl_list): Likewise.
25634         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25635         multiarch strcat for PPC64.
25636         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25637         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25639 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25641         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25643 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25645         * intl/loadmsgcat.c: Remove declaration of
25646         get_sysdep_segment_value.
25647         (get_sysdep_segment_value): Use ISO C style.
25648         (_nl_load_domain): Use ISO C style.  Get rid of redundant
25649         semicolon.  Fix typo and formatting in comment.
25650         (_nl_unload_domain): Use ISO C style.
25652         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25654 2014-07-02  Will Newton  <will.newton@linaro.org>
25656         * malloc/obstack.c: Merge from gnulib master.
25657         [HAVE_CONFIG_H]: Remove conditional code.
25658         [!_LIBC]: Include config.h.
25659         [!ELIDE_CODE]: Don't include inttypes.h, include
25660         stdint.h unconditionally.
25661         (print_and_abort): Mark as _Noreturn.
25662         (_obstack_allocated_p): Mark as __attribute_pure__.
25663         (obstack_free): Rename to __obstack_free.
25664         [!__attribute__]: Remove conditional code.
25665         * malloc/obstack.h: Merge from gnulib master.
25666         [__cplusplus]: Move conditional down.
25667         [!__attribute_pure__]: Define __attribute_pure__ here
25668         if it is not already defined.
25669         (_obstack_memory_used): Mark as __attribute_pure__.
25670         [!__obstack_free]: Define as obstack_free.
25671         [__GNUC__]: Remove check for ancient NeXT gcc.
25673 2014-07-02  Will Newton  <will.newton@linaro.org>
25674             Paul Eggert  <eggert@cs.ucla.edu>
25676         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
25678 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25680         * resolv/gethnamaddr.c: Add comment warning that the file is
25681         not maintained.
25683 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
25685         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
25686         entries.
25688         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
25689         entry for aio_cancel and aio_cancel64.
25690         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
25691         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
25692         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
25693         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
25694         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
25695         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
25696         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25697         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
25698         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
25699         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
25700         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
25701         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
25702         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
25704 2014-07-01  Roland McGrath  <roland@hack.frob.com>
25706         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25707         * nptl/pthread_mutex_lock.c: Likewise.
25708         * nptl/pthread_mutex_timedlock.c: Likewise.
25709         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25711 2014-07-01  Richard henderson  <rth@redhat.com>
25713         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25714         (__isnan, __isnanl): Remove.
25715         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25717         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25719 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25723 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25725         * resolv/nss_dns/dns-host.c (getanswer_r)
25726         [MULTI_PTRS_ARE_ALIASES]: Remove code.
25728 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
25730         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25731         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25732         undefine.
25733         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25734         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25736 2014-07-01  Roland McGrath <roland@hack.frob.com>
25738         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25739         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25741         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25742         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25744         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25745         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25746         ... here.
25747         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25748         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25750         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25751         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25752         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25753         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25755         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25756         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25757         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25758         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25759         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25760         Moved ...
25761         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25762         ... here.
25763         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25764         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25765         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25766         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25767         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25768         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25769         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25770         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25771         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25772         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25773         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25774         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25775         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25776         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25777         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25778         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25779         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25780         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25781         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25782         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25783         ... here.
25784         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25785         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25786         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25787         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25788         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25789         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25790         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25791         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25793 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25795         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25796         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25797         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25798         Add sysdep.
25800 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25804 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25806         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25807         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25809         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25811         * sysdeps/arm/libm-test-ulps: Regenerated.
25813 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25814             Roland McGrath <roland@hack.frob.com>
25816         * test-skeleton.c (signal_handler): Kill the whole process group
25817         before killing the child individually.
25818         (main): Report any failure on `setpgid'.
25820 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25822         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25823         from _TLS_H to _ARM_NPTL_TLS_H.
25824         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25825         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25827 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25829         [BZ #16539]
25830         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25831         (__expm1l): Return argument unchanged when small but not
25832         subnormal.
25834         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25835         include macro name.
25836         (_FP_UNPACK_RAW_1_P): Likewise.
25837         (_FP_PACK_RAW_1): Likewise.
25838         (_FP_PACK_RAW_1_P): Likewise.
25839         (_FP_MUL_MEAT_1_wide): Likewise.
25840         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25841         (_FP_MUL_MEAT_1_hard): Likewise.
25842         (_FP_DIV_MEAT_1_imm): Likewise.
25843         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25844         (_FP_DIV_MEAT_1_udiv): Likewise.
25845         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25846         (_FP_UNPACK_RAW_2): Likewise.
25847         (_FP_UNPACK_RAW_2_P): Likewise.
25848         (_FP_PACK_RAW_2): Likewise.
25849         (_FP_PACK_RAW_2_P): Likewise.
25850         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25851         (_FP_MUL_MEAT_2_wide): Likewise.
25852         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25853         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25854         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25855         (_FP_MUL_MEAT_2_gmp): Likewise.
25856         (_FP_DIV_MEAT_2_udiv): Likewise.
25857         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25858         (_FP_FRAC_SRL_4): Likewise.
25859         (_FP_FRAC_SRST_4): Likewise.
25860         (_FP_FRAC_SRS_4): Likewise.
25861         (_FP_UNPACK_RAW_4): Likewise.
25862         (_FP_UNPACK_RAW_4_P): Likewise.
25863         (_FP_PACK_RAW_4): Likewise.
25864         (_FP_PACK_RAW_4_P): Likewise.
25865         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25866         (_FP_MUL_MEAT_4_wide): Likewise.
25867         (_FP_MUL_MEAT_4_gmp): Likewise.
25868         (umul_ppppmnnn): Likewise.
25869         (_FP_DIV_MEAT_4_udiv): Likewise.
25870         (__FP_FRAC_ADD_4): Likewise.
25871         (__FP_FRAC_SUB_3): Likewise.
25872         (__FP_FRAC_SUB_4): Likewise.
25873         (__FP_FRAC_DEC_3): Likewise.
25874         (__FP_FRAC_DEC_4): Likewise.
25875         (__FP_FRAC_ADDI_4): Likewise.
25876         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25877         (_FP_FRAC_SRL_8): Likewise.
25878         (_FP_FRAC_SRS_8): Likewise.
25880         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25881         include macro name.
25882         (FP_UNPACK_RAW_EP): Likewise.
25883         (FP_PACK_RAW_E): Likewise.
25884         (FP_PACK_RAW_EP): Likewise.
25885         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25886         (_FP_ISSIGNAN): Likewise.
25887         (_FP_ADD_INTERNAL): Likewise.
25888         (_FP_FMA): Likewise.
25889         (_FP_CMP): Likewise.
25890         (_FP_SQRT): Likewise.
25891         (_FP_TO_INT): Likewise.
25892         (_FP_FROM_INT): Likewise.
25893         (FP_EXTEND): Likewise.
25894         (_FP_DIV_MEAT_N_loop): Likewise.
25896 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25898         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25899         throughout.
25901 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25903         [BZ #17097]
25904         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25905         result with correct sign in case of exponents that produce
25906         overflow except for X very close to 1.
25908 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25910         mktime: merge #if/#ifdef usage from glibc
25911         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25912         as that works with both Glibc's and Gnulib's style.
25913         See thread starting at Siddhesh Poyarekar's bug report at:
25914         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25916 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25918         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25919         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25920         * sysdeps/tile/tilegx/memmove.c: Remove file.
25922 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25924         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25925         abi-name definition.
25926         * scripts/soversions.awk: Do not handle or generate ABI lines.
25927         * shlib-versions: Remove ABI entries.
25928         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25929         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25931 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25934         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25935         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25936         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25938         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25940         Moved ...
25941         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25942         ... here.
25943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25944         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25946         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25948         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25950         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25952         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25954         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25956         Moved ...
25957         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25959         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25961         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25963         Moved ...
25964         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25966         Moved ...
25967         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25969         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25971         Moved ...
25972         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25974         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25976         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25978         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25980         Moved ...
25981         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25983         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25984         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25985         Moved ...
25986         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25988         Moved ...
25989         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25991         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25993         Moved ...
25994         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25995         ... here.
25996         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25997         Identical file removed.
25998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25999         Moved ...
26000         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26002         Identical file removed.
26003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26004         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26005         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26006         Moved ...
26007         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26008         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26009         Identical file removed.
26010         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26011         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26012         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26013         Identical file removed.
26014         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26015         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26017         Identical file removed.
26018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26019         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26020         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26021         Identical file removed.
26022         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26023         Moved ...
26024         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26025         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26026         Identical file removed.
26027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26028         Moved ...
26029         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26031         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26033         Identical file removed.
26034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26035         Moved ...
26036         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26037         ... here.
26038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26039         Identical file removed.
26040         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26041         Moved ...
26042         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26044         Identical file removed.
26045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26046         Moved ...
26047         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26049         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26050         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26051         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26053         Moved ...
26054         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26055         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26056         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26058         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26059         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26060         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26061         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26062         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26064 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
26066         [BZ #17092]
26067         * nscd/nscd.c (monitor_child): Return exit status of child
26068         instead of return value from wait syscall.
26070 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26072         * configure.ac (libc_commonpagesize): Remove variable.
26073         (libc_relro_required): Likewise.
26074         (libc_cv_z_relro): Remove configure test.
26075         * configure: Regenerated.
26076         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26077         variable.
26078         (libc_relro_required): Likewise.
26079         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26080         (libc_relro_required): Likewise.
26081         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26082         (libc_relro_required): Likewise.
26083         * sysdeps/arm/preconfigure: Regenerated.
26084         * sysdeps/ia64/preconfigure: Remove file.
26085         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26086         variable.
26087         (libc_relro_required): Likewise.
26089         [BZ #16561]
26090         [BZ #16562]
26091         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26092         (__ieee754_yn): Set FE_TONEAREST mode internally and then
26093         recompute overflowing results in original rounding mode.
26094         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26095         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26096         recompute overflowing results in original rounding mode.
26097         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26098         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26099         recompute overflowing results in original rounding mode.
26100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26101         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26102         recompute overflowing results in original rounding mode.
26103         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26104         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26105         recompute overflowing results in original rounding mode.
26106         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26107         (libc_feholdsetround_ctx): New macro.
26108         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26109         * sysdeps/i386/fpu/libm-test-ulps: Update.
26110         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26112 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26114         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26115         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26116         corresponding .cpsetup call.
26118 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26120         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26121         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26122         * sysdeps/arm/Makefile [$(subdir) = csu]
26123         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26124         (static-only-routines): Add aeabi_read_tp here.
26125         (shared-only-routines): Add libc-aeabi_read_tp here.
26126         (CFLAGS-libc-start.c): Add -fexceptions here.
26127         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26128         (sysdep_routines, static-only-routines, shared-only-routines):
26129         Don't add to these here.
26130         (CFLAGS-libc-start.c): Likewise.
26132         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
26133         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26134         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
26135         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26136         * sysdeps/arm/Makefile [$(subdir) = rt]
26137         (librt-sysdep_routines, librt-shared-only-routines):
26138         Append rt-aeabi_unwind_cpp_pr1 here.
26139         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
26140         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
26141         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
26142         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26143         Append nptl-aeabi_unwind_cpp_pr1 here.
26144         (tests): Filter out tst-cleanupx4 here.
26145         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
26146         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
26147         Don't do those here.
26149 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26151         * scripts/list-sources.sh: Do not handle ports specially.
26153 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26155         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
26156         * sysdeps/arm/feupdateenv.c: Likewise.
26158         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
26160 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26162         * manual/texinfo.tex: Update to version 2014-05-05.10 with
26163         trailing whitespace removed.
26164         * scripts/config.guess: Update to version 2014-03-23.
26165         * scripts/config.sub: Update to version 2014-05-01
26166         * scripts/install-sh: Update to version 2013-12-25.23.
26167         * scripts/move-if-change: Update from gnulib.
26169 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26171         * debug/memmove_chk.c: Remove pagecopy.h include.
26173 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
26175         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
26176         identical to gnulib mktime.
26178 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26180         * configure.ac: Do not test for machine being rs6000.  Do not test
26181         for powerpc*-*soft.
26182         * configure: Regenerated.
26184         [BZ #11505]
26185         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
26186         test.
26187         * configure: Regenerated.
26188         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
26189         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
26190         Remove configure test.
26191         * sysdeps/arm/configure: Regenerated.
26192         * sysdeps/nptl/configure.ac: Do not check
26193         libc_cv_asm_cfi_directives.
26194         * sysdeps/nptl/configure: Regenerated.
26195         * sysdeps/x86_64/nptl/configure.ac: Remove file.
26196         * sysdeps/x86_64/nptl/configure: Remove generated file.
26197         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26198         unconditional.
26199         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
26201 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26203         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
26204         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
26205         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
26206         it is defined.
26208         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
26209         instead of whether it is defined.
26210         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
26211         * sysdeps/hppa/dl-machine.h: Likewise.
26212         * sysdeps/ia64/dl-machine.h: Likewise.
26213         * sysdeps/m68k/dl-machine.h: Likewise.
26214         * sysdeps/microblaze/dl-machine.h: Likewise.
26215         * sysdeps/mips/dl-machine.: Likewise.
26216         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26217         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26218         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26219         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26220         * sysdeps/sh/dl-machine.h: Likewise.
26221         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26222         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26223         * sysdeps/tile/dl-machine.h: Likewise.
26224         * sysdeps/x86_64/dl-machine.h: Likewise.
26226         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
26227         code.
26228         (verify_persistent_db): Likewise.
26230 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
26233         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
26234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
26235         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
26236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26237         Moved ...
26238         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
26239         ... here.
26240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
26241         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
26242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
26243         Identical file removed.
26244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
26245         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
26246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
26247         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
26248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
26249         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
26250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
26251         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
26252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
26253         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
26254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26255         Moved ...
26256         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
26257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
26258         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
26259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
26260         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
26261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26262         Moved ...
26263         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
26264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
26265         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
26266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
26267         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
26268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26269         Identical file removed.
26270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
26271         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
26272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
26273         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
26274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26275         Moved ...
26276         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
26277         ... here.
26278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
26279         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
26280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
26281         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
26282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
26283         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
26284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
26285         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
26286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
26287         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
26288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26289         Moved ...
26290         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
26291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
26292         Moved ...
26293         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
26294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
26295         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
26296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26297         Moved ...
26298         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
26299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
26300         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
26302         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
26303         folded into ...
26304         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
26305         * sysdeps/unix/sysv/linux/s390/Versions
26306         (libpthread: GLIBC_2.19): New version set.
26307         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
26308         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
26309         (librt: GLIBC_2.3.3): New version set.
26310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
26311         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
26312         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
26313         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
26314         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
26315         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
26316         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
26317         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
26318         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
26319         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
26320         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
26321         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
26322         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
26323         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
26324         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
26325         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
26326         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
26327         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
26328         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
26329         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
26330         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
26331         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
26332         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
26333         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
26334         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
26335         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
26336         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
26337         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
26338         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
26339         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
26340         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
26341         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
26342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
26343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
26344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
26345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
26346         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
26347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
26348         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
26349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
26350         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
26351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
26352         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
26353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
26354         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
26356         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
26357         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
26358         (__libc_vfork): Define the function under this name.
26359         [!NOT_IN_libc] (__vfork): Make this an alias.
26360         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
26362         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
26363         (__libc_vfork): Define the function under this name.
26364         [!NOT_IN_libc] (__vfork): Make this an alias.
26365         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26366         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
26367         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
26368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
26369         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
26370         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26372         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
26373         code that was previously under [RESET_PID].
26374         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
26375         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
26376         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
26378         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26379         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
26380         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
26381         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
26382         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
26383         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
26384         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
26385         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
26386         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
26387         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
26388         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
26389         Moved ...
26390         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
26391         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
26392         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
26393         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
26394         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
26395         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
26396         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
26397         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
26398         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
26399         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
26400         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
26401         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
26402         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
26403         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
26404         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
26405         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
26406         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
26407         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
26408         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
26409         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
26410         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
26411         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
26412         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
26413         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
26414         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
26415         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
26416         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
26417         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
26418         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
26420 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26422         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
26423         that was previously under [RESET_PID].
26424         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
26426 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26428         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
26429         not undefine and redefine.
26430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
26431         [O_CLOEXEC]: Make code unconditional.
26432         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
26433         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
26434         <kernel-features.h>.
26435         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
26436         conditional variable definition.
26437         (shm_open) [O_CLOEXEC]: Make code unconditional.
26438         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
26439         code.
26441         * configure.ac (USE_REGPARMS): Don't define here.
26442         * configure: Regenerated.
26443         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
26444         * sysdeps/i386/configure: Regenerated.
26446         * nptl/createthread.c: Don't include kernel-features.h.
26447         * nptl/pthread_cancel.c: Likewise.
26448         * nptl/pthread_condattr_setclock.c: Likewise.
26449         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
26450         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
26451         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
26452         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
26453         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
26454         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
26455         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26456         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
26457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26458         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
26459         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
26460         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
26461         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
26462         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
26463         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
26464         * nscd/gai.c: Likewise.
26465         * nss/nss_db/db-open.c: Likewise.
26466         * sysdeps/generic/ldsodefs.h: Likewise.
26467         * sysdeps/sh/nptl/tls.h: Likewise.
26468         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26469         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
26470         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
26471         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
26472         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
26473         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26474         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
26475         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26476         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26477         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26478         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26479         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26480         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
26481         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
26482         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
26483         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
26484         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
26485         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
26486         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
26487         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
26488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
26489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
26490         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
26491         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
26492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
26493         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
26494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
26495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
26496         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26497         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
26498         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
26499         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
26500         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
26501         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26502         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26503         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26504         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26505         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
26506         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
26507         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26508         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26509         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
26510         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
26511         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26512         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
26513         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
26514         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
26515         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
26516         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
26517         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
26518         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
26519         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
26520         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
26521         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26522         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
26523         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26524         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26525         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
26526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
26528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
26529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
26530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
26531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
26532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
26533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
26534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
26537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
26538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
26539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
26540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
26546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
26547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
26548         * sysdeps/unix/sysv/linux/pread.c: Likewise.
26549         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
26550         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
26551         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
26552         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
26553         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
26554         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
26555         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
26556         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
26557         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
26558         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
26559         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
26560         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
26561         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
26562         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
26563         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
26564         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26565         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
26566         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
26567         * sysdeps/unix/sysv/linux/system.c: Likewise.
26568         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
26569         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26570         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26571         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26572         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26573         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26574         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26576         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
26577         * configure: Regenerated.
26578         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
26580         * configure.ac (base_machine): Do not set specially for particular
26581         machines here.
26582         * configure: Regenerated.
26583         * sysdeps/powerpc/preconfigure: Move machine and base_machine
26584         settings from configure.ac.
26585         * sysdeps/i386/preconfigure: New file.
26586         * sysdeps/s390/preconfigure: Likewise.
26587         * sysdeps/sh/preconfigure: Likewise.
26588         * sysdeps/sparc/preconfigure: Likewise.
26590 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26592         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
26593         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
26594         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
26595         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
26596         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
26597         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
26598         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26599         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
26600         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
26601         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
26602         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26603         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
26604         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
26605         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
26606         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
26607         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
26608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
26609         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
26610         * sysdeps/sparc/sparc64/Makefile: ... appended here.
26612         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
26613         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
26614         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26615         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
26616         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
26617         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26618         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26619         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26620         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26621         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26622         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26623         * sysdeps/sparc/sparc32/sem_post.c: ... here.
26624         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26625         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26626         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26627         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26628         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26629         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26630         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26631         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26632         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26633         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26634         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26635         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26636         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26637         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26638         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26639         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26640         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26641         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26642         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26643         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26644         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26645         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26646         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26647         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26648         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26649         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26652         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26654         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26656         Moved ...
26657         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26658         ... here.
26659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26660         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
26661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
26662         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
26663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
26664         Moved ...
26665         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
26666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
26667         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
26668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
26669         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
26670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
26671         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
26672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26673         Moved ...
26674         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
26675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26676         Moved ...
26677         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
26678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
26679         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
26680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26681         Moved ...
26682         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
26683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
26684         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
26685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
26686         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
26687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
26688         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
26689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
26690         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
26691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26692         Moved ...
26693         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
26694         ... here.
26695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
26696         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
26697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
26698         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
26699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
26700         Moved ...
26701         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
26702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
26703         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26705         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26707         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26709         Moved ...
26710         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26712         Moved ...
26713         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26715         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26717         Moved ...
26718         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26720         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26722         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26724 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26726         * timezone/checktab.awk: Update from tzcode 2014e.
26727         * timezone/private.h: Likewise.
26728         * timezone/tzfile.h: Likewise.
26729         * timezone/zdump.c: Likewise.
26730         * timezone/zic.c: Likewise.
26732         * sysdeps/unix/sysv/linux/kernel-features.h
26733         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26734         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26735         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26736         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26737         Remove conditional code.
26739 2014-06-25  Will Newton  <will.newton@linaro.org>
26741         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26742         (_dl_arm_cap_flags): Add HWCAP2 values.
26743         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26744         (_DL_HWCAP_COUNT): Increase to 37.
26745         (_DL_HWCAP_LAST): New define.
26746         (_DL_HWCAP2_LAST): New define.
26747         (_dl_procinfo): Add support for printing
26748         AT_HWCAP2 entries.
26749         (_dl_string_hwcap): Use _dl_hwcap_string.
26751 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26755 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26757         * README: Do not mention ports directory.
26759         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26760         Remove macro.
26761         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26762         <kernel-features.h>.
26763         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26764         conditional variable definition.
26765         (__futimes): Update comment.
26766         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26767         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26769         [BZ #16560]
26770         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26771         arguments close to 0.
26772         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26773         Likewise.
26774         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26775         Likewise.
26776         * math/auto-libm-test-in: Add more tests of exp10.
26777         * math/auto-libm-test-out: Regenerated.
26778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26780         * sysdeps/unix/sysv/linux/kernel-features.h
26781         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26782         * sysdeps/unix/sysv/linux/readv.c: Do not include
26783         <kernel-features.h>.
26784         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26785         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26786         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26787         unconditional.
26788         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26789         conditional code.
26790         * sysdeps/unix/sysv/linux/writev.c: Do not include
26791         <kernel-features.h>.
26792         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26793         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26794         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26795         unconditional.
26796         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26797         conditional code.
26799 2014-06-25  Will Newton  <will.newton@linaro.org>
26801         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26802         comment changes throughout the file.  Remove checks
26803         for HAVE_*_H definitions that are not required.
26804         (__gen_tempname): Call abort if an unknown kind value is
26805         passed.
26807 2014-06-25  Andreas Schwab  <schwab@suse.de>
26809         [BZ #17086]
26810         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26811         scalbln, scalblnf, scalblnl in libc.
26813 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26815         [BZ #17086]
26816         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26817         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26818         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26820 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26822         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26823         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26824         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26825         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26826         Update #include.
26827         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26828         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26829         Update #include.
26830         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26831         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26832         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26833         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26834         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26835         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26836         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26837         * sysdeps/x86/bits/semaphore.h: ... here.
26838         * sysdeps/x86/nptl/elide.h: Moved ...
26839         * sysdeps/x86/elide.h: ... here.
26840         * sysdeps/x86_64/nptl/Implies: File removed.
26841         * sysdeps/i386/nptl/Implies: File removed.
26843 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26845         [BZ #16539]
26846         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26847         return the argument for normal arguments with exponent below -64.
26848         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26849         Likewise.
26850         * math/auto-libm-test-in: Add another test of expm1.
26851         * math/auto-libm-test-out: Regenerated.
26853         [BZ #16287]
26854         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26855         calling __erfcl for arguments at least 16.
26856         * math/auto-libm-test-in: Add more tests of erf.
26857         * math/auto-libm-test-out: Regenerated.
26859         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26860         individual architectures.
26861         * sysdeps/unix/sysv/linux/configure: Regenerated.
26862         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26863         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26864         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26865         (ldd_rewrite_script): Define variable.
26866         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26868         file.
26869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26870         generated file.
26871         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26872         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26873         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26874         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26875         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26876         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26877         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26878         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26880 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26882         [BZ #17084]
26883         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26884         Rename member __data.d to __data.__elision_data.
26886 2014-06-24  Wilco  <wdijkstr@arm.com>
26888         * NEWS: Add 16918 to fixed bug list.
26890 2014-06-24  Wilco  <wdijkstr@arm.com>
26892         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26894 2014-06-24  Wilco  <wdijkstr@arm.com>
26896         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26897         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26898         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26899         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26900         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26901         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26902         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26903         Use _FPU_MASK_RM.
26905 2014-06-24  Wilco  <wdijkstr@arm.com>
26907         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26909 2014-06-24  Wilco  <wdijkstr@arm.com>
26911         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26912         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26913         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26914         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26916 2014-06-24  Wilco  <wdijkstr@arm.com>
26918         [BZ #16918]
26919         * sysdeps/arm/feupdateenv.c (feupdateenv):
26920         Rewrite to reduce FPSCR accesses and fix return value.
26922 2014-06-24  Wilco  <wdijkstr@arm.com>
26924         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26925         Optimize to avoid unnecessary FPSCR writes.
26926         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26927         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26928         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26929         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26931 2014-06-24  Wilco  <wdijkstr@arm.com>
26933         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26934         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26935         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26936         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26937         Call libc_fetestexcept_vfp.
26938         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26939         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26940         __SOFTFP__ ifdef so that they can be built for softfp.
26942 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26944         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26945         argument type signed char.
26947         * Makerules (check-abi): Dump diff of symlist if the test
26948         fails.
26950 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26952         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26953         using abort.
26955         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26956         Remove unused variable ST.
26958 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26960         [BZ #16354]
26961         [BZ #17061]
26962         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26963         small arguments before calling __expm1.
26964         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26965         small arguments before calling __expm1f.
26966         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26967         small arguments before calling __expm1l.
26968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26969         Likewise.
26970         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26971         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26972         spurious underflow for some cosh tests.
26973         * math/auto-libm-test-out: Regenerated.
26974         * sysdeps/i386/fpu/libm-test-ulps: Update.
26976         [BZ #17050]
26977         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26978         (__ieee754_y1): Set errno if return value overflows.
26979         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26980         (__ieee754_y1f): Set errno if return value overflows.
26981         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26982         (__ieee754_y1l): Set errno if return value overflows.
26983         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26984         (__ieee754_y1l): Set errno if return value overflows.
26985         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26986         * math/auto-libm-test-out: Regenerated.
26988         * math/gen-auto-libm-tests.c: Document use of
26989         ignore-zero-inf-sign.
26990         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26991         (input_flags): Add ignore-zero-inf-sign.
26992         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26993         * math/gen-libm-test.pl (generate_testfile): Handle
26994         ignore-zero-inf-sign.
26995         * math/auto-libm-test-in: Mark some cpow tests with
26996         ignore-zero-inf-sign and some with xfail-rounding.
26997         * math/auto-libm-test-out: Regenerated.
26998         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26999         * sysdeps/i386/fpu/libm-test-ulps: Update.
27000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27002         [BZ #16315]
27003         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27004         overflowing or underflowing operations take place with sign of
27005         result.
27006         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27007         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27008         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27009         (__ieee754_pow): Recompute overflowing and underflowing results in
27010         original rounding mode.
27011         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27012         (__powl_helper): Allow negative argument X and scale negated value
27013         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27014         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27015         overflowing or underflowing operations take place with sign of
27016         result.
27017         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27018         Include <math.h>.
27019         * math/auto-libm-test-in: Add more tests of pow.
27020         * math/auto-libm-test-out: Regenerated.
27021         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27022         (pow_tonearest_test_data): Remove.
27023         (pow_test_tonearest): Likewise.
27024         (pow_towardzero_test_data): Likewise.
27025         (pow_test_towardzero): Likewise.
27026         (pow_downward_test_data): Likewise.
27027         (pow_test_downward): Likewise.
27028         (pow_upward_test_data): Likewise.
27029         (pow_test_upward): Likewise.
27030         (main): Don't call removed functions.
27031         * sysdeps/i386/fpu/libm-test-ulps: Update.
27032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27034 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27037         Moved ...
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27040         Moved ...
27041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27043         Moved ...
27044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27046         Moved ...
27047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27049         File removed.
27050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27051         File removed.
27052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27053         File removed.
27054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27055         File removed.
27056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27057         File removed.
27058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27059         File removed.
27060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27061         File removed.
27062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27063         File removed.
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27065         File removed.
27066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27067         File removed.
27068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27069         File removed.
27070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27071         File removed.
27072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27073         Moved ...
27074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27076         Moved ...
27077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27078         ... here.
27079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27080         Moved ...
27081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27083         Moved ...
27084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27086         Moved ...
27087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27089         Moved ...
27090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27092         Moved ...
27093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27095         Moved ...
27096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27098         Moved ...
27099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27102         ... here.
27103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27104         Moved ...
27105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27107         Moved ...
27108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27109         ... here.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27111         Moved ...
27112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27113         ... here.
27114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27115         Moved ...
27116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27117         ... here.
27118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27119         Moved ...
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27122         Moved ...
27123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27127         Moved ...
27128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27129         ... here.
27130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27131         Moved ...
27132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
27133         ... here.
27134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27135         Moved ...
27136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
27137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27138         Moved ...
27139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
27140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27141         Moved ...
27142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
27143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27144         Moved ...
27145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
27146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27147         Moved ...
27148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
27149         ... here.
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27151         Moved ...
27152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
27153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27154         Moved ...
27155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
27156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27157         Moved ...
27158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
27159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27160         Moved ...
27161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
27162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
27163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
27164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27165         Moved ...
27166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
27167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27168         Moved ...
27169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
27170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27171         Moved ...
27172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
27173         ... here.
27174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27175         Moved ...
27176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
27177         ... here.
27178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27179         Moved ...
27180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
27181         ... here.
27182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27183         Moved ...
27184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
27185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27186         Moved ...
27187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
27188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27189         Moved ...
27190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
27191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27192         Moved ...
27193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
27194         ... here.
27195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27196         Moved ...
27197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
27198         ... here.
27199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27200         Moved ...
27201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
27202         ... here.
27203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27204         Moved ...
27205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
27206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27207         Moved ...
27208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
27210 2014-06-23  Will Newton  <will.newton@linaro.org>
27211             Wilco  <wdijkstr@arm.com>
27213         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
27214         implementation.  Include get-rounding-mode.h.
27215         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
27216         [!libc_feholdsetround_noex_ctx]: Define
27217         libc_feholdsetround_noex_ctx.
27218         [!libc_feholdsetround_noexf_ctx]: Define
27219         libc_feholdsetround_noexf_ctx.
27220         [!libc_feholdsetround_noexl_ctx]: Define
27221         libc_feholdsetround_noexl_ctx.
27222         (libc_feholdsetround_ctx): New function.
27223         (libc_feresetround_ctx): New function.
27224         (libc_feholdsetround_noex_ctx): New function.
27225         (libc_feresetround_noex_ctx): New function.
27227 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27229         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
27230         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
27231         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
27232         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
27233         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
27234         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
27236         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
27237         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
27238         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
27239         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
27240         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
27241         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
27242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
27243         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
27244         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
27245         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
27246         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
27247         Moved ...
27248         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
27249         ... here.
27250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
27251         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
27252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
27253         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
27254         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
27255         Moved ...
27256         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
27257         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
27258         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
27259         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
27260         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
27261         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
27262         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
27263         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
27264         Moved ...
27265         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
27266         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
27267         Moved ...
27268         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
27269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
27270         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
27271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
27272         Moved ...
27273         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
27274         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
27275         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
27276         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
27277         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
27278         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
27279         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
27280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
27281         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
27282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
27283         Moved ...
27284         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
27285         ... here.
27286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
27287         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
27288         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
27289         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
27290         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
27291         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
27292         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
27293         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
27294         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
27295         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
27296         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
27297         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
27298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
27299         Moved ...
27300         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
27301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
27302         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
27303         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
27304         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
27305         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
27306         Moved ...
27307         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
27308         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
27309         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
27310         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
27311         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
27313         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
27314         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
27315         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
27316         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
27317         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
27318         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
27319         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
27320         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
27321         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
27322         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
27323         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
27324         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
27325         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
27326         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
27327         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
27328         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
27329         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
27330         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
27331         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
27332         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
27333         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
27334         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
27335         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
27336         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
27337         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
27338         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
27339         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
27340         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
27342 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27345         (FALLOC_FL_COLLAPSE_RANGE): New macro.
27346         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
27347         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
27348         (IPV6_PMTUDISC_INTERFACE): Likewise.
27349         (IPV6_PMTUDISC_OMIT): Likewise.
27351 2014-06-23  Andreas Schwab  <schwab@suse.de>
27353         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
27354         Remove unused errout label.
27356 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27358         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
27359         macro: hardware supports Vector Crypto instructions.
27361 2014-06-23  Will Newton  <will.newton@linaro.org>
27363         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
27364         rather than __builtin_expect.
27366         * elf/dl-lookup.c (undefined_msg): Remove variable.
27367         (_dl_lookup_symbol_x): Replace undefined_msg with string
27368         literal.
27370         * elf/dl-lookup.c (do_lookup_unique): New function.
27371         (do_lookup_x): Move STB_GNU_UNIQUE handling code
27372         to a separate function.
27374 2014-06-23  Andreas Schwab  <schwab@suse.de>
27376         [BZ #17079]
27377         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
27378         before reading the next line.
27380 2014-06-23  Will Newton  <will.newton@linaro.org>
27382         * test-skeleton.c (signal_handler): Use printf and %m
27383         rather than perror.  Use printf rather than fprintf to
27384         stderr.  Use puts rather than fputs to stderr.
27385         (main): Likewise.
27387 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
27389         * nscd/nscd.c (thread_info_t): Remove typedef.
27390         (thread_info): Remove variable.
27392 2014-06-21  Allan McRae  <allan@archlinux.org>
27394         * NEWS: Mention CVE-2014-4043.
27396 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27398         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
27399         * nptl/smp.h: ... here.
27401         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
27403         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
27404         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
27405         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
27406         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
27408         * nptl/allocatestack.c: Include <stack-aliasing.h>.
27409         * nptl/stack-aliasing.h: New file.
27410         * sysdeps/i386/i686/stack-aliasing.h: New file.
27411         * sysdeps/i386/i686/nptl/Makefile: File removed.
27412         * sysdeps/x86_64/stack-aliasing.h: New file.
27413         * sysdeps/x86_64/nptl/Makefile
27414         (CFLAGS-pthread_create.c): Variable removed.
27416         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
27417         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
27418         old file.
27419         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
27420         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
27421         old file.
27423 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
27425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27426         (__ASSUME_SIGFRAME_V2): Remove macro.
27427         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
27428         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
27429         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
27430         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
27431         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
27432         Declare as function.  Remove conditional macro definitions.
27433         (__default_rt_sa_restorer): Likewise.
27434         (__default_sa_restorer_v1): Remove declaration.
27435         (__default_sa_restorer_v2): Likewise.
27436         (__default_rt_sa_restorer_v1): Likewise.
27437         (__default_rt_sa_restorer_v2): Likewise.
27438         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
27439         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
27440         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
27442 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27444         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
27445         (libpthread-routines): Add sysdep.
27446         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
27447         * sysdeps/unix/sysv/linux/sparc/Versions
27448         (libpthread: GLIBC_2.3.3): New version set.
27449         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
27450         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
27451         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
27452         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
27453         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
27454         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
27455         Moved ...
27456         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
27457         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
27458         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
27459         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
27460         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
27461         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
27462         * sysdeps/sparc/nptl/sem_init.c: ... here.
27463         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
27464         * sysdeps/sparc/nptl/sem_post.c: ... here.
27465         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
27466         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
27467         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27468         * sysdeps/sparc/nptl/sem_wait.c: ... here.
27469         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
27470         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
27471         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
27472         (libpthread-routines): Add cpu_relax.
27473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
27474         File removed.
27475         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
27476         (librt: GLIBC_2.3.3): New version set.
27477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
27478         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
27479         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
27480         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
27481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
27482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
27483         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
27484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
27485         Moved ...
27486         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
27487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
27488         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
27489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
27490         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
27491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
27492         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
27493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
27494         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
27495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
27496         Moved ...
27497         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
27498         Update #include.
27499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
27500         Moved ...
27501         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
27502         Update #include.
27503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
27504         Moved ...
27505         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
27506         Update #include.
27507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
27508         Moved ...
27509         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
27510         Update #include.
27511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
27512         Moved ...
27513         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
27514         Update #include.
27515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
27516         Moved ...
27517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
27518         Update #include.
27519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
27520         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
27521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
27522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
27523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
27524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
27525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
27526         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
27527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
27528         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
27529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27530         Moved ...
27531         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
27532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
27533         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
27534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
27535         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
27537 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27539         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
27540         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
27541         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27542         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
27543         * nscd/nscd.c: Likewise.
27544         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
27545         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
27546         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
27547         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
27549         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
27550         <kernel-features.h>.
27551         (init_mq_netlink): Remove conditional have_sock_cloexec
27552         definitions.  Remove code conditional on have_sock_cloexec < 0.
27553         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
27554         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
27555         * sysdeps/unix/sysv/linux/opensock.c: Do not include
27556         <kernel-features.h>.
27557         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
27558         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
27560 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27563         Add tests for memset_chk and memset.
27565         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
27566         with AVX2_Usable.
27568 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27570         [BZ #16046]
27571         * elf/tst-dl-iter-static.c: New file.
27572         * elf/Makefile (tests-static): Add tst-dl-iter-static.
27574         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
27575         error.
27577 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27579         * sysdeps/unix/sysv/linux/kernel-features.h
27580         (__ASSUME_F_GETOWN_EX): Remove macro.
27581         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
27582         <kernel-features.h>.
27583         (miss_F_GETOWN_EX): Remove variable or macro.
27584         (do_fcntl): Do not check miss_F_GETOWN_EX.
27585         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
27587         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
27588         Remove macro.
27589         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
27590         [!__ASSUME_AT_RANDOM]: Remove conditional code.
27591         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
27593         * sysdeps/unix/sysv/linux/kernel-features.h
27594         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
27595         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
27596         [ADJ_OFFSET_SS_READ]: Make code unconditional.
27597         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
27599 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27601         [BZ #17075]
27602         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
27603         Fix calculation of the symbol's value.
27604         * sysdeps/arm/tst-armtlsdescloc.c: New file.
27605         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
27606         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
27607         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
27608         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
27609         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
27610         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
27611         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
27612         (modules-names): Add `tst-armtlsdescmod',
27613         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
27614         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
27615         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27616         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27617         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27618         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27619         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27620         ($(objpfx)tst-armtlsdescloc): New dependency.
27621         ($(objpfx)tst-armtlsdescextnow): Likewise.
27622         ($(objpfx)tst-armtlsdescextlazy): Likewise.
27623         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27624         TLS scheme support.
27625         * sysdeps/arm/configure: Regenerate.
27627 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27629         * include/fcntl.h (__atfct_seterrno): Remove prototype.
27630         (__atfct_seterrno_2): Likewise.
27631         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27632         <kernel-features.h>.
27633         (__ASSUME_ATFCTS): Do not undefine and redefine.
27634         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27635         (__have_atfcts): Remove conditional definition.
27636         (__fxstatat([__NR_fstatat64]: Make code unconditional.
27637         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27638         unreachable if [__ASSUME_ATFCTS].
27639         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27640         not undefine and redefine.
27641         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27642         <kernel-features.h>.
27643         (faccessat) [__NR_faccessat]: Make code unconditional.
27644         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27645         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27646         <kernel-features.h>.
27647         (fchmodat) [__NR_fchmodat]: Make code unconditional.
27648         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27649         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27650         <kernel-features.h>.
27651         (fchownat) [__NR_fchownat]: Make code unconditional.
27652         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27653         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27654         <kernel-features.h>.
27655         (futimesat) [__NR_futimesat]: Make code unconditional.
27656         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27657         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27658         <kernel-features.h>.
27659         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27660         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27661         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27662         <kernel-features.h>.
27663         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
27664         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27665         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
27666         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27667         <kernel-features.h>.
27668         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
27669         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27670         * sysdeps/unix/sysv/linux/linkat.c: Do not include
27671         <kernel-features.h>.
27672         (linkat) [__NR_linkat]: Make code unconditional.
27673         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27674         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
27675         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
27676         <kernel-features.h>.
27677         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
27678         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27679         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
27680         <kernel-features.h>.
27681         (mkdirat) [__NR_mkdirat]: Make code unconditional.
27682         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
27683         * sysdeps/unix/sysv/linux/openat.c: Do not include
27684         <kernel-features.h>.
27685         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
27686         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
27687         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
27688         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
27689         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
27690         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
27691         <kernel-features.h>.
27692         (readlinkat) [__NR_readlinkat]: Make code unconditional.
27693         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
27694         result of INLINE_SYSCALL directly, not via int variable.
27695         * sysdeps/unix/sysv/linux/renameat.c: Do not include
27696         <kernel-features.h>.
27697         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
27698         (renameat) [__NR_renameat]: Make code unconditional.
27699         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
27700         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
27701         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
27702         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
27703         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27704         (__ASSUME_ATFCTS): Do not undefine and redefine.
27705         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27706         <kernel-features.h>.
27707         (symlinkat) [__NR_symlinkat]: Make code unconditional.
27708         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27709         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27710         <kernel-features.h>.
27711         (unlinkat) [__NR_unlinkat]: Make code unconditional.
27712         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27713         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27714         (__ASSUME_ATFCTS): Do not undefine and redefine.
27715         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27716         <kernel-features.h>.
27717         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27718         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27719         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27720         <kernel-features.h>.
27721         (__xmknodat) [__NR_mknodat]: Make code unconditional.
27722         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27724 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27726         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27728 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
27730         [BZ #17069]
27731         * posix/regcomp.c (parse_reg_exp): Deallocate partially
27732         constructed tree before returning error.
27733         * posix/bug-regexp36.c: Expand test case.
27735 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27737         [BZ #6803]
27738         * math/libm-test.inc (scalbln_test_date):
27739         Add errno expectations.
27740         * math/w_scalblnf.c: New File.
27741         Add wrapper which checks for setting errno to ERANGE.
27742         Add weak_alias for corresponding scalbln function.
27743         * math/w_scalbln.c: Likewise.
27744         * math/w_scalblnl.c: Likewise.
27745         * math/Makefile (libm-calls): Add w_scalbln.
27746         * sysdeps/ieee754/flt-32/s_scalblnf.c:
27747         Remove weak_alias for corresponding scalbln function.
27748         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27749         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27750         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27751         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27752         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27753         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27754         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27755         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27756         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27757         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27758         Remove long_double_symbol for scalblnl function in libm, libc.
27759         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27760         Add wrapper which checks for setting errno to ERANGE.
27761         Add long_double_symbol for scalblnl function in libm, libc.
27762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27763         Remove long_double_symbol for scalblnl in libm.
27764         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27765         Add wrapper which checks for setting errno to ERANGE.
27766         Add long_double_symbol for scalblnl function in libm.
27767         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27768         Do not use wrapper because of own implementation.
27770 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27772         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27773         3 bytes for __pad1 for x32.
27774         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27776 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27777             H.J. Lu  <hongjiu.lu@intel.com>
27779         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27780         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27781         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27782         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27783         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27785 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27787         [BZ #17069]
27788         * posix/regcomp.c (parse_expression): Deallocate partially
27789         constructed tree before returning error.
27790         * posix/Makefile.c (tests): Add bug-regex36.
27791         (generated): Add bug-regex36.mtrace.
27792         (tests-special): Add $(objpfx)bug-regex36-mem.out
27793         (bug-regex36-ENV): New variable.
27794         ($(objpfx)bug-regex36-mem.out): New rule.
27795         * posix/bug-regex36.c: New file.
27797 2014-06-19  Will Newton  <will.newton@linaro.org>
27799         * malloc/malloc.c (systrim): If extra is zero then return
27800         early.
27802 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27804         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27806 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27808         * sysdeps/aarch64/strchr.S: New file.
27810 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27812         [BZ #17022]
27813         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27814         from arguments -2 or below.
27815         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27816         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27818 2014-06-18  Andreas Schwab  <schwab@suse.de>
27820         [BZ #17062]
27821         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27822         of a bracket expr not to run off the end of the string.
27823         * posix/Makefile (tests): Add tst-fnmatch3.
27824         * posix/tst-fnmatch3.c: New file.
27826 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27828         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27829         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27830         [$(cross-compiling) = no]: Likewise.
27831         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27832         [$(cross-compiling) = no]: Likewise.
27834 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27836         [BZ #17031]
27837         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27838         double, adjusted for any remainder from the high double.
27839         * math/libm-test.inc (nearbyint): Add tests.
27840         (rint): Likewise.
27842 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27844         * nptl/sysdeps/powerpc/Makefile: Moved ...
27845         * sysdeps/powerpc/nptl/Makefile: ... here.
27846         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27847         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27848         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27849         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27850         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27851         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27852         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27853         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27854         * nptl/sysdeps/powerpc/tls.h: Moved ...
27855         * sysdeps/powerpc/nptl/tls.h: ... here.
27857 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27859         [BZ #16681]
27860         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27861         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27862         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27863         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27864         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27865         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27866         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27867         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27868         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27870 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27872         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27874 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27876         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27877         defined operator.
27879         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27880         $TIMEOUTFACTOR.
27882 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27884         [BZ #17058]
27885         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27886         non-executed part of the test.
27888 2014-06-16  Andreas Schwab  <schwab@suse.de>
27890         * string/bits/string2.h (strdup, strndup): Update feature guard.
27892 2014-06-14  David S. Miller  <davem@davemloft.net>
27894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27896 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27898         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27899         that was previously under [RESET_PID].
27900         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27902         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27903         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27904         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27905         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27906         (__libc_vfork): New strong alias.
27907         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27909 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27911         * sysdeps/generic/elide.h: New file.
27913 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27915         * Makefile (installed-headers): Adjust path of pthread.h header.
27917 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27919         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27920         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27921         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27922         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27924         * nptl/sysdeps/s390/Makefile: Moved ...
27925         * sysdeps/s390/nptl/Makefile: ... here.
27926         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27927         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27928         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27929         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27930         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27931         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27932         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27933         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27934         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27935         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27936         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27937         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27938         * nptl/sysdeps/s390/tls.h: Moved ...
27939         * sysdeps/s390/nptl/tls.h: ... here.
27941         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27942         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27944 2014-06-13  David S. Miller  <davem@davemloft.net>
27946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27949         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27953         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27954         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27955         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27956         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27957         Remove RESET_PID cpp guards.
27958         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27959         Remove RESET_PID cpp guards.
27960         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27962 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27964         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27965         __sp to uintptr_t.
27967 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27969         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27970         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27972         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27974         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27975         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27976         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27977         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27979         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27981         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27983         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27984         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27985         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27986         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27987         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27990         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27991         (pthread_rwlock_rdlock): Add elision.
27992         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27993         (pthread_rwlock_wrlock): Add elision.
27994         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27995         (pthread_rwlock_trywrlock): Add elision.
27996         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27997         (pthread_rwlock_tryrdlock): Add elision.
27998         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27999         (pthread_rwlock_tryrdlock): Add elision unlock.
28000         * nptl/sysdeps/pthread/pthread.h:
28001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28002         (PTHREAD_RWLOCK_INITIALIZER,
28003         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28004         Handle new elision field.
28005         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28006         * sysdeps/arm/nptl/bits/pthreadtypes.h
28007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28008         * sysdeps/sh/nptl/bits/pthreadtypes.h
28009         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28010         * sysdeps/tile/nptl/bits/pthreadtypes.h
28011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28012         * sysdeps/a/nptl/bits/pthreadtypes.h
28013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28014         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28016         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28018         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28020         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28021         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28022         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28023         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28024         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28025         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28026         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28028         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28030         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28031         (elision_init): Set try_xbegin to zero when no RTM.
28032         * sysdeps/x86/nptl/bits/pthreadtypes.h
28033         (pthread_rwlock_t): Change __pad1 to __rwelision.
28034         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28036 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28038         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28039         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28040         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28041         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28043 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28045         [BZ #16996]
28046         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28047         that the cached result has been set before returning it.
28049 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28051         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28052         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28053         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28054         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28055         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28056         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28058         * nptl/sysdeps/sparc/Makefile: Moved ...
28059         * sysdeps/sparc/nptl/Makefile: ... here.
28060         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28061         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28062         * nptl/sysdeps/sparc/tls.h: Moved ...
28063         * sysdeps/sparc/nptl/tls.h: ... here.
28064         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28065         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28066         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28067         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28068         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28069         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28070         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28071         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28072         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28073         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28074         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28075         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28076         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28077         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28078         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28079         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28080         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28081         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28082         Update #include.
28083         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28084         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28085         Update #include.
28086         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28087         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28088         Update #include.
28089         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28090         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28091         Update #include.
28093         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28095         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28096         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28098         * sysdeps/pthread/posix-timer.h: Include <list.h>.
28099         (struct list_links): Type removed.
28100         (struct thread_node, struct timer_node): Replace struct list_links
28101         with struct list_head.
28102         (list_unlink_ip): Likewise.
28103         * sysdeps/pthread/timer_routines.c
28104         (timer_free_list, thread_free_list, thread_active_list): Likewise.
28105         (list_append, list_insbefore): Likewise.
28106         (list_init): Function removed.
28107         (thread_init, init_module): Use INIT_LIST_HEAD instead.
28108         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28109         * sysdeps/pthread/Makefile: ... here, new file.
28111         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28112         * sysdeps/nptl/Implies: ... here.
28113         * sysdeps/unix/sysv/linux/Implies: Add nptl.
28114         * nptl/sysdeps/pthread/list.h: Moved ...
28115         * include/list.h: ... here.
28116         * nptl/sysdeps/pthread/createthread.c: Moved ...
28117         * nptl/createthread.c: ... here.
28118         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28119         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28120         * nptl/pt-longjmp.c: ... here.
28121         * nptl/sysdeps/pthread/Makefile: Moved ...
28122         * sysdeps/nptl/Makefile: ... here.
28123         * nptl/sysdeps/pthread/Subdirs: Moved ...
28124         * sysdeps/nptl/Subdirs: ... here.
28125         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28126         * sysdeps/nptl/aio_misc.h: ... here.
28127         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28128         * sysdeps/nptl/bits/libc-lock.h: ... here.
28129         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
28130         * sysdeps/nptl/bits/libc-lockP.h: ... here.
28131         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
28132         * sysdeps/nptl/bits/stdio-lock.h: ... here.
28133         * nptl/sysdeps/pthread/configure: Moved ...
28134         * sysdeps/nptl/configure: ... here.
28135         * nptl/sysdeps/pthread/configure.ac: Moved ...
28136         * sysdeps/nptl/configure.ac: ... here.
28137         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
28138         * sysdeps/nptl/gai_misc.h: ... here.
28139         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
28140         * sysdeps/nptl/librt-cancellation.c: ... here.
28141         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
28142         * sysdeps/nptl/malloc-machine.h: ... here.
28143         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
28144         * sysdeps/nptl/pthread-functions.h: ... here.
28145         * nptl/sysdeps/pthread/pthread.h: Moved ...
28146         * sysdeps/nptl/pthread.h: ... here.
28147         * nptl/sysdeps/pthread/setxid.h: Moved ...
28148         * sysdeps/nptl/setxid.h: ... here.
28149         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
28150         * sysdeps/nptl/sigfillset.c: ... here.
28151         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
28152         * sysdeps/nptl/tcb-offsets.h: ... here.
28153         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
28154         * sysdeps/nptl/tst-mqueue8x.c: ... here.
28155         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
28156         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
28157         * nptl/sysdeps/pthread/allocalim.h: Moved ...
28158         * sysdeps/pthread/allocalim.h: ... here.
28159         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
28160         * sysdeps/pthread/bits/sigthread.h: ... here.
28161         * nptl/sysdeps/pthread/flockfile.c: Moved ...
28162         * sysdeps/pthread/flockfile.c: ... here.
28163         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
28164         * sysdeps/pthread/ftrylockfile.c: ... here.
28165         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
28166         * sysdeps/pthread/funlockfile.c: ... here.
28167         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
28168         * sysdeps/pthread/posix-timer.h: ... here.
28169         * nptl/sysdeps/pthread/timer_create.c: Moved ...
28170         * sysdeps/pthread/timer_create.c: ... here.
28171         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
28172         * sysdeps/pthread/timer_delete.c: ... here.
28173         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
28174         * sysdeps/pthread/timer_getoverr.c: ... here.
28175         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
28176         * sysdeps/pthread/timer_gettime.c: ... here.
28177         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
28178         * sysdeps/pthread/timer_routines.c: ... here.
28179         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
28180         * sysdeps/pthread/timer_settime.c: ... here.
28181         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
28182         * sysdeps/pthread/tst-timer.c: ... here.
28183         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
28184         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
28186         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
28187         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
28189         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
28190         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
28191         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
28192         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
28193         Update #include target.
28194         * nptl/sysdeps/i386/i686/Makefile: Moved ...
28195         * sysdeps/i386/i686/nptl/Makefile: ... here.
28196         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
28197         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
28198         Update #include target.
28199         * nptl/sysdeps/i386/i686/tls.h: Moved ...
28200         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
28201         * nptl/sysdeps/i386/Makefile: Moved ...
28202         * sysdeps/i386/nptl/Makefile: ... here.
28203         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
28204         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
28205         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
28206         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
28207         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
28208         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
28209         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
28210         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
28211         * sysdeps/i386/nptl/pthreaddef.h: ... here.
28212         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
28213         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
28214         * nptl/sysdeps/i386/tls.h: Moved ...
28215         * sysdeps/i386/nptl/tls.h: ... here.
28217         * sysdeps/sh/Makefile [$(subdir) = csu]
28218         (gen-as-const-headers): Add tcb-offsets.sym.
28219         * nptl/sysdeps/sh/Makefile: File removed.
28220         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
28221         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
28222         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
28223         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
28224         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
28225         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
28226         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
28227         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
28228         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
28229         * sysdeps/sh/nptl/pthreaddef.h: ... here.
28230         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
28231         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
28232         * nptl/sysdeps/sh/tls.h: Moved ...
28233         * sysdeps/sh/nptl/tls.h: ... here.
28234         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
28235         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
28236         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
28237         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
28238         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
28239         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
28240         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
28241         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
28242         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
28243         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
28244         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
28245         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
28246         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
28247         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
28248         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
28249         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
28250         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
28251         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
28252         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
28253         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
28254         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
28255         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
28256         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
28257         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
28258         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
28259         Moved ...
28260         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
28261         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
28262         Moved ...
28263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
28264         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
28265         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
28266         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
28267         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
28268         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
28269         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
28270         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
28271         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
28272         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
28273         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
28274         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
28275         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
28276         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
28277         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
28278         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
28279         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
28280         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
28281         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
28283 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28285         * posix/spawn_faction_addopen.c: Include string.h.
28287 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28289         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
28290         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
28291         * nptl/sysdeps/x86_64/Makefile: Moved ...
28292         * sysdeps/x86_64/nptl/Makefile: ... here.
28293         * nptl/sysdeps/x86_64/configure: Moved ...
28294         * sysdeps/x86_64/nptl/configure: ... here.
28295         * nptl/sysdeps/x86_64/configure.ac: Moved ...
28296         * sysdeps/x86_64/nptl/configure.ac: ... here.
28297         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
28298         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
28299         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
28300         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
28301         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
28302         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
28303         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
28304         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
28305         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
28306         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
28307         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
28308         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
28309         * nptl/sysdeps/x86_64/tls.h: Moved ...
28310         * sysdeps/x86_64/nptl/tls.h: ... here.
28311         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
28312         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
28313         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
28314         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
28316         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
28318 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28322 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
28324         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
28325         type.
28326         [POSIX] (off_t): Likewise.
28327         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
28328         [POSIX] (S_ISBLK): Require macro.
28329         [POSIX] (S_ISCHR): Likewise.
28330         [POSIX] (S_ISDIR): Likewise.
28331         [POSIX] (S_ISFIFO): Likewise.
28332         [POSIX] (S_ISREG): Likewise.
28333         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
28334         optional-macro.
28335         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
28336         type.
28337         [POSIX] (time_t): Likewise.
28338         [POSIX] (timer_t): Likewise.
28340 2014-06-11  Florian Weimer  <fweimer@redhat.com>
28342         [BZ #17048]
28343         * posix/spawn_int.h (struct __spawn_action): Make the path string
28344         non-const to support deallocation.
28345         * posix/spawn_faction_addopen.c
28346         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
28347         * posix/spawn_faction_destroy.c
28348         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
28349         path in all spawn_do_open actions.
28350         * posix/tst-spawn.c (do_test): Exercise the copy operation in
28351         posix_spawn_file_actions_addopen.
28353 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
28355         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
28356         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
28357         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
28358         conditional code always true.
28359         (__libc_vfork): New alias.
28361 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28363         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28364         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
28366         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
28368         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28369         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
28371         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28372         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
28374         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28375         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
28377 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28379         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
28380         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
28381         multiarch strcmp for PPC64.
28382         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
28383         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
28384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
28385         multiarch optimizations.
28386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28387         (__libc_ifunc_impl_list): Likewise.
28389 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28391         * benchtests/scripts/validate_benchout.py: New script.
28392         * benchtests/Makefile (bench-func): Call it.
28393         * benchtests/scripts/benchout.schema.json: New file.
28395 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
28397         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
28398         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
28399         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
28400         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
28401         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
28402         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
28403         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
28404         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
28405         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
28406         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
28407         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
28408         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
28409         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
28410         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
28411         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
28412         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
28413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
28414         Moved ...
28415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
28416         ... here.
28417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
28418         Moved ...
28419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
28420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
28421         Moved ...
28422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
28423         ... here.
28424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
28425         Moved ...
28426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
28427         ... here.
28428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
28429         Moved ...
28430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
28431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
28432         Moved ...
28433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
28434         ... here.
28435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
28436         Moved ...
28437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
28438         ... here.
28439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
28440         Moved ...
28441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
28442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
28443         Moved ...
28444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
28445         ... here.
28446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
28447         Moved ...
28448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
28449         ... here.
28450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
28451         Moved ...
28452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
28453         ... here.
28454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
28455         Moved ...
28456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
28457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
28458         Moved ...
28459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
28460         ... here.
28461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
28462         Moved ...
28463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
28464         ... here.
28465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
28466         Moved ...
28467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
28468         ... here.
28469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
28470         Moved ...
28471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
28472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
28473         Moved ...
28474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
28475         ... here.
28476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
28477         Moved ...
28478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
28479         ... here.
28480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
28481         Moved ...
28482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
28483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
28484         Moved ...
28485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
28486         ... here.
28487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
28488         Moved ...
28489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
28490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
28491         Moved ...
28492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
28493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
28494         Moved ...
28495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
28496         ... here.
28497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
28498         Moved ...
28499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
28500         ... here.
28501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
28502         Moved ...
28503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
28504         ... here.
28505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
28506         Moved ...
28507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
28508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
28509         Moved ...
28510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
28511         ... here.
28512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
28513         Moved ...
28514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
28515         ... here.
28516         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
28517         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
28518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
28519         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
28520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
28521         Moved ...
28522         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
28523         ... here.
28524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
28525         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
28526         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
28527         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
28528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
28529         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
28530         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
28531         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
28532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
28533         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
28534         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
28535         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
28536         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
28537         Moved ...
28538         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
28539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
28540         Moved ...
28541         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
28542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
28543         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
28544         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
28545         Moved ...
28546         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
28547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
28548         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
28549         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
28550         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
28551         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
28552         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
28554 2014-06-10  Wilco  <wdijkstr@arm.com>
28556         * math/test-fenv-return.c: New file.
28557         * math/Makefile: Add new test test-fenv-return.
28559 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
28561         [BZ #17042]
28562         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
28563         when x - 1 is zero.
28564         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
28565         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
28566         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
28567         0.0L for an argument of 1.0L.
28568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28569         Likewise.
28570         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
28571         value when x - 1 is zero.
28572         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
28573         * sysdeps/i386/fpu/libm-test-ulps: Update.
28574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28576 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
28578         [BZ #15119]
28579         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
28581 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28583         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
28584         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
28586 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28588         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28589         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
28591         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28592         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
28594         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28595         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
28597         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28598         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
28600         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
28601         if not already defined.
28602         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28603         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
28604         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
28605         (TLS_INIT_TP): Use it.
28606         (TLS_DEFINE_INIT_TP): New macro.
28607         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
28609 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
28611         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
28612         constant.
28613         [POSIX] (IXANY): Likewise.
28614         [POSIX] (OLCUC): Likewise.
28615         [POSIX || POSIX2008] (CBAUD): Do not allow.
28616         [POSIX || POSIX2008] (DEFECHO): Likewise.
28617         [POSIX || POSIX2008] (ECHOCTL): Likewise.
28618         [POSIX || POSIX2008] (ECHOKE): Likewise.
28619         [POSIX || POSIX2008] (ECHOPRT): Likewise.
28620         [POSIX || POSIX2008] (EXTA): Likewise.
28621         [POSIX || POSIX2008] (EXTB): Likewise.
28622         [POSIX || POSIX2008] (FLUSHO): Likewise.
28623         [POSIX || POSIX2008] (LOBLK): Likewise.
28624         [POSIX || POSIX2008] (PENDIN): Likewise.
28625         [POSIX || POSIX2008] (SWTCH): Likewise.
28626         [POSIX || POSIX2008] (VDISCARD): Likewise.
28627         [POSIX || POSIX2008] (VDSUSP): Likewise.
28628         [POSIX || POSIX2008] (VLNEXT): Likewise.
28629         [POSIX || POSIX2008] (VREPRINT): Likewise.
28630         [POSIX || POSIX2008] (VSTATUS): Likewise.
28631         [POSIX || POSIX2008] (VWERASE): Likewise.
28632         (B*): Change to B[0123456789]*.
28633         * conform/data/time.h-data [POSIX || UNIX98]
28634         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28635         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28636         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28637         [POSIX] (tm_*): Do not allow.
28639 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
28641         * Makefile (install): Don't set LANGUAGE.
28642         * Makefile.in (install): Likewise.
28643         * assert/Makefile (test-assert-ENV): Remove variable.
28644         (test-assert-perr-ENV): Likewise.
28645         * elf/Makefile (neededtest4-ENV): Likewise.
28646         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28647         [$(cross-compiling) = no]: Don't set LANGUAGE.
28648         * io/ftwtest-sh (LANG): Remove variable.
28649         * libio/Makefile (tst-widetext-ENV): Likewise.
28650         * manual/install.texi (Running make install): Don't refer to
28651         environment settings for make install.
28652         * INSTALL: Regenerated.
28653         * nptl/tst-tls6.sh: Don't set LANG.
28654         * posix/globtest.sh (LANG): Remove variable.
28655         * string/Makefile (tester-ENV): Likewise.
28656         (inl-tester-ENV): Likewise.
28657         (noinl-tester-ENV): Likewise.
28658         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28659         [$(cross-compiling) = no]: Don't set LANGUAGE.
28660         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
28661         without explicit environment settings.
28663 2014-06-06  Roland McGrath  <roland@hack.frob.com>
28665         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
28666         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
28667         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
28668         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
28670 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
28672         * crypt/crypt-private.h [DOS]: Add some includes taken from the
28673         other files in the crypt directory.
28674         * crypt/crypt.c: Remove duplicate includes.
28675         * crypt/crypt-entry.c: Likewise.
28676         * crypt/crypt_util.c: Likewise.
28678 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
28680         * Makeconfig (run-program-env): New variable.
28681         (run-program-prefix-before-env): Likewise.
28682         (run-program-prefix-after-env): Likewise.
28683         (run-program-prefix): Define in terms of new variables.
28684         (built-program-cmd-before-env): New variable.
28685         (built-program-cmd-after-env): Likewise.
28686         (built-program-cmd): Define in terms of new variables.
28687         (test-program-prefix-before-env): New variable.
28688         (test-program-prefix-after-env): Likewise.
28689         (test-program-prefix): Define in terms of new variables.
28690         (test-program-cmd-before-env): New variable.
28691         (test-program-cmd-after-env): Likewise.
28692         (test-program-cmd): Define in terms of new variables.
28693         * Rules (make-test-out): Use $(run-program-env).
28694         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
28695         (help): Do not mention environment variables.  Mention
28696         --timeoutfactor option.
28697         (timeoutfactor): New variable.
28698         (blacklist_exports): Remove function.
28699         (exports): Remove variable.
28700         (command): Do not include ${exports}.
28701         * manual/install.texi (Configuring and compiling): Do not mention
28702         test wrappers preserving environment variables.  Mention that last
28703         assignment to a variable must take precedence.
28704         * INSTALL: Regenerated.
28705         * benchtests/Makefile (run-bench): Use $(run-program-env).
28706         * catgets/Makefile ($(objpfx)test1.cat): Use
28707         $(built-program-cmd-before-env), $(run-program-env) and
28708         $(built-program-cmd-after-env).
28709         ($(objpfx)test2.cat): Do not specify environment variables
28710         explicitly.
28711         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28712         $(run-program-env) and $(built-program-cmd-after-env).
28713         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28714         $(run-program-env) and $(test-program-cmd-after-env).
28715         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28716         explicitly.
28717         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28718         run_program_env and test_program_cmd_after_env arguments.
28719         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28720         * elf/tst-pathopt.sh: Use run_program_env argument.
28721         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28722         $(test-wrapper-env) and $(run-program-env).
28723         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28724         run_program_env arguments.
28725         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28726         * intl/Makefile ($(objpfx)tst-gettext.out): Use
28727         $(test-program-prefix-before-env), $(run-program-env) and
28728         $(test-program-prefix-after-env).
28729         ($(objpfx)tst-gettext2.out): Likewise.
28730         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28731         run_program_env and test_program_prefix_after_env arguments.
28732         * intl/tst-gettext2.sh: Likewise.
28733         * intl/tst-gettext4.sh: Do not set environment variables
28734         explicitly.
28735         * intl/tst-gettext6.sh: Likewise.
28736         * intl/tst-translit.sh: Likewise.
28737         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28738         $(test-program-prefix-before-env), $(run-program-env) and
28739         $(test-program-prefix-after-env).
28740         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28741         run_program_env and test_program_prefix_after_env arguments.
28742         * math/Makefile (run-regen-ulps): Use $(run-program-env).
28743         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28744         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
28745         explicitly with each use of ${test_wrapper_env}.
28746         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28747         $(test-program-prefix-before-env), $(run-program-env) and
28748         $(test-program-prefix-after-env).
28749         * posix/tst-getconf.sh: Do not set environment variables
28750         explicitly.
28751         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28752         run_program_env and test_program_prefix_after_env arguments.
28753         * stdio-common/tst-printf.sh: Do not set environment variables
28754         explicitly.
28755         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28756         $(test-program-prefix-before-env), $(run-program-env) and
28757         $(test-program-prefix-after-env).
28758         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28759         run_program_env and test_program_prefix_after_env arguments.
28760         Split $test calls into $test_pre and $test.
28761         * timezone/Makefile (build-testdata): Use
28762         $(built-program-cmd-before-env), $(run-program-env) and
28763         $(built-program-cmd-after-env).
28765 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28767         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28768         strlen for non SHARED builds.
28770 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28772         * nptl/allocatestack.c (check_list): Inlined function...
28773         (__reclaim_stacks): ... here.
28775 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28777         [BZ #15698]
28778         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28779         memory overrun.
28781 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28783         * Rules (make-test-out): Include
28784         LOCPATH=$(common-objpfx)localedata in default environment.
28785         * debug/Makefile (tst-chk1-ENV): Remove variable.
28786         (tst-chk2-ENV): Likewise.
28787         (tst-chk3-ENV): Likewise.
28788         (tst-chk4-ENV): Likewise.
28789         (tst-chk5-ENV): Likewise.
28790         (tst-chk6-ENV): Likewise.
28791         (tst-lfschk1-ENV): Likewise.
28792         (tst-lfschk2-ENV): Likewise.
28793         (tst-lfschk3-ENV): Likewise.
28794         (tst-lfschk4-ENV): Likewise.
28795         (tst-lfschk5-ENV): Likewise.
28796         (tst-lfschk6-ENV): Likewise.
28797         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28798         (tst-iconv7-ENV): Likewise.
28799         * intl/Makefile (LOCPATH-ENV): Likewise.
28800         (tst-codeset-ENV): Likewise.
28801         (tst-gettext3-ENV): Likewise.
28802         (tst-gettext5-ENV): Likewise.
28803         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28804         (tst-fopenloc-ENV): Likewise.
28805         (tst-fgetws-ENV): Remove variable.
28806         (tst-ungetwc1-ENV): Likewise.
28807         (tst-ungetwc2-ENV): Likewise.
28808         (bug-ungetwc2-ENV): Likewise.
28809         (tst-swscanf-ENV): Likewise.
28810         (bug-ftell-ENV): Likewise.
28811         (tst-fgetwc-ENV): Likewise.
28812         (tst-fseek-ENV): Likewise.
28813         (tst-ftell-partial-wide-ENV): Likewise.
28814         (tst-ftell-active-handler-ENV): Likewise.
28815         (tst-ftell-append-ENV): Likewise.
28816         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28817         (tst-regexloc-ENV): Likewise.
28818         (bug-regex1-ENV): Likewise.
28819         (tst-regex-ENV): Likewise.
28820         (tst-regex2-ENV): Likewise.
28821         (bug-regex5-ENV): Likewise.
28822         (bug-regex6-ENV): Likewise.
28823         (bug-regex17-ENV): Likewise.
28824         (bug-regex18-ENV): Likewise.
28825         (bug-regex19-ENV): Likewise.
28826         (bug-regex20-ENV): Likewise.
28827         (bug-regex22-ENV): Likewise.
28828         (bug-regex23-ENV): Likewise.
28829         (bug-regex25-ENV): Likewise.
28830         (bug-regex26-ENV): Likewise.
28831         (bug-regex30-ENV): Likewise.
28832         (bug-regex32-ENV): Likewise.
28833         (bug-regex33-ENV): Likewise.
28834         (bug-regex34-ENV): Likewise.
28835         (bug-regex35-ENV): Likewise.
28836         (tst-rxspencer-ENV): Likewise.
28837         (tst-rxspencer-no-utf8-ENV): Likewise.
28838         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28839         (tst-sscanf-ENV): Likewise.
28840         (tst-swprintf-ENV): Likewise.
28841         (tst-swscanf-ENV): Likewise.
28842         (test-vfprintf-ENV): Likewise.
28843         (scanf13-ENV): Likewise.
28844         (bug14-ENV): Likewise.
28845         (tst-grouping-ENV): Likewise.
28846         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28847         (tst-strtod3-ENV): Likewise.
28848         (tst-strtod4-ENV): Likewise.
28849         (tst-strtod5-ENV): Likewise.
28850         (testmb2-ENV): Likewise./
28851         * string/Makefile (tst-strxfrm-ENV): Likewise.
28852         (tst-strxfrm2-ENV): Likewise.
28853         (bug-strcoll1-ENV): Likewise.
28854         (test-strcasecmp-ENV): Likewise.
28855         (test-strncasecmp-ENV): Likewise.
28856         * time/Makefile (tst-strptime-ENV): Likewise.
28857         (tst-ftime_l-ENV): Likewise.
28858         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28859         (tst-mbrtowc-ENV): Likewise.
28860         (tst-wcrtomb-ENV): Likewise.
28861         (tst-mbrtowc2-ENV): Likewise.
28862         (tst-c16c32-1-ENV): Likewise.
28863         (tst-mbsnrtowcs-ENV): Likewise.
28865 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28867         * manual/resource.texi (How to get information about the memory
28868         subsystem?): Fix typo.
28869         Reported by Peon de la Parra Ivan <peon@keba.com>
28871 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28873         [BZ #16882]
28874         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28875         (pthread_spin_lock): Branch out of spin loop to proper location.
28876         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28877         (pthread_spin_lock): Likewise.
28879         * nptl/tst-spin4.c: New test.
28880         * nptl/Makefile (tests): Add tst-spin4.
28882 2014-06-03  Andreas Schwab  <schwab@suse.de>
28884         [BZ #15946]
28885         * resolv/res_send.c (send_dg): Reload file descriptor after
28886         calling reopen.
28888 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28890         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28892 2014-06-03  Richard Henderson  <rth@redhat.com>
28894         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28895         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28896         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28897         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28898         in the SAVE_PID block.
28899         (__libc_vfork): New alias.
28900         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28902         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28903         child in registers, not on the stack.  Remove RESET_PID conditionals.
28904         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28906 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28908         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28910 2014-06-03  Wilco  <wdijkstr@arm.com>
28912         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28913         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28914         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28915         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28916         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28917         Likewise.
28919 2014-06-03  Wilco  <wdijkstr@arm.com>
28921         * sysdeps/aarch64/fpu/math_private.h
28922         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28923         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28924         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28925         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28926         Fix declarations.
28928 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28930         * crypt/crypt-private.h: Include ufc-crypt.h.
28931         (__b64_from_24bit): Declare extern.
28932         * crypt/crypt_util.c(__b64_from_24bit): New function.
28933         (b64t): New static const variable.
28934         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28935         (b64t): Remove variable.
28936         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28937         * crypt/sha256-crypt.c: Include crypt-private.h.
28938         (b64t): Remove variable.
28939         (__sha256_crypt_r): Remove b64_from_24bit and replace
28940         with __b64_from_24bit.
28941         * crypt/sha512-crypt.c: Likewise.
28943 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28945         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28946         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28947         Label the code __libc_vfork rather than __vfork.
28948         [!NOT_IN_libc] (vfork): Define as weak alias.
28949         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28950         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28951         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28953 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28955         * malloc/malloc.c (malloc_info): Fix format specifier for
28956         n_mmaps.
28958 2014-06-02  Wilco  <wdijkstr@arm.com>
28960         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28961         FPCR write.
28963 2014-06-02  Wilco  <wdijkstr@arm.com>
28965         [BZ #17009]
28966         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28967         Rewrite to reduce FPCR/FPSR accesses.
28969 2014-06-01  David S. Miller  <davem@davemloft.net>
28971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28973 2014-05-31  David S. Miller  <davem@davemloft.net>
28975         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28976         to occur in round to nearest mode when |x| >= 2.0
28978 2014-05-30  Richard Henderson  <rth@twiddle.net>
28980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28981         (PSEUDO_RET_NOERRNO): Remove.
28982         (ret): Don't redefine.
28983         (ret_NOERRNO): Define in terms of ret.
28984         (ret_ERRVAL): Likewise.
28986         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28987         use of PSEUDO_RET; perform the error check directly.
28989 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28991         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28992         with __int128_t.
28994 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28996         * malloc/malloc (malloc_info): Fix formatting.
28998 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28999             Roland McGrath  <roland@hack.frob.com>
29001         * malloc/malloc (malloc_info): Also print mmapped statistics.
29003 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29005         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29006         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29008 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29010         * malloc/malloc.c (malloc_info): Inline mi_arena.
29012 2014-05-29  Richard Henderson  <rth@twiddle.net>
29014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29015         Remove comma before expanding ASM_ARGS_##nr.
29016         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29017         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29018         of ASM_ARGS_##nr.
29019         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29020         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29021         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29022         (ASM_ARGS_1): Add leading comma.
29024         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29025         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29026         to __errno_location.
29027         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29028         Remove the expected plt for __errno_location.
29030         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29031         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29032         call to __read_tp.
29034         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29035         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29036         it and break it down.
29037         (DOCARGS_0, DOCARGS_1): Do nothing.
29038         (DOCARGS_2): Update to store into the new stack frame.
29039         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29040         (UNDOCARGS_1): Update to restore from the new stack frame.
29041         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29042         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29044         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29045         (SINGLE_THREAD_P): New parameter for result regno.
29046         (PSEUDO): Update to match; use cbz instead of beq.
29048         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29049         Use ENTRY to define the _nocancel entry point.  Share the syscall
29050         and syscall error check paths with the cancel path.
29051         (PSEUDO_END): New.
29053         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29054         whitespace; tabs before and after asm mnemonics.
29056 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29058         [BZ #15132]
29059         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29060         Call fstat64 or stat64 internally, depending on arguments passed.
29061         Replace stat buffer argument with file descriptor argument.
29062         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29063         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29064         Pass fd to __internal_statvfs instead of calling fstat64.
29065         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29066         Pass fd to __internal_statvfs64 instead of calling fstat64.
29067         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29068         Pass -1 to __internal_statvfs instead of calling stat64.
29069         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29070         Pass -1 to __internal_statvfs64 instead of calling stat64.
29072 2014-05-28  Roland McGrath  <roland@hack.frob.com>
29074         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29075         that was previously under [RESET_PID].
29076         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29078         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29079         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29081 2014-05-27  Roland McGrath  <roland@hack.frob.com>
29083         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29085         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29086         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29088 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
29090         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29092 2014-05-27  Andreas Schwab  <schwab@suse.de>
29094         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29095         TLS_INIT_TP macro.
29096         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29097         * elf/rtld.c (init_tls, dl_main): Likewise.
29098         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29099         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29100         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29101         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29102         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29103         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29104         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29105         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29106         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29107         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29108         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29109         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29110         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29111         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29112         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29113         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29114         * sysdeps/generic/tls.h: Update description.
29116 2014-05-27  Will Newton  <will.newton@linaro.org>
29118         [BZ #16990]
29119         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29120         and restore r2 rather than just restoring.
29122 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29124         [BZ #16724]
29125         * libio/tst-ftell-append.c: New test case.
29126         * libio/Makefile (tests): Add test case.
29127         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29128         append mode.
29129         * libio/wfileops.c (do_ftell_wide): Likewise.
29131 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29135         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
29136         ...
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
29138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29139         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
29140         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
29141         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
29142         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
29143         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
29144         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
29145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29146         Moved ...
29147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
29148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29149         Moved ...
29150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
29151         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
29152         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
29153         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
29154         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
29155         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
29156         ...
29157         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
29158         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
29159         Moved ...
29160         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29161         here.
29162         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
29163         ...
29164         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
29165         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
29166         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
29168         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
29169         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
29170         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
29171         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
29173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
29174         merge into ...
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
29176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
29177         ...
29178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
29179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
29180         ...
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
29182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29183         Moved ...
29184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
29185         here.
29186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29187         Moved ...
29188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
29189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29190         Moved ...
29191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29194         conditional [RESET_PID].
29195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
29196         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
29197         removed.
29198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
29199         removed.
29201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
29202         <tcb-offsets.h>.
29203         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29204         (__libc_vfork): New strong alias.
29205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
29206         removed.
29207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
29208         Removed.
29210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
29211         <tcb-offsets.h>.
29212         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
29213         (__libc_vfork): New strong alias.
29214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
29215         removed.
29216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
29217         removed.
29219 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
29221         * malloc/malloc.c (mi_arena): New function.
29222         (malloc_info): Remove nested function mi_arena. Call non-nosted
29223         function mi_arena.
29225 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29227         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
29228         by insrwi.
29229         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29230         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29231         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
29232         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
29233         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
29234         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
29235         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
29237 2014-05-26  Andreas Schwab  <schwab@suse.de>
29239         [BZ #16984]
29240         * locale/programs/repertoire.c (repertoire_read): Add slash
29241         between I18NPATH element and file name.
29242         * locale/programs/locfile.c (locfile_read): Likewise.
29244 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29246         * nptl/pthread_mutexattr_settype.c
29247         (__pthread_mutexattr_settype):
29248         Disable lock elision for PTHREAD_MUTEX_NORMAL.
29250 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29252         * nptl/tst-mutex5 (do_test):
29253         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
29255 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29257         * benchtests/README: Document 'init' directive.
29258         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
29259         BENCH_INIT.
29260         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
29261         (parse_file): Recognize 'init' directive.
29263 2014-05-26  Kyle McMartin  <kyle@redhat.com>
29265         [BZ #16796]
29266         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
29267         alignment of struct pthread.
29269 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29271         [BZ #16878]
29272         * nscd/netgroupcache.c (addgetnetgrentX): Look for
29273         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29274         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
29275         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29277 2014-05-25  Richard Henderson  <rth@twiddle.net>
29279         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29280         (SINGLE_THREAD_P_PIC): Remove.
29281         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
29282         (SINGLE_THREAD_P_PIC): Remove.
29284         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
29285         branch to syscall error ...
29286         (PSEUDO): ... here.
29287         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
29288         from __local_syscall_error to .Lsyscall_error.
29289         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
29290         (SYSCALL_ERROR): Update label name.
29292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29293         Do not use DOARGS/UNDOARGS.
29294         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
29295         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
29296         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
29297         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
29298         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
29300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
29301         block comment.
29303         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
29304         define if !NOT_IN_libc.
29305         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
29306         define with non-default symbol versions.
29308 2014-05-23  Richard Henderson  <rth@twiddle.net>
29310         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
29311         (vfork, __vfork): Define via compat_symbol.
29313         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
29314         [!HAVE_IFUNC] (vfork_compat): Remove.
29315         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
29317 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29319         [BZ #16978]
29320         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
29321         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
29322         variable.
29324 2014-05-23  Richard Henderson  <rth@twiddle.net>
29326         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
29327         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
29328         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
29329         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
29331         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
29332         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
29333         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
29334         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
29335         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
29336         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
29337         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
29338         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
29339         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
29340         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
29341         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
29342         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
29343         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
29344         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
29345         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
29346         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
29347         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
29348         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
29349         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
29350         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
29351         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
29352         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
29353         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
29354         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
29355         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
29356         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
29357         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
29358         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
29359         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
29360         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
29361         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
29362         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
29363         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
29364         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
29365         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
29366         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
29367         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
29368         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
29369         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
29370         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
29371         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
29372         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
29373         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
29374         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
29375         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
29376         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
29377         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
29378         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
29379         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
29380         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
29381         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
29382         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
29383         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
29384         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
29385         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
29386         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
29388         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
29389         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
29390         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
29391         before exiting on error.
29392         (__libc_vfork): New strong alias.
29393         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
29394         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
29396         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
29397         that was previously under [RESET_PID].
29398         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
29400         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
29402 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29404         [BZ #16977]
29405         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
29406         value when x - 1 is zero.
29407         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
29408         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
29409         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
29410         0.0L for an argument of 1.0L.
29411         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
29412         Likewise.
29413         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
29414         value when x - 1 is zero.
29415         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
29416         * sysdeps/i386/fpu/libm-test-ulps: Update.
29417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29419 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29421         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
29422         alphasort and versionsort.
29424 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29426         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
29427         macro.
29428         [copysignf]: Likewise.
29430 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29432         * crypt/md5-crypt.c: Fix formatting.
29434 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29436         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
29437         (b64_from_24bit): New function.
29439 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29441         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
29442         libc_hidden_builtin_def to ifunc.
29443         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29444         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
29446 2014-05-21  Roland McGrath  <roland@hack.frob.com>
29448         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
29449         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
29451 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
29453         * nscd/Depend (linuxthreads): Remove.
29454         (nptl): Add.
29455         * resolv/Depend (linuxthreads): Remove.
29456         * rt/Depend (linuxthreads): Remove.
29458         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
29459         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
29460         $(common-objpfx)elf/.
29461         (link-libc-before-gnulib): Likewise.
29462         (elfobjdir): Remove variable.
29463         * Makefile (install): Use $(elf-objpfx) instead of
29464         $(common-objpfx)elf/.
29465         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
29466         $(elfobjdir)/.
29467         (link-libc-deps): Likewise.
29468         ($(common-objpfx)libc.so): Likewise.
29469         ($(common-objpfx)linkobj/libc.so): Likewise.
29470         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
29471         instead of $(common-objpfx)elf/.
29472         (symbolic-link-list): Likewise.
29473         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29474         [$(cross-compiling) = no]: Likewise.
29475         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
29476         $(elfobjdir)/.
29477         (static-gnulib-arch): Likewise.
29478         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29479         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
29480         $(common-objpfx)elf/.
29482 2014-05-21  Richard Henderson  <rth@redhat.com>
29484         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29485         (SINGLE_THREAD_P): Use the correct width load.  Fold
29486         into the ldr offset.
29488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
29489         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
29491 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
29493         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
29494         (libgcc_s_resume): Use __attribute_used__.
29495         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
29496         Likewise.
29498 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29500         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
29501         optimization when used with float constants.
29503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29505 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
29507         [BZ #16915]
29508         * locale/nl_langinfo_l.c: Make direct reference to every
29509         _nl_current_CATEGORY symbol.
29510         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
29511         (tests-static): Add tst-langinfo-static.
29512         (tests-special): Add tst-langinfo-static.out.
29513         ($(objpfx)tst-langinfo.out): Redirect output.
29514         ($(objpfx)tst-langinfo-static.out): New.
29515         * localedata/tst-langinfo.sh: Send output to stdout.
29516         * localedata/tst-langinfo-static.c: New file.
29518         [BZ #16965]
29519         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
29520         when the shift amount is modulo the limb size.
29522 2014-05-20  Richard Henderson  <rth@redhat.com>
29524         [BZ #16967]
29525         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
29526         Change type of sa_flags from unsigned int to int.
29528         [BZ #16966]
29529         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
29531         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
29533 2014-05-20  Will Newton  <will.newton@linaro.org>
29535         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29536         Test the return value of the system call in the nocancel case.
29538 2014-05-20  Will Newton  <will.newton@linaro.org>
29539             Yvan Roux  <yvan.roux@linaro.org>
29541         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
29542         #include of asm/ptrace.h.
29543         (PTRACE_GET_THREAD_AREA): Remove #undef.
29544         (PTRACE_GETHBPREGS): Likewise.
29545         (PTRACE_SETHBPREGS): Likewise.
29546         (struct user_regs_struct): New structure.
29547         (struct user_fpsimd_struct): New structure.
29548         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
29549         #include of asm/ptrace.h and second #include of sys/user.h.
29550         (PTRACE_GET_THREAD_AREA): Remove #undef.
29551         (PTRACE_GETHBPREGS): Likewise.
29552         (PTRACE_SETHBPREGS): Likewise.
29553         (ELF_NGREG): Use new struct user_regs_struct.
29554         (elf_fpregset_t): Use new struct user_fpsimd_struct.
29556 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29558         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
29559         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
29561 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
29563         [BZ #16958]
29564         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
29565         membar to avoid block loads/stores to overlap previous stores.
29567 2014-05-17  Richard Henderson  <rth@redhat.com>
29569         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
29570         Create the __##syscall_name##_nocancel entry point.
29571         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
29572         Remove; let the sysdep-cancel.h code create it.
29574 2014-05-17  David S. Miller  <davem@davemloft.net>
29576         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
29577         Protect with __USE_GNU.
29578         (TIOCSET_TEMPT): Likewise.
29579         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29580         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
29581         these are already provided in bits/ioctl-types.h
29583 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29585         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
29586         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
29588         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
29589         Use wait4 regardless of [__NR_waitpid].
29591 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29593         PR libgcc/60166
29594         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29595         (_FP_NANSIGN_Q): Set the quiet bit.
29597 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
29599         * benchtests/Makefile
29600         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
29601         not $(common-objpfx)math/libm.so.
29602         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
29603         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
29604         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29605         $(common-objpfx)dlfcn/libdl.so.
29606         ($(objpfx)tst-audit8): Depend on $(libm), not
29607         $(common-objpfx)math/libm.so.
29608         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
29609         not $(common-objpfx)dlfcn/libdl.so.
29610         * math/Makefile
29611         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29612         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
29613         [$(build-shared) = yes].
29614         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
29615         $(common-objpfx)nptl/libpthread.so.
29616         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
29617         $(common-objpfx)math/libm.so$(libm.so-version) or
29618         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29619         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29620         $(common-objpfx)dlfcn/libdl.so.
29621         * setjmp/Makefile (link-libm): Remove variable.
29622         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29623         * stdio-common/Makefile (link-libm): Remove variable.
29624         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29625         * stdlib/Makefile (link-libm): Remove variable.
29626         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29627         ($(objpfx)tst-strtod-round): Likewise.
29628         ($(objpfx)tst-tininess): Likewise.
29629         ($(objpfx)tst-strtod-underflow): Likewise.
29630         ($(objpfx)tst-strtod6): Likewise.
29631         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29632         $(libdl), not $(common-objpfx)nptl/libpthread.so and
29633         $(common-objpfx)dlfcn/libdl.so.
29635 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29637         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29638         BSD terminal modes definitions.
29640 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29642         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29643         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29645         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29646         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29647         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29648         Don't do #include_next.
29649         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29650         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29651         Don't do #include_next.
29652         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29653         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29654         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29655         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29657 2014-05-16  Allan McRae  <allan@archlinux.org>
29659         * po/sv.po: Update Swedish translation from translation project.
29661         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
29662         in sed expression.
29664 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
29666         [BZ #16917]
29667         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29668         errno if the TIOCGPTN ioctl fails with an error different than
29669         EINVAL.
29670         * login/tst-ptsname.c: New file.
29671         * login/Makefile (tests): Add tst-ptsname.
29673         [BZ #16943]
29674         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
29675         and prlimit64.
29677 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29679         [BZ #16849]
29680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
29681         herrno to return EAI_AGAIN.
29683 2014-05-14  Roland McGrath  <roland@hack.frob.com>
29685         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
29686         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29687         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
29688         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
29689         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
29690         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
29691         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
29692         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
29693         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
29694         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
29695         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
29696         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
29697         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
29698         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
29699         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
29700         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
29701         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
29702         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
29703         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29704         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29705         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29706         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29707         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29708         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29709         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29710         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29711         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29712         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29713         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29714         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29716         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29718         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29720         Moved ...
29721         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29723         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29725         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29727         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29729         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29731         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29733         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29735         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29737         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29739         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29741         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29743         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29745         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29747         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29749         Moved ...
29750         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29752         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29754         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29756         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29758         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29760         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29762         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29764         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29766         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29768         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29770         Moved ...
29771         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29773         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29775         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29776         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29777         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29778         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29779         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29780         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29781         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29782         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29783         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29784         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29785         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29786         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29787         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29788         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29789         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29790         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29791         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29792         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29793         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29794         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29795         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29796         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29797         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29798         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29799         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29800         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29801         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29802         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29803         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29804         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29805         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29807         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29808         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29810         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29811         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29812         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29813         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29814         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29815         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29816         Moved ...
29817         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29818         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29819         Moved ...
29820         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29821         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29822         Moved ...
29823         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29825         Moved ...
29826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29827         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29828         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29829         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29830         Moved ...
29831         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29832         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29833         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29835         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29836         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29837         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29838         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29839         Moved ...
29840         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29841         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29842         Moved ...
29843         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29844         ... here.
29845         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29846         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29847         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29848         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29849         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29850         Moved ...
29851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29852         ... here.
29853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29854         Moved ...
29855         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29856         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29857         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29858         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29859         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29860         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29861         Moved ...
29862         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29863         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29864         Moved ...
29865         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29866         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29867         Moved ...
29868         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29870         Moved ...
29871         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29872         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29873         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29874         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29875         Moved ...
29876         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29877         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29878         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29880         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29881         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29882         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29883         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29884         Moved ...
29885         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29886         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29887         Moved ...
29888         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29889         ... here.
29890         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29891         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29892         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29893         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29894         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29895         Moved ...
29896         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29897         ... here.
29898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29899         Moved ...
29900         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29901         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29902         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29903         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29904         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29905         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29906         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29907         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29908         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29909         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29910         Moved ...
29911         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29912         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29913         Moved ...
29914         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29916         Moved ...
29917         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29919         Moved ...
29920         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29921         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29922         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29923         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29924         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29925         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29926         Moved ...
29927         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29928         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29929         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29931         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29932         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29933         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29934         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29935         Moved ...
29936         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29937         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29938         Moved ...
29939         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29940         ... here.
29941         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29942         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29943         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29944         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29945         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29946         Moved ...
29947         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29948         ... here.
29949         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29950         Moved ...
29951         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29952         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29953         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29954         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29955         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29956         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29957         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29958         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29959         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29960         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29961         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29963         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29964         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29966         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29967         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29969         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29970         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29971         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29972         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29973         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29974         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29975         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29976         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29977         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29978         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29979         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29980         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29981         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29982         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29983         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29985         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29986         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29987         Moved ...
29988         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29990         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29992         Moved ...
29993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29996         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29997         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29998         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29999         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30000         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30001         Moved ...
30002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30004         Moved ...
30005         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30006         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30007         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30008         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30009         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30010         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30011         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30012         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30013         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30014         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30015         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30016         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30017         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30018         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30019         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30020         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30021         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30023         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30024         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30025         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30026         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30027         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30029         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30030         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30031         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30032         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30033         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30034         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30035         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30036         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30037         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30038         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30040         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30043         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30044         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30045         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30046         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30047         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30048         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30049         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30050         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30051         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30052         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30053         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30054         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30055         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30056         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30058         Update #include.
30059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30060         Likewise.
30061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30062         Likewise.
30063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30064         Likewise.
30065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30066         Likewise.
30067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30068         Likewise.
30069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30070         Likewise.
30071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30072         Likewise.
30073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30074         Likewise.
30075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30076         Likewise.
30077         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30078         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30079         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30082         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30083         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30084         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30085         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30087         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30088         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30089         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30090         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
30091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
30093         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30094         that was previously under [RESET_PID].
30095         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30096         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30097         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30099         * sysdeps/i386/nptl/Implies: New file.
30100         * sysdeps/x86_64/nptl/Implies: New file.
30101         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30102         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30103         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30104         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30106         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30107         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30108         (__libc_vfork): New strong alias.
30109         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30110         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30112         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30113         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30114         (__libc_vfork): New strong alias.
30115         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30116         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30118         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30119         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30120         (__libc_vfork): New strong alias.
30121         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30122         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30123         * nptl/pt-vfork.c: New file.
30124         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30125         (libpthread: GLIBC_2.20): New version set (empty).
30127 2014-05-14  Will Newton  <will.newton@linaro.org>
30129         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
30130         rather than #if.
30132 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30134         [BZ #16564]
30135         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
30136         arguments with exponent 65 or above.
30137         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
30138         arguments 0x1p113L or above.
30139         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
30140         to arguments 0x1p107L or above.
30141         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
30142         positive arguments with exponent 65 or above.
30143         * math/auto-libm-test-in: Add more tests of log1p.
30144         * math/auto-libm-test-out: Regenerated.
30146         [BZ #16928]
30147         * math/s_cacos.c (__cacos): Ensure zero real part of result from
30148         non-finite arguments is +0.
30149         * math/s_cacosf.c (__cacosf): Likewise.
30150         * math/s_cacosl.c (__cacosl): Likewise.
30151         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
30152         * sysdeps/i386/fpu/libm-test-ulps: Update.
30153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30155         [BZ #16927]
30156         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
30157         value.
30158         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30159         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
30160         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30161         for explicit high bit of mantissa when testing for argument equal
30162         to 1.
30163         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
30164         * sysdeps/i386/fpu/libm-test-ulps: Update.
30165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30167         [BZ #16516]
30168         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
30169         (__erf): Scale by 16 instead of 8 in potentially underflowing
30170         case.  Ensure exception if result actually underflows.
30171         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
30172         (__erff): Scale by 16 instead of 8 in potentially underflowing
30173         case.  Ensure exception if result actually underflows.
30174         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
30175         (efx8): Remove variable.
30176         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30177         case.  Ensure exception if result actually underflows.
30178         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
30179         (efx8): Remove variable.
30180         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30181         case.  Ensure exception if result actually underflows.
30182         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
30183         (efx8): Remove variable.
30184         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30185         case.  Ensure exception if result actually underflows.
30186         * math/auto-libm-test-in: Add more tests of erf.
30187         * math/auto-libm-test-out: Regenerated.
30189 2014-05-14  Andreas Schwab  <schwab@suse.de>
30191         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
30192         Remove code conditionalized on USE___THREAD.
30194         * config.h.in (HAVE_PT_CHOWN): Define as 0.
30195         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
30196         not definedness.
30198 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30200         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
30201         Define unconditionally.
30202         (__ASSUME_O_CLOEXEC): Likewise.
30203         (__ASSUME_SOCK_CLOEXEC): Likewise.
30204         (__ASSUME_IN_NONBLOCK): Likewise.
30205         (__ASSUME_PIPE2): Likewise.
30206         (__ASSUME_EVENTFD2): Likewise.
30207         (__ASSUME_SIGNALFD4): Likewise.
30208         (__ASSUME_DUP3): Likewise.
30209         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30210         (__ASSUME_DUP3): Do not define.
30211         (__ASSUME_EVENTFD2): Likewise.
30212         (__ASSUME_IN_NONBLOCK): Likewise.
30213         (__ASSUME_O_CLOEXEC): Likewise.
30214         (__ASSUME_PIPE2): Likewise.
30215         (__ASSUME_SIGNALFD4): Likewise.
30216         (__ASSUME_SOCK_CLOEXEC): Likewise.
30217         (__ASSUME_UTIMES): Undefine.
30218         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30219         (__ASSUME_UTIMES): Do not define.
30220         (__ASSUME_O_CLOEXEC): Likewise.
30221         (__ASSUME_SOCK_CLOEXEC): Likewise.
30222         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
30223         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
30224         0x020621].
30225         (__ASSUME_PIPE2): Likewise.
30226         (__ASSUME_EVENTFD2): Likewise.
30227         (__ASSUME_SIGNALFD4): Likewise.
30228         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
30229         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
30230         Do not define.
30231         (__ASSUME_EVENTFD2): Likewise.
30232         (__ASSUME_SIGNALFD4): Likewise.
30233         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30234         (__ASSUME_32BITUIDS): Likewise.
30235         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30236         (__ASSUME_IPC64): Likewise.
30237         (__ASSUME_ST_INO_64_BIT): Likewise.
30238         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
30239         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
30240         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30241         (__ASSUME_UTIMES): Do not define.
30242         (__ASSUME_PSELECT): Likewise.
30243         (__ASSUME_PPOLL): Likewise.
30244         (__ASSUME_O_CLOEXEC): Likewise.
30245         (__ASSUME_SOCK_CLOEXEC): Likewise.
30246         (__ASSUME_IN_NONBLOCK): Likewise.
30247         (__ASSUME_PIPE2): Likewise.
30248         (__ASSUME_EVENTFD2): Likewise.
30249         (__ASSUME_SIGNALFD4): Likewise.
30250         (__ASSUME_DUP3): Likewise.
30251         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30252         (__ASSUME_UTIMES): Likewise.
30253         (__ASSUME_O_CLOEXEC): Likewise.
30254         (__ASSUME_SOCK_CLOEXEC): Likewise.
30255         (__ASSUME_IN_NONBLOCK): Likewise.
30256         (__ASSUME_PIPE2): Likewise.
30257         (__ASSUME_EVENTFD2): Likewise.
30258         (__ASSUME_SIGNALFD4): Likewise.
30259         (__ASSUME_DUP3): Likewise.
30260         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30261         (__ASSUME_UTIMES): Likewise.
30262         (__ASSUME_O_CLOEXEC): Likewise.
30263         (__ASSUME_SOCK_CLOEXEC): Likewise.
30264         (__ASSUME_IN_NONBLOCK): Likewise.
30265         (__ASSUME_PIPE2): Likewise.
30266         (__ASSUME_EVENTFD2): Likewise.
30267         (__ASSUME_SIGNALFD4): Likewise.
30268         (__ASSUME_DUP3): Likewise.
30269         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
30270         Likewise.
30271         (__ASSUME_UTIMES): Likewise.
30272         (__ASSUME_EVENTFD2): Likewise.
30273         (__ASSUME_SIGNALFD4): Likewise.
30274         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30275         (__ASSUME_O_CLOEXEC): Likewise.
30276         (__ASSUME_SOCK_CLOEXEC): Likewise.
30277         (__ASSUME_IN_NONBLOCK): Likewise.
30278         (__ASSUME_PIPE2): Likewise.
30279         (__ASSUME_EVENTFD2): Likewise.
30280         (__ASSUME_SIGNALFD4): Likewise.
30281         (__ASSUME_DUP3): Likewise.
30282         (__ASSUME_UTIMES): Undefine.
30284         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
30285         feclearexcept.  Remove symbol versioning code.
30286         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
30287         symbol versioning code.
30288         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
30289         symbol versioning code.
30290         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
30291         feupdateenv.  Remove symbol versioning code.
30292         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
30293         fegetexceptflag.  Remove symbol versioning code.
30294         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
30295         fesetexceptflag.  Remove symbol versioning code.
30296         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
30297         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
30298         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
30299         (__posix_fadvise64_l32): Remove prototype.
30300         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
30301         code.
30303 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30305         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
30306         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
30307         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
30308         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
30310 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
30312         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
30313         current working directory
30315 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30317         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
30318         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
30319         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
30320         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
30321         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
30322         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
30323         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
30324         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
30325         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
30326         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
30327         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
30328         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
30329         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
30330         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
30331         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
30332         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
30333         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
30334         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
30335         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
30336         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
30337         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
30338         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
30340         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
30341         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
30342         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
30343         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
30344         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
30345         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
30346         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
30347         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
30348         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
30349         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
30350         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
30351         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
30352         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
30353         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
30354         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
30355         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
30356         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
30357         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
30358         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
30360         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
30361         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
30363         * sysdeps/unix/sysv/linux/arm/Makefile
30364         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30365         Add rt-aeabi_unwind_cpp_pr1.
30366         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
30367         Add nptl-aeabi_unwind_cpp_pr1.
30368         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
30369         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
30370         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
30371         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30372         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
30373         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30375         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
30376         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
30377         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
30378         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
30380         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
30381         Deconditionalize the code that was previously under [RESET_PID].
30382         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
30384         * sysdeps/generic/exit-thread.h: New file.
30385         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
30386         * include/unistd.h (__exit_thread): Remove declaration.
30387         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
30388         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
30389         * csu/libc-start.c: Include <exit-thread.h>.
30390         (LIBC_START_MAIN): Pass no argument to __exit_thread.
30391         * nptl/pthread_create.c: Include <exit-thread.h>.
30392         (start_thread): Call __exit_thread in place of __exit_thread_inline.
30393         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
30394         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
30395         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
30396         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
30397         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
30398         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
30399         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
30400         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
30401         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
30402         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
30403         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
30404         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
30405         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
30406         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
30407         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
30408         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
30410 2014-05-13  Andreas Schwab  <schwab@suse.de>
30412         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
30414 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
30416         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30417         (__ASSUME_UTIMES): Do not condition on kernel version.
30418         (__ASSUME_PSELECT): Define unconditionally.
30419         (__ASSUME_PPOLL): Likewise.
30420         (__ASSUME_ATFCTS): Likewise.
30421         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
30422         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
30423         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
30424         (__ASSUME_UTIMENSAT): Define unconditionally.
30425         (__ASSUME_PRIVATE_FUTEX): Likewise.
30426         (__ASSUME_FALLOCATE): Likewise.
30427         (__ASSUME_O_CLOEXEC): Likewise.
30428         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
30429         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
30430         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
30431         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
30432         (__ASSUME_IN_NONBLOCK): Likewise.
30433         (__ASSUME_PIPE2): Likewise.
30434         (__ASSUME_EVENTFD2): Likewise.
30435         (__ASSUME_SIGNALFD4): Likewise.
30436         (__ASSUME_DUP3): Likewise.
30437         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30438         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30439         (__ASSUME_AT_RANDOM): Likewise.
30440         (__ASSUME_PREADV): Likewise.
30441         (__ASSUME_PWRITEV): Likewise.
30442         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
30443         (__ASSUME_F_GETOWN_EX): Define unconditionally.
30444         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
30445         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30446         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
30447         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30448         (__ASSUME_O_CLOEXEC): Define unconditionally.
30449         (__ASSUME_PSELECT): Do not undefine conditionally.
30450         (__ASSUME_PPOLL): Likewise.
30451         (__ASSUME_ATFCTS): Likewise.
30452         (__ASSUME_SET_ROBUST_LIST): Likewise.
30453         (__ASSUME_UTIMENSAT): Likewise.
30454         (__ASSUME_FDATASYNC): Define unconditionally.
30455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30456         (__ASSUME_SIGFRAME_V2): Likewise.
30457         )__ASSUME_EVENTFD2): Likewise.
30458         (__ASSUME_SIGNALFD4): Likewise.
30459         (__ASSUME_PSELECT): Do not undefine conditionally.
30460         (__ASSUME_PPOLL): Likewise.
30461         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30462         (__ASSUME_PSELECT): Define unconditionally.
30463         (__ASSUME_PPOLL): Likewise.
30464         (__ASSUME_O_CLOEXEC): Likewise.
30465         (__ASSUME_SOCK_CLOEXEC): Likewise.
30466         (__ASSUME_IN_NONBLOCK): Likewise.
30467         (__ASSUME_PIPE2): Likewise.
30468         (__ASSUME_EVENTFD2): Likewise.
30469         (__ASSUME_SIGNALFD4): Likewise.
30470         (__ASSUME_DUP3): Likewise.
30471         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30472         (__ASSUME_O_CLOEXEC): Likewise.
30473         (__ASSUME_SOCK_CLOEXEC): Likewise.
30474         (__ASSUME_IN_NONBLOCK): Likewise.
30475         (__ASSUME_PIPE2): Likewise.
30476         (__ASSUME_EVENTFD2): Likewise.
30477         (__ASSUME_SIGNALFD4): Likewise.
30478         (__ASSUME_DUP3): Likewise.
30479         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30480         (__ASSUME_EVENTFD2): Likewise.
30481         (__ASSUME_SIGNALFD4): Likewise.
30482         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30484 2014-05-12  Andreas Schwab  <schwab@suse.de>
30486         [BZ #16932]
30487         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
30488         (_nss_nis_gethostbyname4_r): Return error if item length is larger
30489         than maximum RPC packet size.
30490         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
30491         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
30492         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
30493         (_nss_nis_getservbyport_r): Likewise.
30495 2014-05-12  Will Newton  <will.newton@linaro.org>
30497         * malloc/Makefile (tests): Add tst-mallopt.
30498         * malloc/tst-mallopt.c: New file.
30500 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30502         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
30503         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
30505 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30507         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
30508         (tst-tlsmod6.so): Likewise.
30510 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30512         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
30514 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
30516         [BZ #16064]
30517         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
30518         and <dl-procinfo.h>.
30519         (__fegetenv): Save SSE state in envp->__eip if supported.
30520         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
30521         envp->__eip if supported.
30522         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
30523         and <dl-procinfo.h>.
30524         (__fesetenv): Always set __eip, __cs_selector, __opcode,
30525         __data_offset and __data_selector in environment to 0.  Set SSE
30526         state if supported.
30527         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
30528         test-fenv-sse.
30529         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
30530         -mfpmath=sse.
30531         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
30533 2014-05-09  Will Newton  <will.newton@linaro.org>
30535         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
30536         and libc_relro_required for ARM.
30537         * sysdeps/arm/preconfigure: Regenerate.
30539 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
30540             Stefan Liebler  <stli@linux.vnet.ibm.com>
30542         * config.make.in (enable-lock-elision): New Makefile variable.
30543         * configure.ac: Likewise.
30544         * configure: Regenerate.
30545         * sysdeps/s390/configure.ac:
30546         Add check for gcc transactions support.
30547         * sysdeps/s390/configure: Regenerate.
30548         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
30549         Build elision files if enabled.
30550         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
30551         Add lock elision support for s390.
30552         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
30553         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
30554         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
30555         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
30556         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
30557         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
30558         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30559         Likewise.
30560         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
30561         Likewise.
30562         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
30563         Likewise.
30564         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
30565         Likewise.
30566         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
30567         (__lll_timedlock_elision, __lll_lock_elision)
30568         (__lll_unlock_elision, __lll_trylock_elision)
30569         (lll_timedlock_elision, lll_lock_elision)
30570         (lll_unlock_elision, lll_trylock_elision): Add.
30571         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30572         (pthread_mutex_t): Add lock elision support for s390.
30574 2014-05-14  Wilco  <wdijkstr@arm.com>
30576         * sysdeps/arm/fclrexcpt.c: Cleanup.
30577         * sysdeps/arm/fedisblxcpt.c: Cleanup.
30578         * sysdeps/arm/feenablxcpt.c: Cleanup.
30579         * sysdeps/arm/fegetenv.c: Cleanup.
30580         * sysdeps/arm/fegetexcept.c: Cleanup.
30581         * sysdeps/arm/fegetround.c: Cleanup.
30582         * sysdeps/arm/feholdexcpt.c: Cleanup.
30583         * sysdeps/arm/fesetenv.c: Cleanup.
30584         * sysdeps/arm/fesetround.c: Cleanup.
30585         * sysdeps/arm/feupdateenv.c: Cleanup.
30586         * sysdeps/arm/fgetexcptflg.c: Cleanup.
30587         * sysdeps/arm/fraiseexcpt.c: Cleanup.
30588         * sysdeps/arm/fsetexcptflg.c: Cleanup.
30589         * sysdeps/arm/ftestexcept.c: Cleanup.
30590         * sysdeps/arm/get-rounding-mode.h: Cleanup.
30591         * sysdeps/arm/setfpucw.c: Cleanup.
30593 2014-05-09  Will Newton  <will.newton@linaro.org>
30595         * sysdeps/arm/armv7/strcmp.S: New file.
30596         * NEWS: Mention addition of ARMv7 optimized strcmp.
30598 2014-05-08  Roland McGrath  <roland@hack.frob.com>
30600         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
30601         look for %.ac rather than %.in.
30603         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
30604         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
30605         * sysdeps/mach/hurd/configure: Regenerated.
30606         * sysdeps/unix/sysv/linux/configure: Regenerated.
30608         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
30610 2014-05-07  Steve Ellcey  <sellcey@mips.com>
30612         [BZ# 16922]
30613         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
30614         (LONG_SUB): Ditto.
30615         (PTR_SUB): Ditto.
30617 2014-05-07  Andreas Schwab  <schwab@suse.de>
30619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30620         when skipping over non-matching result from nscd.
30622 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
30624         [BZ #16876]
30625         * nptl/sockperf.c (client): Check socket return value.
30627         [BZ #16877]
30628         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30629         nscd security class.
30631 2014-05-06  Roland McGrath  <roland@hack.frob.com>
30633         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30634         * sysdeps/arm/unwind.h: ... here.
30636 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
30638         [BZ# 16916]
30639         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30640         Define.
30642 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30644         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30645         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30646         multiarch strncpy for PPC64.
30647         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30648         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30650         multiarch optimizations.
30651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30652         (__libc_ifunc_impl_list): Likewise.
30653         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30654         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30655         multiarch stpncpy for PPC64.
30656         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30657         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30659 2014-05-06  Andreas Schwab  <schwab@suse.de>
30661         [BZ #16912]
30662         * gmon/mcount.c (_MCOUNT_DECL): Use
30663         atomic_compare_and_exchange_bool_acq instead of
30664         catomic_compare_and_exchange_bool_acq.
30666 2014-05-05  Roland McGrath  <roland@hack.frob.com>
30668         * elf/Makefile (others, install-bin): Remove pldd.
30669         (pldd-modules): Variable removed.
30670         ($(objpfx)pldd): Target removed.
30671         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
30672         (others, install-bin): Append pldd here.
30673         ($(objpfx)pldd): New target.
30675         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
30676         to 0, so the first #if test emitted later doesn't see it undefined.
30677         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
30678         * sysdeps/gnu/errlist.c: Regenerated.
30680 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30682         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30683         [libc_hidden_builtin_def]: Define to empty value.
30684         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
30685         [libc_hidden_builtin_def]: Likewise.
30686         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
30687         [libc_hidden_builtin_def]: Likewise.
30688         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
30689         [libc_hidden_builtin_def]: Likewise.
30690         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
30691         __redirect_memcpy and define ifunc as default hidden symbol.
30692         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
30693         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
30695 2014-05-04  Adam Conrad  <adconrad@0c3.net>
30697         * locale/iso-4217.def: Reintroduce XDR currency.
30699 2014-05-04  Allan McRae  <allan@archlinux.org>
30701         * po/eo.po: Update Esperanto translation from translation project.
30703 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
30705         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30706         and FEATURE_INDEX_MAX to 1.
30707         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30709 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30711         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30712         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30713         * iconvdata/big5.c (ONE_DIRECTION): Define.
30714         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30715         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30716         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30717         * iconvdata/cp932.c (ONE_DIRECTION): Define.
30718         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30719         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30720         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30721         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30722         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30723         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30724         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30725         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30726         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30727         * iconvdata/gbk.c (ONE_DIRECTION): Define.
30728         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30729         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30730         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30731         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30732         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30733         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30734         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30735         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30736         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30737         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30738         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30739         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30740         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30741         * iconvdata/iso646.c (ONE_DIRECTION): Define.
30742         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30743         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30744         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30745         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30746         * iconvdata/johab.c (ONE_DIRECTION): Define.
30747         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30748         * iconvdata/sjis.c (ONE_DIRECTION): Define.
30749         * iconvdata/t.61.c (ONE_DIRECTION): Define.
30750         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30751         * iconvdata/tscii.c (ONE_DIRECTION): Define.
30752         * iconvdata/uhc.c (ONE_DIRECTION): Define.
30753         * iconvdata/unicode.c (ONE_DIRECTION): Define.
30754         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30755         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30756         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30758 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30760         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30761         (_IO_JUMPS_OFFSET): Define to 0.
30763         * nptl/sysdeps/pthread/bits/libc-lock.h
30764         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30765         (__libc_lock_define_initialized_recursive): Always define using
30766         initializer.  Modern compilers treat uninitialized (implicit zero) and
30767         explicit zero initializers the same (i.e. put the datum in bss).
30769 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30771         * nscd/nscd-client.h: Include <string.h>.
30773 2014-05-01  David S. Miller  <davem@davemloft.net>
30775         [BZ #16885]
30776         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30777         multiple zero bytes exist at the end of a string.
30778         Reported by Aurelien Jarno <aurelien@aurel32.net>
30780         * string/test-strcmp.c (check): Add explicit test for situations where
30781         there are multiple zero bytes after the first.
30783 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30785         [BZ #16890]
30786         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30787         when compiling wprintf.
30788         * stdio-common/tstdiomisc.c (t3): New function.
30789         (main): Call it.
30791 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30793         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30794         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30795         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30796         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30798 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30800         * stdlib/longlong.h: Updated from GCC.
30802 2014-05-01  Will Newton  <will.newton@linaro.org>
30803             Bernard Ogden  <bernie.ogden@linaro.org>
30805         * NEWS: Update fixed bug list.
30807         [BZ #15119]
30808         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30810 2014-04-30  David S. Miller  <davem@davemloft.net>
30812         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30813         (libc_feholdexcept_setround_sparc_ctx): New function.
30814         (libc_fesetenv_sparc_ctx): Likewise.
30815         (libc_feupdateenv_sparc_ctx): Likewise.
30816         (libc_feholdsetround_sparc_ctx): Likewise.
30817         (libc_feholdexcept_setround_ctx): Define.
30818         (libc_feholdexcept_setroundf_ctx): Likewise.
30819         (libc_feholdexcept_setroundl_ctx): Likewise.
30820         (libc_fesetenv_ctx): Likewise.
30821         (libc_fesetenvf_ctx): Likewise.
30822         (libc_fesetenvl_ctx): Likewise.
30823         (libc_feupdateenv_ctx): Likewise.
30824         (libc_feupdateenvf_ctx): Likewise.
30825         (libc_feupdateenvl_ctx): Likewise.
30826         (libc_feresetround_ctx): Likewise.
30827         (libc_feresetroundf_ctx): Likewise.
30828         (libc_feresetroundl_ctx): Likewise.
30829         (libc_feholdsetround_ctx): Likewise.
30830         (libc_feholdsetroundf_ctx): Likewise.
30831         (libc_feholdsetroundl_ctx): Likewise.
30833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30834         with __USE_GNU instead of XOPEN cpp guards.
30836         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30837         0.
30839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30840         with XOPEN cpp guards.
30842 2014-04-30  Julian Brown  <julian@codesourcery.com>
30844         [BZ #16888]
30845         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30846         handling.
30848 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30850         [BZ #9894]
30851         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30852         Change to 2.6.32.
30853         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30854         * sysdeps/unix/sysv/linux/configure: Regenerated.
30855         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30856         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30857         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30858         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30859         * README: Update reference to required Linux kernel version.
30860         * manual/install.texi (Linux): Update reference to required Linux
30861         kernel headers version.
30862         * INSTALL: Regenerated.
30864         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30865         header inclusion.
30866         [POSIX] (limits.h): Likewise.
30867         [POSIX] (math.h): Likewise.
30868         [POSIX] (sys/wait.h): Likewise.
30869         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30870         function.
30871         [POSIX] (stddef.h): Do not allow header inclusion.
30873 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30875         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30877 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30879         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30880         Return immediately after lll_futex_wake.
30882 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30884         [BZ #16791]
30885         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30886         structure.
30887         (datahead_init_pos): Call datahead_init_common early.
30888         (datahead_init_neg): Likewise.
30890         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30891         datahead_init_neg): New functions.
30892         * nscd/aicache.c (addhstaiX): Use them.
30893         * nscd/grpcache.c (cache_addgr): Likewise.
30894         * nscd/hstcache.c (cache_addhst): Likewise.
30895         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30896         * nscd/netgroupcache.c (do_notfound): Likewise.
30897         (addgetnetgrentX): Likewise.
30898         (addinnetgrX): Likewise.
30899         * nscd/pwdcache.c (cache_addpw): Likewise.
30900         * nscd/servicescache.c (cache_addserv): Likewise.
30902 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30903             Atsushi Onoe  <atsushi@onoe.org>
30905         [BZ #14308]
30906         [BZ #12994]
30907         [BZ #13651]
30908         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30909         one response is valid.
30910         * resolv/res_send.c (send_dg): Check for validity of other
30911         response if the current response is a referral.
30913 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30915         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30917 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30919         [BZ #16823]
30920         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30921         Always divide by positive zero when computing -Inf result.
30922         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30923         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30925 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30927         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30928         FPSCR if value do not change.
30929         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30930         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30931         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30932         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30933         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30934         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30935         function.
30937 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30939         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30940         * sysdeps/unix/sysv/linux/hppa: Move directory from
30941         ports/systeps/unix/sysv/linux/hppa.
30942         * README: Update listing for hppa-*-linux-gnu.
30944 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30946         [BZ #16754]
30947         * manual/stdio.texi (Hook functions): Fix types of stream hook
30948         functions.
30949         [BZ #16854]
30950         * socket/sys/socket.h: Fix typo in comment.
30952 2014-04-28  Wilco  <wdijkstr@arm.com>
30954         * sysdeps/arm/fenv_private.h: New file.
30955         * sysdeps/arm/math_private.h: New file.
30956         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30958 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30960         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30961         with __int128_t.
30962         (La_x86_64_retval): Likewise.
30964 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30966         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30967         fpsr if value didn't change.
30968         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30969         to fpcr if value didn't change.
30970         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30971         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30972         fpsr or fpcr if value didn't change.
30973         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30974         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30975         fpcr if value didn't change.
30976         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30977         to fpsr if value didn't change.
30979 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30981         * nptl/tst-sem3.c: Use test-skeleton.c
30982         (main): Rename to do_test.  Use return instead of
30983         exit.
30984         * nptl/tst-sem4.c: Use test-skeleton.c
30985         (main): Rename to do_test.
30987 2014-04-22  David S. Miller  <davem@davemloft.net>
30989         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30990         (struct sigaction): New struct member __glibc_reserved0, change
30991         type of sa_flags to int.
30993 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30995         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30996         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30998 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31000         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31001         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31003 2014-04-22  Will Newton  <will.newton@linaro.org>
31004             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31006         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31007         (__longjmp): Add longjmp and longjmp_target SystemTap
31008         probes.
31009         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31010         (__sigsetjmp): Add setjmp SystemTap probe.
31012 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31014         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31015         match manual order.
31017 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31019         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31021         * sysdeps/powerpc/fpu/fenv_private.h
31022         (libc_feholdexcept_setroundl_ctx): Define to
31023         libc_feholdexcept_setround_ppc_ctx.
31024         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31025         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31026         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31027         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31029 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31031         * sysdeps/aarch64/math-tests.h: New file.
31033 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31035         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31036         New.
31037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31038         Check and set bit_AVX2_Usable.
31039         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31040         macro.
31041         (bit_AVX2): Likewise.
31042         (index_AVX2_Usable): Likewise.
31043         (CPUID_AVX2): Likewise.
31044         (HAS_AVX2): Likewise.
31046 2014-04-17  Will Newton  <will.newton@linaro.org>
31048         * manual/setjmp.texi (System V contexts): Add note that
31049         calling setcontext on a context created by a call to a
31050         signal handler is undefined.  Update text to note that
31051         setcontext from a signal handler is possible but not
31052         recommended.
31054         [BZ #16629]
31055         * stdlib/tst-setcontext.c: Include signal.h.
31056         (main): Check that the signal stack before and
31057         after swapcontext is the same.
31059         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31060         Re-implement to restore registers in user code and avoid
31061         rt_sigreturn system call.
31063 2014-04-17  Wilco  <wdijkstr@arm.com>
31065         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31066         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31067         * math/test-fenv.c: Skip exception trap tests on targets which only
31068         support non-stop mode.
31070 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31071             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31073         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31074         (libc_feholdsetround_aarch64_ctx)
31075         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31076         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31077         (libc_feresetround_ctx, libc_feresetroundf_ctx)
31078         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31079         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31080         (libc_feresetround_noexl_ctx): Define.
31082 2014-04-16  Richard Henderson  <rth@redhat.com>
31084         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31086         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31087         unwind tables.
31089         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31090         const from the non-libc, non-ldso copy.
31092         * sysdeps/alpha/libm-test-ulps: Regenerate.
31094 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
31095             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31097         * sysdeps/aarch64/fpu/math_private.h: New file.
31099 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31101         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31103 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
31105         [BZ #16275]
31106         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31107         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31108         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31109         Intel MPX bound registers before _dl_profile_fixup.
31110         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31111         registers after _dl_profile_fixup.  Save and restore bound
31112         registers bnd0/bnd1 when calling _dl_call_pltexit.
31113         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31114         (LR_BND_OFFSET): Likewise.
31115         (LRV_BND0_OFFSET): Likewise.
31116         (LRV_BND1_OFFSET): Likewise.
31118 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31120         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31121         to...
31122         * sysdeps/mach/hurd/i386/tls.h: ... here.
31123         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31124         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31125         fields.
31127 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31129         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
31131 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31133         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31135 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31137         [BZ #14770]
31138         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
31139         * sysdeps/s390/configure: Regenerate.
31141         [BZ #16824]
31142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
31143         Set round-to-nearest internally to reduce error accumulation.
31145 2014-04-16  Alan Modra  <amodra@gmail.com>
31147         [BZ #16740]
31148         [BZ #16619]
31149         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
31150         * math/libm-test.inc (frexp_test_data): Add tests.
31151         * NEWS: Update fixed bug list.
31153 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31155         * benchtests/Makefile: Depend on libraries in build directory.
31156         (bench-math): Separate out math tests.
31157         (bench-pthread): Separate out pthread tests.
31158         (bench): Include math and pthread tests.
31160 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
31162         [BZ #16831]
31163         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
31164         _dl_debug_initialize.
31166         * configure.ac: Remove SELinux header check.
31167         * configure: Regenerate.
31168         * nscd/selinux.c (perms): Array of const char* to permission names.
31169         (nscd_request_avc_has_perm): Call security_deny_unknown to find
31170         default policy. Call string_to_security_class and string_to_av_perm to
31171         translate strings. Enforce default policy and call avs_has_perm with
31172         results of translated strings.
31174 2014-04-13  David S. Miller  <davem@davemloft.net>
31176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31178 2014-04-12  Allan McRae  <allan@archlinux.org>
31180         [BZ #16838]
31181         * manual/string.texi (Collation Functions): Fix qsort argument
31182         order in example.
31183         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31185 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
31187         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31188         Make the test a no-op if there are no exceptions defined.
31190 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31192         * elf/Makefile (tests): make tst-dlopen-aout conditional on
31193         enable-hardcoded-path-in-tests
31195 2014-04-11  Will Newton  <will.newton@linaro.org>
31197         * benchtests/Makefile (extra-objs): Add json-lib.o.
31198         (bench-func): Tidy up JSON output.
31199         * benchtests/bench-skeleton.c: Include json-lib.h.
31200         (main): Use JSON library functions to do output of
31201         benchmark results.
31202         * benchtests/bench-timing-type.c (main): Output the
31203         timing type simply, leaving formatting to the user.
31204         * benchtests/json-lib.c: New file.
31205         * benchtests/json-lib.h: Likewise.
31207 2014-04-11  Torvald Riegel  <triegel@redhat.com>
31209         [BZ #15215]
31210         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
31211         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
31212         memory barriers.  Add comments.
31213         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
31214         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
31215         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
31216         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
31217         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
31218         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
31220 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31222         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
31223         * sysdeps/s390/s390-64/configure.ac: ... this ...
31224         * sysdeps/s390/configure.ac: ... to here.
31225         * sysdeps/s390/s390-32/configure: Delete file.
31226         * sysdeps/s390/s390-64/configure: Delete file.
31227         * sysdeps/s390/configure: Regenerate.
31229 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
31231         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
31233 2014-04-11  Will Newton  <will.newton@linaro.org>
31235         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
31236         to zero if it is not defined elsewhere.  (mtrim): Test
31237         the value of MALLOC_DEBUG with #if rather than #ifdef.
31239 2014-04-10 Torvald Riegel  <triegel@redhat.com>
31241         * benchtests/pthread_once-inputs: New file.
31242         * benchtests/pthread_once-source.c: New file.
31243         * benchtests/README: Update documentation.
31245 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31246             H.J. Lu  <hongjiu.lu@intel.com>
31248         [BZ #16275]
31249         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
31250         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
31251         * sysdeps/x86_64/configure: Regenerated.
31252         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
31253         macro.
31254         (REGISTER_SAVE_RAX): Likewise.
31255         (REGISTER_SAVE_RCX): Likewise.
31256         (REGISTER_SAVE_RDX): Likewise.
31257         (REGISTER_SAVE_RSI): Likewise.
31258         (REGISTER_SAVE_RDI): Likewise.
31259         (REGISTER_SAVE_R8): Likewise.
31260         (REGISTER_SAVE_R9): Likewise.
31261         (REGISTER_SAVE_BND0): Likewise.
31262         (REGISTER_SAVE_BND1): Likewise.
31263         (REGISTER_SAVE_BND2): Likewise.
31264         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
31265         bound registers when calling _dl_fixup.
31267 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31269         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
31270         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
31271         of its definition.
31272         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
31273         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
31274         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
31275         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
31276         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
31277         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
31278         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
31280 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
31282         [BZ #15514]
31283         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
31284         pathconf(_PC_NAME_MAX).
31286 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31288         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
31289         Remove macro usage.
31290         (__PTHREAD_SPINS): Move definition to ...
31291         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31292         (__PTHREAD_SPINS): ... here.
31293         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31294         (__PTHREAD_SPIN): Likewise.
31295         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
31296         (__PTHREAD_SPIN): Likewise.
31297         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
31298         (__PTHREAD_SPIN): Likewise.
31299         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
31300         (__PTHREAD_SPIN): Likewise.
31301         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31302         (__PTHREAD_SPIN): Likewise.
31303         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31304         (__PTHREAD_SPIN): Likewise.
31305         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
31306         (__PTHREAD_SPIN): Likewise.
31307         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31308         (__PTHREAD_SPIN): Likewise.
31309         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31310         (__PTHREAD_SPIN): Likewise.
31311         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31312         (__PTHREAD_SPIN): Likewise.
31313         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31314         (__PTHREAD_SPIN): Likewise.
31315         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
31316         (__PTHREAD_SPIN): Likewise.
31318         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
31319         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
31320         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
31321         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
31322         imply folder.
31323         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
31324         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
31325         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
31326         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
31327         correct imply path.
31328         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
31329         strlen symbol for non multi-arch builds.
31330         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
31331         missing hidden_def and weak_alias.
31333 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
31335         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
31337 2014-04-07  Will Newton  <will.newton@linaro.org>
31339         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
31340         and contents.  [!_LIBC] Remove #ifndef and contents.
31341         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
31342         * string/memccpy.c (__memccpy): Use ANSI prototype.
31343         * string/memfrob.c (memfrob): Likewise.
31344         * string/strcoll.c (STRCOLL): Likewise.
31345         * string/strlen.c (strlen): Likewise.
31346         * string/strtok.c (STRTOK): Likewise.
31347         * string/strcat.c: Remove unused #include of memcopy.h.
31348         (strcat): Use ANSI prototype.
31349         * string/strchr.c: Remove unused #include of memcopy.h.
31350         (strchr): Use ANSI prototype.
31351         * string/strcmp.c: Remove unused #include of memcopy.h.
31352         (strcmp): Use ANSI prototype.
31353         * string/strcpy.c: Remove unused #include of memcopy.h.
31354         (strcpy): Use ANSI prototype.
31356 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31358         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
31359         * config.make.in (config-extra-cppflags): Set it from
31360         libc_extra_cppflags.
31361         * configure.ac (libc_extra_cflags): Make it accumulate over
31362         configure fragments.
31363         (libc_extra_cppflags): New flag.
31364         * configure. Regenerate.
31365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31366         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
31367         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
31368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
31370         [BZ #16815]
31371         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
31372         result for FE_DOWNWARD rounding mode.
31373         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
31374         Likewise.
31375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31377 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
31379         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
31380         in function argument name.
31382 2014-04-03  David Svoboda  <svoboda@cert.org>
31384         [BZ #5666]
31385         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
31386         explicitly.
31388 2014-04-03  Roland McGrath  <roland@hack.frob.com>
31390         * elf/dl-unmap-segments.h: New file.
31391         * sysdeps/generic/ldsodefs.h
31392         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
31393         * elf/dl-close.c: Include <dl-unmap-segments.h>.
31394         * elf/dl-fptr.c: Likewise.
31395         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
31396         * sysdeps/aarch64/tlsdesc.c: Likewise.
31397         * sysdeps/arm/tlsdesc.c: Likewise.
31398         * sysdeps/i386/tlsdesc.c: Likewise.
31399         * sysdeps/tile/dl-runtime.c: Likewise.
31400         * sysdeps/x86_64/tlsdesc.c: Likewise.
31401         * elf/dl-load.h: New file.
31402         * elf/dl-load.c: Include it.
31403         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
31404         Macros moved to dl-load.h.
31405         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
31406         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
31407         Use _dl_unmap_segments in place of __munmap.
31408         Break out segment-mapping loop into ...
31409         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
31411 2014-04-03  Will Newton  <will.newton@linaro.org>
31413         * elf/dl-lookup.c (do_lookup_x): Remove comment
31414         referring to nested function and move variable
31415         declarations down to before first use.
31417 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
31419         [BZ #16799]
31420         [BZ #16800]
31421         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
31422         with 0 numerator.
31423         * math/s_catanf.c (__catanf): Likewise.
31424         * math/s_catanh.c (__catanh): Likewise.
31425         * math/s_catanhf.c (__catanhf): Likewise.
31426         * math/s_catanhl.c (__catanhl): Likewise.
31427         * math/s_catanl.c (__catanl): Likewise.
31428         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
31429         by positive zero when computing -Inf result.
31430         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
31431         (catanh_test): Likewise.
31432         * sysdeps/i386/fpu/libm-test-ulps: Update.
31433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31435         [BZ #16789]
31436         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
31437         instead of using underflowing value in computing result.
31438         * math/s_clog10.c (__clog10): Likewise.
31439         * math/s_clog10f.c (__clog10f): Likewise.
31440         * math/s_clog10l.c (__clog10l): Likewise.
31441         * math/s_clogf.c (__clogf): Likewise.
31442         * math/s_clogl.c (__clogl): Likewise.
31443         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
31444         (clog10_test): Likewise.
31445         * sysdeps/i386/fpu/libm-test-ulps: Update.
31446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31448 2014-04-02  Alan Modra  <amodra@gmail.com>
31450         [BZ #16739]
31451         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
31452         output when value is near a power of two.  Use int64_t for lx and
31453         remove casts.  Use decimal rather than hex exponent constants.
31454         Don't use long double multiplication when double will suffice.
31455         * math/libm-test.inc (nextafter_test_data): Add tests.
31456         * NEWS: Add 16739 and 16786 to bug list.
31458         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
31460         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
31462 2014-04-01  Will Newton  <will.newton@linaro.org>
31464         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
31465         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
31467 2014-04-01  Florian Weimer  <fweimer@redhat.com>
31469         [BZ #13347]
31470         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
31471         * nptl/tst-setuid2.c: New file.
31472         * nptl/Makefile (xtests): Add tst-setuid2.
31474 2014-04-01  Alan Modra  <amodra@gmail.com>
31476         [BZ #16786]
31477         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
31479 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31481         [BZ #6803]
31482         [BZ #6804]
31483         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
31484         set errno as appropriate.
31485         * math/w_scalbf.c (__scalbf): Likewise.
31486         * math/w_scalbl.c (__scalbl): Likewise.
31487         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
31488         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
31489         * math/libm-test.inc (scalb_test_data): Add errno expectations.
31490         Add more NaN tests.
31492         [BZ #16349]
31493         * math/w_atan2.c: Include <errno.h>.
31494         (__atan2): Set errno for result underflowing to zero.
31495         * math/w_atan2f.c: Include <errno.h>.
31496         (__atan2f): Set errno for result underflowing to zero.
31497         * math/w_atan2l.c: Include <errno.h>.
31498         (__atan2l): Set errno for result underflowing to zero.
31499         * math/auto-libm-test-in: Don't allow missing errno for some atan2
31500         tests.
31501         * math/auto-libm-test-out: Regenerated.
31503 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31505         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31506         Encode instruction correctly in little endian.
31507         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31508         Likewise.
31509         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31510         Likewise.
31511         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31512         Likewise.
31513         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31514         Likewise.
31516 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31518         [BZ #9894]
31519         * sysdeps/unix/sysv/linux/kernel-features.h
31520         [__sparc__ && !__arch64__ && !__sparc_v9__]
31521         (__ASSUME_SET_ROBUST_LIST): Do not define.
31522         [__sparc__ && !__arch64__ && !__sparc_v9__]
31523         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31524         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
31525         Likewise.
31526         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31527         (__ASSUME_FUTEX_LOCK_PI): Undefine.
31528         (__ASSUME_REQUEUE_PI): Likewise.
31529         (__ASSUME_SET_ROBUST_LIST): Likewise.
31530         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31531         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
31532         Undefine.
31533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31534         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
31535         Likewise.
31536         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
31537         Likewise.
31538         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
31539         Likewise.
31540         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31541         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
31542         Undefine.
31543         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
31544         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
31545         Likewise.
31547         [BZ #16648]
31548         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31549         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
31550         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
31552 2014-03-31  Will Newton  <will.newton@linaro.org>
31554         * benchtests/Makefile (bench): Add ffs and ffsll to list
31555         of tests.
31556         * benchtests/ffs-inputs: New file.
31557         * benchtests/ffsll-inputs: Likewise.
31559 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
31561         [BZ #16770]
31562         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
31563         too large before casting to int.
31564         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
31565         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
31566         * math/libm-test.inc (scalb_test_data): Add more tests.
31568 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31570         * benchtests/Makefile (DETAILED_OPT): New make option.
31571         (bench-func): Run benchmark program with -d if DETAILED_OPT is
31572         set.
31573         * benchtests/bench-skeleton.c: Include stdbool.h.
31574         (main): Store and print timings per input.
31575         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
31576         member to each argument value.
31577         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
31578         (_print_arg_data): Initialize per-input timing to 0.
31580         * benchtests/Makefile (timing-type): New binary.
31581         (bench-clean): Also remove bench-timing-type.
31582         (bench): New target for timing-type.
31583         (bench-func): Print output in JSON format.
31584         * benchtests/bench-skeleton.c (main): Print output in JSON
31585         format.
31586         * benchtests/bench-timing-type.c: New file.
31587         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
31588         (TIMING_PRINT_STATS): Remove.
31589         * benchtests/scripts/bench.py (_print_arg_data): Store variant
31590         name separately.
31592         * benchtests/bench-modf.c: Remove.
31593         * benchtests/modf-inputs: New inputs file.
31595 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
31597         [BZ #16362]
31598         * math/s_clog10.c (M_PI_LOG10E): New macro.
31599         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
31600         imaginary parts are 0.
31601         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
31602         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
31603         imaginary parts are 0.
31604         * math/s_clog10l.c (M_PI_LOG10El): New macro.
31605         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
31606         imaginary parts are 0.
31607         * math/libm-test.inc (clog10_test_data): Update expected results
31608         for when real and imaginary parts are 0.
31610 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
31612         * elf/dl-load.c: Finish conversion of __builtin_expect into
31613         __glibc_{un}likely.
31615 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
31617         [BZ #16348]
31618         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31619         1+x for argument with exponent below -67.
31620         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31621         Likewise.
31622         * math/auto-libm-test-in: Add more tests of exp.
31623         * math/auto-libm-test-out: Regenerated.
31625 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31627         [BZ #16759]
31628         * inet/getnetgrent_r.c (get_nonempty_val): New function.
31629         (nscd_getnetgrent): Use it.
31631         [BZ #16760]
31632         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31633         of stpcpy.
31635 2014-03-27  Andi Kleen  <ak@linux.intel.com>
31637         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31638         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31639         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31640         (lll_robust_unlock): Remove out of line section. Use cfi
31641         intrinsics.
31642         (LLL_STUB_UNWIND_INFO*): Remove.
31643         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31644         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31645         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31646         (lll_robust_unlock): Remove out of line section. Use cfi
31647         intrinsics.
31648         (LLL_STUB_UNWIND_INFO*): Remove.
31650 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31652         [BZ #16758]
31653         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31654         blank values.
31656 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
31658         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31660 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
31662         [BZ #16198]
31663         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
31664         fnstenv.
31665         * math/test-fenv-preserve.c: New file.
31666         * math/Makefile (tests): Add test-fenv-preserve.
31668 2014-03-26  Will Newton <will.newton@linaro.org>
31670         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
31672 2014-03-25  Roland McGrath  <roland@hack.frob.com>
31674         * scripts/versionlist.awk: Partition the version sets and emit all
31675         GLIBC_* (sorted) before all others (sorted).
31677 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31679         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
31680         GLIBC_2.2.5 version.
31682 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31684         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
31685         calls.
31687         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31688         previous change.
31690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31692 2014-03-25  Andreas Schwab  <schwab@suse.de>
31694         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
31695         label to be used after in6ailist is initialized.
31697 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31699         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31700         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31702 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31704         [BZ #16357]
31705         [BZ #16599]
31706         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31707         min_plus_half.
31708         (fp_formats): Update initializers.
31709         (init_fp_formats): Initialize new field.
31710         (output_for_one_input_case): Allow underflow for results up to
31711         min_plus_half.
31712         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31713         * math/auto-libm-test-in: Don't mark some underflows from asin and
31714         atanh as spurious.
31715         * math/auto-libm-test-out: Regenerated.
31716         * sysdeps/i386/fpu/libm-test-ulps: Update.
31717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31719 2014-03-25  Andreas Schwab  <schwab@suse.de>
31721         * libio/Makefile (tst-ftell-partial-wide-ENV)
31722         (tst-ftell-active-handler-ENV): Define.
31724 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
31726         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31728 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31730         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31732 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31734         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31735         * sysdeps/x86_64/fpu/multiarch/e_exp.c
31736         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31738 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31740         [BZ #16634]
31741         * elf/dl-load.c (open_verify): Add mode parameter.
31742         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31743         (open_path): Change from boolean 'secure' to complete flag 'mode'
31744         (_dl_map_object): Adjust.
31745         * elf/Makefile (tests): Add tst-dlopen-aout.
31746         * elf/tst-dlopen-aout.c: New test.
31748 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
31750         [BZ #16714]
31751         * sysdeps/unix/sysv/linux/s390/bits/stat.h
31752         (struct stat): Rename member pad0 to __glibc_reserved0.
31754         [BZ #16712]
31755         * sysdeps/s390/s390-32/bits/wordsize.h
31756         (__WORDSIZE32_SIZE_ULONG): New define.
31757         * sysdeps/s390/s390-64/bits/wordsize.h
31758         (__WORDSIZE32_SIZE_ULONG): Likewise.
31759         * sysdeps/generic/stdint.h (SIZE_MAX):
31760         Define as UL if __WORDSIZE32_SIZE_ULONG.
31762         [BZ #16713]
31763         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31764         (__glibc_reserved0): New variable.
31765         (sa_flags): Change type to int.
31767         * posix/Makefile (before-compile): Use += before-compile instead
31768         of a :=.
31770         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31771         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31773 2014-03-20  Andreas Schwab  <schwab@suse.de>
31775         [BZ #16743]
31776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31777         non-matching result from nscd.
31779 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31781         * scripts/bench.py: Moved to ...
31782         * benchtests/scripts/bench.py: ... here.
31783         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31785 2014-03-24  Andreas Schwab  <schwab@suse.de>
31787         [BZ #16002]
31788         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31789         alloca_account and account alloca use for struct in6ailist.
31791 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31793         [BZ #16284]
31794         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31795         rounding mode to recompute results that overflow to infinity or
31796         underflow to zero.
31797         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31798         bug 16284.
31799         * math/auto-libm-test-out: Regenerated.
31800         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31801         (ccosh_test): Likewise.
31802         (csin_test_data): Use plus_oflow.
31803         (csin_test): Use ALL_RM_TEST.
31804         (csinh_test_data): Use plus_oflow.
31805         (csinh_test): Use ALL_RM_TEST.
31806         * sysdeps/i386/fpu/libm-test-ulps: Update.
31807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31809 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31811         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31812         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31813         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31815         [BZ #16731]
31816         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31817         when x - 1 is zero.
31818         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31819         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31820         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31821         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31822         argument is 1.
31823         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31824         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31825         zero.
31826         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31827         * sysdeps/i386/fpu/libm-test-ulps: Update.
31828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31830 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31832         * scripts/bench.pl: Remove file.
31833         * scripts/bench.py: New benchmark script.
31834         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31835         * benchtests/README: Mention python dependency.
31836         * scripts/pylintrc: New file.
31837         * scripts/pylint: New file.
31839         * bits/mathdef.h: Use #ifdef instead of #if.
31840         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31841         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31842         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31843         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31844         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31845         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31847 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31848             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31850         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31852         and strpbrk-ppc64 objects.
31853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31854         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31855         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31856         multiarch strpbrk for POWER7.
31857         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31858         multiarch strpbrk for PPC64.
31859         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31860         ifunc selector.
31861         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31862         strpbrk for POWER7.
31864 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31866         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31867         (atan_test): Likewise.
31868         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31869         (atanh_test): Use ALL_RM_TEST.
31870         (atan2_test_data): Likewise.
31871         (cabs_test): Likewise.
31872         (cacosh_test): Likewise.
31873         (carg_test): Likewise.
31874         (casin_test): Likewise.
31875         (casinh_test): Likewise.
31876         (cbrt_test): Likewise.
31877         (csqrt_test): Likewise.
31878         (erf_test): Likewise.
31879         (erfc_test): Likewise.
31880         (pow10_test): Likewise.
31881         (exp2_test): Likewise.
31882         (hypot_test): Likewise.
31883         (j0_test): Likewise.
31884         (j1_test): Likewise.
31885         (lgamma_test): Likewise.
31886         (gamma_test): Likewise.
31887         (sincos_test): Likewise.
31888         (tanh_test): Likewise.
31889         (y0_test): Likewise.
31890         (y1_test): Likewise.
31891         * sysdeps/i386/fpu/libm-test-ulps: Update.
31892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31894 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31896         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31898         and strcspn-ppc64 objects.
31899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31900         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31901         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31902         multiarch strcspn for POWER7.
31903         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31904         multiarch strcspn for PPC64.
31905         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31906         ifunc selector.
31907         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31908         strcspn for POWER7.
31910 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31912         * math/gen-libm-test.pl (generate_testfile): Expect only function
31913         name as argument to AUTO_TESTS_* and pass results for all rounding
31914         modes to parse_args.
31915         (parse_auto_input): Separate inputs of automatic tests from
31916         outputs before storing in %auto_tests.
31917         * math/libm-test.inc (acos_test_data): Update call to
31918         AUTO_TESTS_f_f.
31919         (acos_test): Use ALL_RM_TEST.
31920         (acos_tonearest_test_data): Remove.
31921         (acos_test_tonearest): Likewise.
31922         (acos_towardzero_test_data): Likewise.
31923         (acos_test_towardzero): Likewise.
31924         (acos_downward_test_data): Likewise.
31925         (acos_test_downward): Likewise.
31926         (acos_upward_test_data): Likewise.
31927         (acos_test_upward): Likewise.
31928         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31929         (asin_test_data): Likewise.
31930         (asin_test): Use ALL_RM_TEST.
31931         (asin_tonearest_test_data): Remove.
31932         (asin_test_tonearest): Likewise.
31933         (asin_towardzero_test_data): Likewise.
31934         (asin_test_towardzero): Likewise.
31935         (asin_downward_test_data): Likewise.
31936         (asin_test_downward): Likewise.
31937         (asin_upward_test_data): Likewise.
31938         (asin_test_upward): Likewise.
31939         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31940         (atan_test_data): Likewise.
31941         (atanh_test_data): Likewise.
31942         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31943         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31944         (carg_test_data): Likewise.
31945         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31946         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31947         (ccosh_test_data): Likewise.
31948         (cexp_test_data): Likewise.
31949         (clog_test_data): Likewise.
31950         (clog10_test_data): Likewise.
31951         (cos_test_data): Update call to AUTO_TESTS_f_f.
31952         (cos_test): Use ALL_RM_TEST.
31953         (cos_tonearest_test_data): Remove.
31954         (cos_test_tonearest): Likewise.
31955         (cos_towardzero_test_data): Likewise.
31956         (cos_test_towardzero): Likewise.
31957         (cos_downward_test_data): Likewise.
31958         (cos_test_downward): Likewise.
31959         (cos_upward_test_data): Likewise.
31960         (cos_test_upward): Likewise.
31961         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31962         (cosh_test): Use ALL_RM_TEST.
31963         (cosh_tonearest_test_data): Remove.
31964         (cosh_test_tonearest): Likewise.
31965         (cosh_towardzero_test_data): Likewise.
31966         (cosh_test_towardzero): Likewise.
31967         (cosh_downward_test_data): Likewise.
31968         (cosh_test_downward): Likewise.
31969         (cosh_upward_test_data): Likewise.
31970         (cosh_test_upward): Likewise.
31971         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31972         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31973         (ctan_test_data): Likewise.
31974         (ctan_test): Use ALL_RM_TEST.
31975         (ctan_tonearest_test_data): Remove.
31976         (ctan_test_tonearest): Likewise.
31977         (ctan_towardzero_test_data): Likewise.
31978         (ctan_test_towardzero): Likewise.
31979         (ctan_downward_test_data): Likewise.
31980         (ctan_test_downward): Likewise.
31981         (ctan_upward_test_data): Likewise.
31982         (ctan_test_upward): Likewise.
31983         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31984         (ctanh_test): Use ALL_RM_TEST.
31985         (ctanh_tonearest_test_data): Remove.
31986         (ctanh_test_tonearest): Likewise.
31987         (ctanh_towardzero_test_data): Likewise.
31988         (ctanh_test_towardzero): Likewise.
31989         (ctanh_downward_test_data): Likewise.
31990         (ctanh_test_downward): Likewise.
31991         (ctanh_upward_test_data): Likewise.
31992         (ctanh_test_upward): Likewise.
31993         (erf_test_data): Update call to AUTO_TESTS_f_f.
31994         (erfc_test_data): Likewise.
31995         (exp_test_data): Likewise.
31996         (exp_test): Use ALL_RM_TEST.
31997         (exp_tonearest_test_data): Remove.
31998         (exp_test_tonearest): Likewise.
31999         (exp_towardzero_test_data): Likewise.
32000         (exp_test_towardzero): Likewise.
32001         (exp_downward_test_data): Likewise.
32002         (exp_test_downward): Likewise.
32003         (exp_upward_test_data): Likewise.
32004         (exp_test_upward): Likewise.
32005         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32006         (exp10_test): Use ALL_RM_TEST.
32007         (exp10_tonearest_test_data): Remove.
32008         (exp10_test_tonearest): Likewise.
32009         (exp10_towardzero_test_data): Likewise.
32010         (exp10_test_towardzero): Likewise.
32011         (exp10_downward_test_data): Likewise.
32012         (exp10_test_downward): Likewise.
32013         (exp10_upward_test_data): Likewise.
32014         (exp10_test_upward): Likewise.
32015         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32016         (expm1_test_data): Likewise.
32017         (expm1_test): Use ALL_RM_TEST.
32018         (expm1_tonearest_test_data): Remove.
32019         (expm1_test_tonearest): Likewise.
32020         (expm1_towardzero_test_data): Likewise.
32021         (expm1_test_towardzero): Likewise.
32022         (expm1_downward_test_data): Likewise.
32023         (expm1_test_downward): Likewise.
32024         (expm1_upward_test_data): Likewise.
32025         (expm1_test_upward): Likewise.
32026         (fma_test_data): Update call to AUTO_TESTS_fff_f.
32027         (fma_test): Use ALL_RM_TEST.
32028         (fma_towardzero_test_data): Remove.
32029         (fma_test_towardzero): Likewise.
32030         (fma_downward_test_data): Likewise.
32031         (fma_test_downward): Likewise.
32032         (fma_upward_test_data): Likewise.
32033         (fma_test_upward): Likewise.
32034         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32035         (j0_test_data): Update call to AUTO_TESTS_f_f.
32036         (j1_test_data): Likewise.
32037         (jn_test_data): Update call to AUTO_TESTS_if_f.
32038         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32039         (log_test_data): Update call to AUTO_TESTS_f_f.
32040         (log10_test_data): Likewise.
32041         (log1p_test_data): Likewise.
32042         (log2_test_data): Likewise.
32043         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32044         (pow_tonearest_test_data): Likewise.
32045         (sin_test_data): Update call to AUTO_TESTS_f_f.
32046         (sin_test): Use ALL_RM_TEST.
32047         (sin_tonearest_test_data): Remove.
32048         (sin_test_tonearest): Likewise.
32049         (sin_towardzero_test_data): Likewise.
32050         (sin_test_towardzero): Likewise.
32051         (sin_downward_test_data): Likewise.
32052         (sin_test_downward): Likewise.
32053         (sin_upward_test_data): Likewise.
32054         (sin_test_upward): Likewise.
32055         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32056         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32057         (sinh_test): Use ALL_RM_TEST.
32058         (sinh_tonearest_test_data): Remove.
32059         (sinh_test_tonearest): Likewise.
32060         (sinh_towardzero_test_data): Likewise.
32061         (sinh_test_towardzero): Likewise.
32062         (sinh_downward_test_data): Likewise.
32063         (sinh_test_downward): Likewise.
32064         (sinh_upward_test_data): Likewise.
32065         (sinh_test_upward): Likewise.
32066         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32067         (sqrt_test): Use ALL_RM_TEST.
32068         (sqrt_tonearest_test_data): Remove.
32069         (sqrt_test_tonearest): Likewise.
32070         (sqrt_towardzero_test_data): Likewise.
32071         (sqrt_test_towardzero): Likewise.
32072         (sqrt_downward_test_data): Likewise.
32073         (sqrt_test_downward): Likewise.
32074         (sqrt_upward_test_data): Likewise.
32075         (sqrt_test_upward): Likewise.
32076         (tan_test_data): Update call to AUTO_TESTS_f_f.
32077         (tan_test): Use ALL_RM_TEST.
32078         (tan_tonearest_test_data): Remove.
32079         (tan_test_tonearest): Likewise.
32080         (tan_towardzero_test_data): Likewise.
32081         (tan_test_towardzero): Likewise.
32082         (tan_downward_test_data): Likewise.
32083         (tan_test_downward): Likewise.
32084         (tan_upward_test_data): Likewise.
32085         (tan_test_upward): Likewise.
32086         (tanh_test_data): Update call to AUTO_TESTS_f_f.
32087         (tgamma_test_data): Likewise.
32088         (y0_test_data): Likewise.
32089         (y1_test_data): Likewise.
32090         (yn_test_data): Update call to AUTO_TESTS_if_f.
32091         (main): Do not call removed functions.
32093 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32095         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32096         (ldexp_test_data): Remove.
32097         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
32098         scalbn_test_data.
32099         (scalb_test): Use ALL_RM_TEST.
32101 2014-03-19  Andreas Schwab  <schwab@suse.de>
32103         * nscd/nscd.service: Also invalidate netgroup cache on reload.
32105 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32107         [BZ #16649]
32108         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32110         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32111         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32112         (__ASSUME_PREADV): Undefine.
32113         (__ASSUME_PWRITEV): Likewise.
32115 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32117         * bits/mman-linux.h: Add comment about non-Linux use.
32118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32119         bits/mman-linux.h resting place.
32121         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32122         * bits/mman-linux.h: ... here.
32124 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32126         * conform/conformtest.pl: Add standard definition when calling C
32127         preprocessor on data files.
32128         (checknamespace): Remove unused variable.
32130 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32132         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
32133         minus_oflow, plus_uflow and minus_uflow in expected results.
32134         * math/libm-test.inc (scalbn_test_data): Add more tests of
32135         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
32136         minus_uflow.
32137         (scalbn_test): Use ALL_RM_TEST.
32138         (scalbln_test_data): Add more tests of negative arguments.  Use
32139         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
32140         (scalbln_test): Use ALL_RM_TEST.
32142 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32144         * scripts/abilist.awk: Ignore symbols marked with .hidden.
32146 2014-03-18  Will Newton  <will.newton@linaro.org>
32148         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
32149         inaccurate comment.
32151 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32153         * Makerules [!subdir] (check-abi): Exit with error status if a
32154         test failed.
32156 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32158         * math/libm-test.inc (nearbyint_test_data): Include all tests used
32159         for rint.  Include results for all rounding modes.
32160         (nearbyint_test): Use ALL_RM_TEST.
32161         (rint_test_data): Include all tests used for nearbyint.
32163 2014-03-17  Will Newton  <will.newton@linaro.org>
32165         * nptl/sysdeps/pthread/pthread.h: Revert previous
32166         change.
32168         * sysdeps/generic/ldsodefs.h: Revert previous
32169         change.
32171         * libio/genops.c: Revert previous change.
32172         * libio/libioP.h: Likewise.
32173         * stdio-common/vfprintf.c: Likewise.
32175         * sysdeps/generic/math_private.h: Revert previous
32176         change.
32178         * sysdeps/generic/math_private.h: Check whether
32179         HAVE_RM_CTX is defined with #ifdef rather
32180         than #if.
32182         * argp/argp-fmtstream.h: Check whether
32183         __STRICT_ANSI__ is defined with #ifdef rather
32184         than #if.
32185         * argp/argp.h: Likewise.
32187         * libio/genops.c: Check whether
32188         _IO_JUMPS_OFFSET is defined with #ifdef rather
32189         than #if.
32190         * libio/libioP.h: Likewise.
32191         * stdio-common/vfprintf.c: Likewise.
32193         * sysdeps/generic/ldsodefs.h: Check whether
32194         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
32195         than #if.
32197         * nptl/sysdeps/pthread/pthread.h: Check
32198         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
32199         its value.
32201 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32203         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
32204         setting O_APPEND.
32205         * libio/tst-ftell-active-handler.c (do_append_test): Add a
32206         test case.
32208         [BZ #16680]
32209         * libio/fileops.c (_IO_file_open): Seek to end of file but
32210         don't cache the offset.
32211         (get_file_offset): Remove function.
32212         (do_ftell): Use cached offset when available.
32213         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
32214         don't cache the offset.
32215         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
32216         case.
32217         (do_one_test): Call it.
32218         (do_ftell_test): Fix up expected old offset for a+ mode.
32219         * libio/wfileops.c (do_ftell_wide): Used cached offset when
32220         available.
32222         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
32223         up test status with function return status.
32224         (do_write_test): Likewise.
32225         (do_append_test): Likewise.
32227         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
32228         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
32229         Remove.
32231 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32233         * math/gen-libm-test.pl (parse_args): Handle results specified for
32234         each rounding mode separately.
32235         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
32236         tests and results from lrint_tonearest_test_data,
32237         lrint_towardzero_test_data, lrint_downward_test_data and
32238         lrint_upward_test_data.
32239         (lrint_test): Use ALL_RM_TEST.
32240         (lrint_tonearest_test_data): Remove.
32241         (lrint_test_tonearest): Likewise.
32242         (lrint_towardzero_test_data): Likewise.
32243         (lrint_test_towardzero): Likewise.
32244         (lrint_downward_test_data): Likewise.
32245         (lrint_test_downward): Likewise.
32246         (lrint_upward_test_data): Likewise.
32247         (lrint_test_upward): Likewise.
32248         (llrint_test_data): Merge in per-rounding-mode tests and results
32249         from llrint_tonearest_test_data, llrint_towardzero_test_data,
32250         llrint_downward_test_data and llrint_upward_test_data.
32251         (llrint_test): Use ALL_RM_TEST.
32252         (llrint_tonearest_test_data): Remove.
32253         (llrint_test_tonearest): Likewise.
32254         (llrint_towardzero_test_data): Likewise.
32255         (llrint_test_towardzero): Likewise.
32256         (llrint_downward_test_data): Likewise.
32257         (llrint_test_downward): Likewise.
32258         (llrint_upward_test_data): Likewise.
32259         (llrint_test_upward): Likewise.
32260         (rint_test_data): Merge in per-rounding-mode tests and results
32261         from rint_tonearest_test_data, rint_towardzero_test_data,
32262         rint_downward_test_data and rint_upward_test_data.  Add
32263         per-rounding-mode results for tests not in those arrays.
32264         (rint_test): Use ALL_RM_TEST.
32265         (rint_tonearest_test_data): Remove.
32266         (rint_test_tonearest): Likewise.
32267         (rint_towardzero_test_data): Likewise.
32268         (rint_test_towardzero): Likewise.
32269         (rint_downward_test_data): Likewise.
32270         (rint_test_downward): Likewise.
32271         (rint_upward_test_data): Likewise.
32272         (rint_test_upward): Likewise.
32273         (main): Don't call removed functions.
32275 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32277         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
32278         "Compiled on ..." crapola.  It is anti-useful.
32280 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
32282         * scripts/evaluate-test.sh: Handle fourth argument to determine
32283         whether test run should stop on failure.
32284         * Makeconfig (stop-on-test-failure): New variable.
32285         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
32286         $(stop-on-test-failure).
32287         * Makefile (tests): Give a summary of results from testing and
32288         exit with failure status if they include an ERROR or FAIL.
32289         (xtests): Likewise.
32290         * manual/install.texi (Configuring and compiling): Mention
32291         stop-on-test-failure=y.
32292         * INSTALL: Regenerated.
32294 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32296         * scripts/versionlist.awk: New file.
32297         * Makerules [$(build-shared) = yes]
32298         (postclean-generated): Add Versions.def, not Versions.def.v and
32299         Versions.def.v.i.
32300         ($(common-objpfx)Versions.def.v.i): Target removed.
32301         ($(common-objpfx)Versions.def): New target.
32302         ($(common-objpfx)Versions.all): Depend on that rather that
32303         $(common-objpfx)Versions.def.v.
32304         * Versions.def: File removed.
32306         * Makeconfig (+gccwarn): Add -Wundef.
32307         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
32308         a dl-sysdep.h breaking its contract.
32309         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
32310         * include/stackinfo.h: New file.
32311         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
32312         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
32313         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
32314         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
32315         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
32316         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
32317         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32318         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32319         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32320         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32321         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32322         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
32323         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32324         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32325         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32327 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32329         [BZ #16707]
32330         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
32331         implementation.
32332         * math/libm-test.inc (round_test_data): Add more tests.
32334         [BZ #16706]
32335         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
32336         implementation.
32337         * math/libm-test.inc (nearbyint_test_data): Add more tests.
32339         [BZ #16701]
32340         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
32341         implementation.
32342         * math/libm-test.inc (ceil_test_data): Add more tests.
32344         * math/libm-test.inc (trunc_test_data): Add more tests related to
32345         BZ#16414.
32347 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32349         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
32350         with #if rather than #ifdef.
32351         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
32353 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
32355         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
32356         first.  Disable AVX-512 GCC support if assembler doesn't support
32357         it.
32358         * sysdeps/x86_64/configure: Regenerated.
32360 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
32362         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
32363         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
32364         (__old_pthread_attr_setstack): Likewise.
32365         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
32366         [!_STACK_GROWS_DOWN]: Likewise.
32368 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
32370         * config.make.in (have-bash2): Delete.
32371         * configure.ac (libc_cv_have_bash2): Delete.
32372         * configure: Regenerate.
32373         * elf/Makefile (common-ldd-rewrite): Rename to ...
32374         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
32375         (sh-ldd-rewrite): Delete.
32376         (bash-ldd-rewrite): Delete.
32377         (have-bash2): Delete checks.
32378         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
32379         ldd-rewrite.
32381         * config.make.in (have-ksh): Delete.
32382         (KSH): Delete.
32383         * configure.ac (libc_cv_have_ksh): Delete.
32384         * configure: Regenerate.
32386         * elf/Makefile: Delete $(have-ksh) check.
32387         ($(objpfx)sotruss): Change KSH to BASH.
32388         * elf/sotruss.ksh: Rename to ...
32389         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
32390         function style to match POSIX.  Drop ksh vim mode setting.
32392         * manual/time.texi (Specifying the Time Zone with TZ): Change
32393         Tuesday to Thursday.
32395         * debug/tst-longjmp_chk2.c: Update header comment.
32396         (stackoverflow_handler): Add comment.  Call assert on pass value.
32398 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
32400         [BZ #16194]
32401         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
32402         (HAVE_AVX512_ASM_SUPPORT): Likewise.
32403         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
32404         (La_x86_64_vector): Add zmm.
32405         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
32406         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
32407         ($(objpfx)tst-audit10): New target.
32408         ($(objpfx)tst-audit10.out): Likewise.
32409         (tst-audit10-ENV): New.
32410         (AVX512-CFLAGS): Likewise.
32411         (CFLAGS-tst-audit10.c): Likewise.
32412         (CFLAGS-tst-auditmod10a.c): Likewise.
32413         (CFLAGS-tst-auditmod10b.c): Likewise.
32414         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
32415         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
32416         * sysdeps/x86_64/configure: Regenerated.
32417         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
32418         AVX-512 zmm register support.
32419         (_dl_x86_64_save_sse): Likewise.
32420         (_dl_x86_64_restore_sse): Likewise.
32421         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
32422         size vector registers.
32423         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
32424         (ZMM_SIZE): Likewise.
32425         * sysdeps/x86_64/tst-audit10.c: New file.
32426         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
32427         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
32429 2014-03-13  Roland McGrath  <roland@hack.frob.com>
32431         * configure.ac (HAVE_EHDR_START): New check.
32432         * configure: Regenerated.
32433         * config.h.in (HAVE_EHDR_START): New #undef.
32434         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
32435         assuming the lowest-addressed segment maps the start of the file.
32437 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
32439         * INSTALL: Regenerated.
32441 2014-03-13  Will Newton  <will.newton@linaro.org>
32443         * manual/setjmp.texi (System V contexts): Improve
32444         clarity and grammar of documentation.
32446 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32448         [BZ #16381]
32449         * elf/Makefile (tests): Add tst-pie2.
32450         (tests-pie): Add tst-pie2.
32451         * elf/tst-pie2.c: New file.
32452         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
32453         for ET_EXEC.
32454         * elf/rtld.c (map_doit): Load executable as lt_executable.
32455         (dl_main): Likewise.
32457 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
32459         [BZ #16642]
32460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32461         (__ASSUME_PSELECT): Undefine.
32463 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32465         [BZ #16689]
32466         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
32467         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
32468         static build.
32469         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
32470         selector for static builds.
32472 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32474         [BZ #16695]
32475         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
32476         key in the buffer.
32478 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32480         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
32481         IFUNC selector for static builds.
32483 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
32485         * sysdeps/mips/math_private.h [__mips_hard_float]
32486         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
32487         libc_feresetround_mips_ctx.
32488         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
32489         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
32490         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
32492         [BZ #16677]
32493         * math/s_nextafter.c (__nextafter): Do not return value from
32494         overflowing computation.
32495         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32496         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
32497         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32498         Likewise.
32499         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
32500         Likewise.
32501         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32502         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
32504 2014-03-11  Roland McGrath  <roland@hack.frob.com>
32506         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
32507         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
32508         Move sfi_sp use from the load-multiple (that no longer sets sp) to
32509         the new mov targetting sp.
32511 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32513         [BZ #16683]
32514         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
32515         Define it for static builds as well.
32516         (NO_BZERO_IMPL): Likewise.
32518 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32520         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
32521         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
32522         multiarch strspn for PPC64.
32523         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
32524         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
32525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32526         (__libc_ifunc_impl_list): Likewise.
32527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
32528         multiarch optimizations
32529         * string/strspn.c (strspn): Using macro to redefine symbol name.
32531 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32532             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32534         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
32535         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
32536         multiarch strncat for PPC64.
32537         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
32538         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
32539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32540         (__libc_ifunc_impl_list): Likewise.
32541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
32542         multiarch optimizations
32544 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32546         [BZ #16639]
32547         * nscd/nscd.service: Make service type forking.
32549 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32551         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
32552         sign in non default rounding modes.
32553         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
32555 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
32557         * math/libm-test.inc (ALL_RM_TEST): New macro.
32558         (ceil_test): Use ALL_RM_TEST.
32559         (cimag_test): Likewise.
32560         (conj_test): Likewise.
32561         (copysign_test): Likewise.
32562         (cproj_test): Likewise.
32563         (creal_test): Likewise.
32564         (fabs_test): Likewise.
32565         (floor_test): Likewise.
32566         (fmax_test): Likewise.
32567         (fmin_test): Likewise.
32568         (fmod_test): Likewise.
32569         (fpclassify_test): Likewise.
32570         (frexp_test): Likewise.
32571         (ilogb_test): Likewise.
32572         (isfinite_test): Likewise.
32573         (finite_test): Likewise.
32574         (isgreater_test): Likewise.
32575         (isgreaterequal_test): Likewise.
32576         (isinf_test): Likewise.
32577         (isless_test): Likewise.
32578         (islessequal_test): Likewise.
32579         (islessgreater_test): Likewise.
32580         (isnan_test): Likewise.
32581         (isnormal_test): Likewise.
32582         (issignaling_test): Likewise.
32583         (isunordered_test): Likewise.
32584         (logb_test): Likewise.
32585         (logb_downward_test_data): Remove.
32586         (logb_test_downward): Likewise.
32587         (lround_test): Use ALL_RM_TEST.
32588         (llround_test): Likewise.
32589         (modf_test): Likewise.
32590         (nexttoward_test): Likewise.
32591         (remainder_test): Likewise.
32592         (drem_test): Likewise.
32593         (remainder_tonearest_test_data): Likewise.
32594         (remainder_test_tonearest): Likewise.
32595         (drem_test_tonearest): Likewise.
32596         (remainder_towardzero_test_data): Likewise.
32597         (remainder_test_towardzero): Likewise.
32598         (drem_test_towardzero): Likewise.
32599         (remainder_downward_test_data): Likewise.
32600         (remainder_test_downward): Likewise.
32601         (drem_test_downward): Likewise.
32602         (remainder_upward_test_data): Likewise.
32603         (remainder_test_upward): Likewise.
32604         (drem_test_upward): Likewise.
32605         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
32606         (round_test): Use ALL_RM_TEST.
32607         (signbit_test): Likewise.
32608         (trunc_test): Likewise.
32609         (significand_test): Likewise.
32610         (main): Don't call removed functions.
32612 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32614         [BZ #16674]
32615         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
32616         || __USE_XOPEN2K8].
32617         (ILL_ILLOPN): Likewise.
32618         (ILL_ILLADR): Likewise.
32619         (ILL_ILLTRP): Likewise.
32620         (ILL_PRVOPC): Likewise.
32621         (ILL_PRVREG): Likewise.
32622         (ILL_COPROC): Likewise.
32623         (ILL_BADSTK): Likewise.
32624         (FPE_INTDIV): Likewise.
32625         (FPE_INTOVF): Likewise.
32626         (FPE_FLTDIV): Likewise.
32627         (FPE_FLTOVF): Likewise.
32628         (FPE_FLTUND): Likewise.
32629         (FPE_FLTRES): Likewise.
32630         (FPE_FLTINV): Likewise.
32631         (FPE_FLTSUB): Likewise.
32632         (SEGV_MAPERR): Likewise.
32633         (SEGV_ACCERR): Likewise.
32634         (BUS_ADRALN): Likewise.
32635         (BUS_ADRERR): Likewise.
32636         (BUS_OBJERR): Likewise.
32637         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32638         (TRAP_TRACE): Likewise.
32639         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32640         __USE_XOPEN2K8].
32641         (CLD_KILLED): Likewise.
32642         (CLD_DUMPED): Likewise.
32643         (CLD_TRAPPED): Likewise.
32644         (CLD_STOPPED): Likewise.
32645         (CLD_CONTINUED): Likewise.
32646         (POLL_IN): Likewise.
32647         (POLL_OUT): Likewise.
32648         (POLL_MSG): Likewise.
32649         (POLL_ERR): Likewise.
32650         (POLL_PRI): Likewise.
32651         (POLL_HUP): Likewise.
32652         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32653         Likewise.
32654         (ILL_ILLOPN): Likewise.
32655         (ILL_ILLADR): Likewise.
32656         (ILL_ILLTRP): Likewise.
32657         (ILL_PRVOPC): Likewise.
32658         (ILL_PRVREG): Likewise.
32659         (ILL_COPROC): Likewise.
32660         (ILL_BADSTK): Likewise.
32661         (FPE_INTDIV): Likewise.
32662         (FPE_INTOVF): Likewise.
32663         (FPE_FLTDIV): Likewise.
32664         (FPE_FLTOVF): Likewise.
32665         (FPE_FLTUND): Likewise.
32666         (FPE_FLTRES): Likewise.
32667         (FPE_FLTINV): Likewise.
32668         (FPE_FLTSUB): Likewise.
32669         (SEGV_MAPERR): Likewise.
32670         (SEGV_ACCERR): Likewise.
32671         (BUS_ADRALN): Likewise.
32672         (BUS_ADRERR): Likewise.
32673         (BUS_OBJERR): Likewise.
32674         (BUS_MCEERR_AR): Likewise.
32675         (BUS_MCEERR_AO): Likewise.
32676         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32677         (TRAP_TRACE): Likewise.
32678         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32679         __USE_XOPEN2K8].
32680         (CLD_KILLED): Likewise.
32681         (CLD_DUMPED): Likewise.
32682         (CLD_TRAPPED): Likewise.
32683         (CLD_STOPPED): Likewise.
32684         (CLD_CONTINUED): Likewise.
32685         (POLL_IN): Likewise.
32686         (POLL_OUT): Likewise.
32687         (POLL_MSG): Likewise.
32688         (POLL_ERR): Likewise.
32689         (POLL_PRI): Likewise.
32690         (POLL_HUP): Likewise.
32691         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
32692         (ILL_ILLOPN): Likewise.
32693         (ILL_ILLADR): Likewise.
32694         (ILL_ILLTRP): Likewise.
32695         (ILL_PRVOPC): Likewise.
32696         (ILL_PRVREG): Likewise.
32697         (ILL_COPROC): Likewise.
32698         (ILL_BADSTK): Likewise.
32699         (FPE_INTDIV): Likewise.
32700         (FPE_INTOVF): Likewise.
32701         (FPE_FLTDIV): Likewise.
32702         (FPE_FLTOVF): Likewise.
32703         (FPE_FLTUND): Likewise.
32704         (FPE_FLTRES): Likewise.
32705         (FPE_FLTINV): Likewise.
32706         (FPE_FLTSUB): Likewise.
32707         (SEGV_MAPERR): Likewise.
32708         (SEGV_ACCERR): Likewise.
32709         (BUS_ADRALN): Likewise.
32710         (BUS_ADRERR): Likewise.
32711         (BUS_OBJERR): Likewise.
32712         (BUS_MCEERR_AR): Likewise.
32713         (BUS_MCEERR_AO): Likewise.
32714         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32715         (TRAP_TRACE): Likewise.
32716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32717         __USE_XOPEN2K8].
32718         (CLD_KILLED): Likewise.
32719         (CLD_DUMPED): Likewise.
32720         (CLD_TRAPPED): Likewise.
32721         (CLD_STOPPED): Likewise.
32722         (CLD_CONTINUED): Likewise.
32723         (POLL_IN): Likewise.
32724         (POLL_OUT): Likewise.
32725         (POLL_MSG): Likewise.
32726         (POLL_ERR): Likewise.
32727         (POLL_PRI): Likewise.
32728         (POLL_HUP): Likewise.
32729         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32730         Likewise.
32731         (ILL_ILLOPN): Likewise.
32732         (ILL_ILLADR): Likewise.
32733         (ILL_ILLTRP): Likewise.
32734         (ILL_PRVOPC): Likewise.
32735         (ILL_PRVREG): Likewise.
32736         (ILL_COPROC): Likewise.
32737         (ILL_BADSTK): Likewise.
32738         (ILL_BADIADDR): Likewise.
32739         (ILL_BREAK): Likewise.
32740         (FPE_INTDIV): Likewise.
32741         (FPE_INTOVF): Likewise.
32742         (FPE_FLTDIV): Likewise.
32743         (FPE_FLTOVF): Likewise.
32744         (FPE_FLTUND): Likewise.
32745         (FPE_FLTRES): Likewise.
32746         (FPE_FLTINV): Likewise.
32747         (FPE_FLTSUB): Likewise.
32748         (FPE_DECOVF): Likewise.
32749         (FPE_DECDIV): Likewise.
32750         (FPE_DECERR): Likewise.
32751         (FPE_INVASC): Likewise.
32752         (FPE_INVDEC): Likewise.
32753         (SEGV_MAPERR): Likewise.
32754         (SEGV_ACCERR): Likewise.
32755         (SEGV_PSTKOVF): Likewise.
32756         (BUS_ADRALN): Likewise.
32757         (BUS_ADRERR): Likewise.
32758         (BUS_OBJERR): Likewise.
32759         (BUS_MCEERR_AR): Likewise.
32760         (BUS_MCEERR_AO): Likewise.
32761         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32762         (TRAP_TRACE): Likewise.
32763         (TRAP_BRANCH): Likewise.
32764         (TRAP_HWBKPT): Likewise.
32765         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32766         __USE_XOPEN2K8].
32767         (CLD_KILLED): Likewise.
32768         (CLD_DUMPED): Likewise.
32769         (CLD_TRAPPED): Likewise.
32770         (CLD_STOPPED): Likewise.
32771         (CLD_CONTINUED): Likewise.
32772         (POLL_IN): Likewise.
32773         (POLL_OUT): Likewise.
32774         (POLL_MSG): Likewise.
32775         (POLL_ERR): Likewise.
32776         (POLL_PRI): Likewise.
32777         (POLL_HUP): Likewise.
32778         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32779         (ILL_ILLOPN): Likewise.
32780         (ILL_ILLADR): Likewise.
32781         (ILL_ILLTRP): Likewise.
32782         (ILL_PRVOPC): Likewise.
32783         (ILL_PRVREG): Likewise.
32784         (ILL_COPROC): Likewise.
32785         (ILL_BADSTK): Likewise.
32786         (FPE_INTDIV): Likewise.
32787         (FPE_INTOVF): Likewise.
32788         (FPE_FLTDIV): Likewise.
32789         (FPE_FLTOVF): Likewise.
32790         (FPE_FLTUND): Likewise.
32791         (FPE_FLTRES): Likewise.
32792         (FPE_FLTINV): Likewise.
32793         (FPE_FLTSUB): Likewise.
32794         (SEGV_MAPERR): Likewise.
32795         (SEGV_ACCERR): Likewise.
32796         (BUS_ADRALN): Likewise.
32797         (BUS_ADRERR): Likewise.
32798         (BUS_OBJERR): Likewise.
32799         (BUS_MCEERR_AR): Likewise.
32800         (BUS_MCEERR_AO): Likewise.
32801         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32802         (TRAP_TRACE): Likewise.
32803         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32804         __USE_XOPEN2K8].
32805         (CLD_KILLED): Likewise.
32806         (CLD_DUMPED): Likewise.
32807         (CLD_TRAPPED): Likewise.
32808         (CLD_STOPPED): Likewise.
32809         (CLD_CONTINUED): Likewise.
32810         (POLL_IN): Likewise.
32811         (POLL_OUT): Likewise.
32812         (POLL_MSG): Likewise.
32813         (POLL_ERR): Likewise.
32814         (POLL_PRI): Likewise.
32815         (POLL_HUP): Likewise.
32816         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32817         (ILL_ILLOPN): Likewise.
32818         (ILL_ILLADR): Likewise.
32819         (ILL_ILLTRP): Likewise.
32820         (ILL_PRVOPC): Likewise.
32821         (ILL_PRVREG): Likewise.
32822         (ILL_COPROC): Likewise.
32823         (ILL_BADSTK): Likewise.
32824         (FPE_INTDIV): Likewise.
32825         (FPE_INTOVF): Likewise.
32826         (FPE_FLTDIV): Likewise.
32827         (FPE_FLTOVF): Likewise.
32828         (FPE_FLTUND): Likewise.
32829         (FPE_FLTRES): Likewise.
32830         (FPE_FLTINV): Likewise.
32831         (FPE_FLTSUB): Likewise.
32832         (SEGV_MAPERR): Likewise.
32833         (SEGV_ACCERR): Likewise.
32834         (BUS_ADRALN): Likewise.
32835         (BUS_ADRERR): Likewise.
32836         (BUS_OBJERR): Likewise.
32837         (BUS_MCEERR_AR): Likewise.
32838         (BUS_MCEERR_AO): Likewise.
32839         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32840         (TRAP_TRACE): Likewise.
32841         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32842         __USE_XOPEN2K8].
32843         (CLD_KILLED): Likewise.
32844         (CLD_DUMPED): Likewise.
32845         (CLD_TRAPPED): Likewise.
32846         (CLD_STOPPED): Likewise.
32847         (CLD_CONTINUED): Likewise.
32848         (POLL_IN): Likewise.
32849         (POLL_OUT): Likewise.
32850         (POLL_MSG): Likewise.
32851         (POLL_ERR): Likewise.
32852         (POLL_PRI): Likewise.
32853         (POLL_HUP): Likewise.
32854         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32855         (ILL_ILLOPN): Likewise.
32856         (ILL_ILLADR): Likewise.
32857         (ILL_ILLTRP): Likewise.
32858         (ILL_PRVOPC): Likewise.
32859         (ILL_PRVREG): Likewise.
32860         (ILL_COPROC): Likewise.
32861         (ILL_BADSTK): Likewise.
32862         (FPE_INTDIV): Likewise.
32863         (FPE_INTOVF): Likewise.
32864         (FPE_FLTDIV): Likewise.
32865         (FPE_FLTOVF): Likewise.
32866         (FPE_FLTUND): Likewise.
32867         (FPE_FLTRES): Likewise.
32868         (FPE_FLTINV): Likewise.
32869         (FPE_FLTSUB): Likewise.
32870         (SEGV_MAPERR): Likewise.
32871         (SEGV_ACCERR): Likewise.
32872         (BUS_ADRALN): Likewise.
32873         (BUS_ADRERR): Likewise.
32874         (BUS_OBJERR): Likewise.
32875         (BUS_MCEERR_AR): Likewise.
32876         (BUS_MCEERR_AO): Likewise.
32877         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32878         (TRAP_TRACE): Likewise.
32879         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32880         __USE_XOPEN2K8].
32881         (CLD_KILLED): Likewise.
32882         (CLD_DUMPED): Likewise.
32883         (CLD_TRAPPED): Likewise.
32884         (CLD_STOPPED): Likewise.
32885         (CLD_CONTINUED): Likewise.
32886         (POLL_IN): Likewise.
32887         (POLL_OUT): Likewise.
32888         (POLL_MSG): Likewise.
32889         (POLL_ERR): Likewise.
32890         (POLL_PRI): Likewise.
32891         (POLL_HUP): Likewise.
32892         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32893         (ILL_ILLOPN): Likewise.
32894         (ILL_ILLADR): Likewise.
32895         (ILL_ILLTRP): Likewise.
32896         (ILL_PRVOPC): Likewise.
32897         (ILL_PRVREG): Likewise.
32898         (ILL_COPROC): Likewise.
32899         (ILL_BADSTK): Likewise.
32900         (ILL_DBLFLT): Likewise.
32901         (ILL_HARDWALL): Likewise.
32902         (FPE_INTDIV): Likewise.
32903         (FPE_INTOVF): Likewise.
32904         (FPE_FLTDIV): Likewise.
32905         (FPE_FLTOVF): Likewise.
32906         (FPE_FLTUND): Likewise.
32907         (FPE_FLTRES): Likewise.
32908         (FPE_FLTINV): Likewise.
32909         (FPE_FLTSUB): Likewise.
32910         (SEGV_MAPERR): Likewise.
32911         (SEGV_ACCERR): Likewise.
32912         (BUS_ADRALN): Likewise.
32913         (BUS_ADRERR): Likewise.
32914         (BUS_OBJERR): Likewise.
32915         (BUS_MCEERR_AR): Likewise.
32916         (BUS_MCEERR_AO): Likewise.
32917         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32918         (TRAP_TRACE): Likewise.
32919         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32920         __USE_XOPEN2K8].
32921         (CLD_KILLED): Likewise.
32922         (CLD_DUMPED): Likewise.
32923         (CLD_TRAPPED): Likewise.
32924         (CLD_STOPPED): Likewise.
32925         (CLD_CONTINUED): Likewise.
32926         (POLL_IN): Likewise.
32927         (POLL_OUT): Likewise.
32928         (POLL_MSG): Likewise.
32929         (POLL_ERR): Likewise.
32930         (POLL_PRI): Likewise.
32931         (POLL_HUP): Likewise.
32932         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32933         (ILL_ILLOPN): Likewise.
32934         (ILL_ILLADR): Likewise.
32935         (ILL_ILLTRP): Likewise.
32936         (ILL_PRVOPC): Likewise.
32937         (ILL_PRVREG): Likewise.
32938         (ILL_COPROC): Likewise.
32939         (ILL_BADSTK): Likewise.
32940         (FPE_INTDIV): Likewise.
32941         (FPE_INTOVF): Likewise.
32942         (FPE_FLTDIV): Likewise.
32943         (FPE_FLTOVF): Likewise.
32944         (FPE_FLTUND): Likewise.
32945         (FPE_FLTRES): Likewise.
32946         (FPE_FLTINV): Likewise.
32947         (FPE_FLTSUB): Likewise.
32948         (SEGV_MAPERR): Likewise.
32949         (SEGV_ACCERR): Likewise.
32950         (BUS_ADRALN): Likewise.
32951         (BUS_ADRERR): Likewise.
32952         (BUS_OBJERR): Likewise.
32953         (BUS_MCEERR_AR): Likewise.
32954         (BUS_MCEERR_AO): Likewise.
32955         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32956         (TRAP_TRACE): Likewise.
32957         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32958         __USE_XOPEN2K8].
32959         (CLD_KILLED): Likewise.
32960         (CLD_DUMPED): Likewise.
32961         (CLD_TRAPPED): Likewise.
32962         (CLD_STOPPED): Likewise.
32963         (CLD_CONTINUED): Likewise.
32964         (POLL_IN): Likewise.
32965         (POLL_OUT): Likewise.
32966         (POLL_MSG): Likewise.
32967         (POLL_ERR): Likewise.
32968         (POLL_PRI): Likewise.
32969         (POLL_HUP): Likewise.
32970         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32971         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32973         [BZ #16670]
32974         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32975         before #include of <time.h>.
32976         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32977         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32978         (test-xfail-UNIX98/sched.h/conform): Likewise.
32980 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32982         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32983         error absence of trapping exception support.
32984         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32986 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32988         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32989         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32990         * timezone/Makefile (testdata): Move definition above include of
32991         Rules.
32992         (test-zones): New variable.
32993         (tests-special): Add zone files.
32994         (build-testdata): Use $(evaluate-test).
32996         * elf/Makefile (tests-special): Rename tests to end with .out.
32997         ($(objpfx)noload-mem): Likewise.
32998         ($(objpfx)tst-leaks1-mem): Likewise.
32999         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33000         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33001         $(objpfx)test-iconvconfig.out.
33002         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33003         set -e inside subshell and redirect output to file.
33004         * iconvdata/Makefile (generated): Rename tests to end with .out.
33005         Correct type.
33006         (tests-special): Rename tests to end with .out.
33007         ($(objpfx)mtrace-tst-loading): Likewise.
33008         * intl/Makefile (generated): Likewise.
33009         (tests-special): Likewise.
33010         ($(objpfx)mtrace-tst-gettext): Likewise.
33011         * misc/Makefile (generated): Likewise.
33012         (tests-special): Likewise.
33013         ($(objpfx)tst-error1-mem): Likewise.
33014         * nptl/Makefile (tests-special): Likewise.
33015         ($(objpfx)tst-stack3-mem): Likewise.
33016         (generated): Likewise.
33017         * posix/Makefile (generated): Likewise.
33018         (tests-special): Likewise.
33019         (xtests-special): Likewise.
33020         ($(objpfx)tst-fnmatch-mem): Likewise.
33021         ($(objpfx)bug-regex2-mem): Likewise.
33022         ($(objpfx)bug-regex14-mem): Likewise.
33023         ($(objpfx)bug-regex21-mem): Likewise.
33024         ($(objpfx)bug-regex31-mem): Likewise.
33025         ($(objpfx)tst-vfork3-mem): Likewise.
33026         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33027         ($(objpfx)tst-pcre-mem): Likewise.
33028         ($(objpfx)tst-boost-mem): Likewise.
33029         ($(objpfx)bug-ga2-mem): Likewise.
33030         ($(objpfx)bug-glob2-mem): Likewise.
33031         * resolv/Makefile (generate): Likewise.
33032         (tests-special): Likewise.
33033         (xtests-special): Likewise.
33034         (generated): Likewise.
33035         ($(objpfx)mtrace-tst-leaks): Likewise.
33036         ($(objpfx)mtrace-tst-leaks2): Likewise.
33038         * scripts/merge-test-results.sh: New file.
33039         * Makefile (tests-special-notdir): New variable.
33040         (tests): Run merge-test-results.sh.
33041         (xtests): Likewise.
33042         * Rules (tests-special-notdir): New variable.
33043         (xtests-special-notdir): Likewise.
33044         (tests): Run merge-test-results.sh
33045         (xtests): Likewise.
33047         * Makeconfig (test-xfail-name): New variable.
33048         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33049         compute variable name for expected failures.
33050         * conform/Makefile (conformtest-headers-data): New variable.
33051         (conformtest-standards): Likewise.
33052         (conformtest-headers-ISO): Likewise.
33053         (conformtest-headers-ISO99): Likewise.
33054         (conformtest-headers-ISO11): Likewise.
33055         (conformtest-headers-POSIX): Likewise.
33056         (conformtest-headers-XPG3): Likewise.
33057         (conformtest-headers-XPG4): Likewise.
33058         (conformtest-headers-UNIX98): Likewise.
33059         (conformtest-headers-XOPEN2K): Likewise.
33060         (conformtest-headers-POSIX2008): Likewise.
33061         (conformtest-headers-XOPEN2K8): Likewise.
33062         (conformtest-header-list-base): Likewise.
33063         (conformtest-header-list-tests): Likewise.
33064         (conformtest-header-base): Likewise.
33065         (conformtest-header-tests): Likewise.
33066         (tests-special): Add $(conformtest-header-list-tests).  If
33067         [$(fast-check) && !$(cross-compiling)], add
33068         $(conformtest-header-tests) instead of
33069         $(objpfx)run-conformtest.out.
33070         (generated): Add $(conformtest-header-list-base).  If
33071         [$(fast-check) && !$(cross-compiling)], add
33072         $(conformtest-header-base).  Remove previous setting.
33073         ($(conformtest-header-list-tests)): New target.
33074         (test-xfail-run-conformtest): Remove variable.
33075         ($(objpfx)run-conformtest.out): Remove target.
33076         (test-xfail-ISO11/complex.h/conform): New variable.
33077         (test-xfail-ISO11/stdalign.h/conform): Likewise.
33078         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33079         (test-xfail-XPG3/varargs.h/conform): Likewise.
33080         (test-xfail-XPG4/varargs.h/conform): Likewise.
33081         (test-xfail-UNIX98/varargs.h/conform): Likewise.
33082         (test-xfail-XPG4/ndbm.h/conform): Likewise.
33083         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33084         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33085         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33086         (test-xfail-XPG3/fcntl.h/conform): Likewise.
33087         (test-xfail-XPG3/ftw.h/conform): Likewise.
33088         (test-xfail-XPG3/grp.h/conform): Likewise.
33089         (test-xfail-XPG3/langinfo.h/conform): Likewise.
33090         (test-xfail-XPG3/limits.h/conform): Likewise.
33091         (test-xfail-XPG3/pwd.h/conform): Likewise.
33092         (test-xfail-XPG3/search.h/conform): Likewise.
33093         (test-xfail-XPG3/signal.h/conform): Likewise.
33094         (test-xfail-XPG3/stdio.h/conform): Likewise.
33095         (test-xfail-XPG3/stdlib.h/conform): Likewise.
33096         (test-xfail-XPG3/string.h/conform): Likewise.
33097         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33098         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33099         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33100         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33101         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33102         (test-xfail-XPG3/sys/types.h/conform): Likewise.
33103         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33104         (test-xfail-XPG3/termios.h/conform): Likewise.
33105         (test-xfail-XPG3/time.h/conform): Likewise.
33106         (test-xfail-XPG3/unistd.h/conform): Likewise.
33107         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33108         (test-xfail-XPG4/fcntl.h/conform): Likewise.
33109         (test-xfail-XPG4/langinfo.h/conform): Likewise.
33110         (test-xfail-XPG4/netdb.h/conform): Likewise.
33111         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33112         (test-xfail-XPG4/signal.h/conform): Likewise.
33113         (test-xfail-XPG4/stdio.h/conform): Likewise.
33114         (test-xfail-XPG4/stdlib.h/conform): Likewise.
33115         (test-xfail-XPG4/stropts.h/conform): Likewise.
33116         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33117         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33118         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33119         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33120         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33121         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33122         (test-xfail-XPG4/sys/time.h/conform): Likewise.
33123         (test-xfail-XPG4/sys/types.h/conform): Likewise.
33124         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33125         (test-xfail-XPG4/termios.h/conform): Likewise.
33126         (test-xfail-XPG4/ucontext.h/conform): Likewise.
33127         (test-xfail-XPG4/unistd.h/conform): Likewise.
33128         (test-xfail-XPG4/utmpx.h/conform): Likewise.
33129         (test-xfail-POSIX/sched.h/conform): Likewise.
33130         (test-xfail-POSIX/signal.h/conform): Likewise.
33131         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33132         (test-xfail-POSIX/tar.h/conform): Likewise.
33133         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
33134         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
33135         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
33136         (test-xfail-UNIX98/netdb.h/conform): Likewise.
33137         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
33138         (test-xfail-UNIX98/sched.h/conform): Likewise.
33139         (test-xfail-UNIX98/signal.h/conform): Likewise.
33140         (test-xfail-UNIX98/stdio.h/conform): Likewise.
33141         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
33142         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33143         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33144         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33145         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33146         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33147         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33148         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
33149         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33150         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33151         (test-xfail-UNIX98/unistd.h/conform): Likewise.
33152         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
33153         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
33154         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
33155         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
33156         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
33157         (test-xfail-XOPEN2K/math.h/conform): Likewise.
33158         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
33159         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33160         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33161         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
33162         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33163         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
33164         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
33165         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33166         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33167         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33168         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33169         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33170         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33171         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33172         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
33173         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
33174         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33175         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33176         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
33177         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33178         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
33179         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
33180         (test-xfail-POSIX2008/signal.h/conform): Likewise.
33181         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33182         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
33183         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33184         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33185         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33186         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
33187         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
33188         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33189         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33190         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33191         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
33192         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33193         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33194         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33195         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
33196         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33197         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33198         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33199         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33200         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33201         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
33202         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
33203         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
33204         (conformtest-cc-flags): Likewise.
33205         ($(conformtest-header-tests): New target.
33206         * conform/check-header-lists.sh: New file.
33207         * conform/run-conformtest.sh: Remove.
33209         * conform/conformtest.pl: Allow ' and \ in values given for
33210         constants.
33211         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
33212         inclusion.
33213         [POSIX] (sys/types.h): Likewise.
33214         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
33215         inclusion.
33216         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
33217         inclusion.
33218         * conform/data/signal.h-data (SIGIO): Remove expectation.
33219         [XPG3] (SIGBUS): Do not expect.
33220         [POSIX || XPG3] (SIGPOLL): Likewise.
33221         [POSIX || XPG3] (SIGPROF): Likewise.
33222         [POSIX || XPG3] (SIGSYS): Likewise.
33223         [XPG3] (SIGTRAP): Likewise.
33224         [POSIX || XPG3] (SIGURG): Likewise.
33225         [POSIX || XPG3] (SIGVTALRM): Likewise.
33226         [POSIX || XPG3] (SIGXCPU): Likewise.
33227         [POSIX || XPG3] (SIGXFSZ): Likewise.
33228         [POSIX] (SA_SIGINFO): Expect.
33229         [XPG3] (siginfo_t): Do not expect type or contents.
33230         [POSIX] (si_pid): Do not expect element.
33231         [POSIX] (si_uid): Likewise.
33232         [POSIX] (si_addr): Likewise.
33233         [POSIX] (si_status): Likewise.
33234         [POSIX] (si_band): Likewise.
33235         [XPG4] (si_value): Likewise.
33236         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
33237         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
33238         [POSIX || XPG3] (ILL_ILLADR): Likewise.
33239         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
33240         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
33241         [POSIX || XPG3] (ILL_PRVREG): Likewise.
33242         [POSIX || XPG3] (ILL_COPROC): Likewise.
33243         [POSIX || XPG3] (ILL_BADSTK): Likewise.
33244         [POSIX || XPG3] (FPE_INTDIV): Likewise.
33245         [POSIX || XPG3] (FPE_INTOVF): Likewise.
33246         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
33247         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
33248         [POSIX || XPG3] (FPE_FLTUND): Likewise.
33249         [POSIX || XPG3] (FPE_FLTRES): Likewise.
33250         [POSIX || XPG3] (FPE_FLTINV): Likewise.
33251         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
33252         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
33253         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
33254         [POSIX || XPG3] (BUS_ADRALN): Likewise.
33255         [POSIX || XPG3] (BUS_ADRERR): Likewise.
33256         [POSIX || XPG3] (BUS_OBJERR): Likewise.
33257         [POSIX || XPG3] (CLD_EXITED): Likewise.
33258         [POSIX || XPG3] (CLD_KILLED): Likewise.
33259         [POSIX || XPG3] (CLD_DUMPED): Likewise.
33260         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
33261         [POSIX || XPG3] (CLD_STOPPED): Likewise.
33262         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
33263         [POSIX || XPG3] (POLL_IN): Likewise.
33264         [POSIX || XPG3] (POLL_OUT): Likewise.
33265         [POSIX || XPG3] (POLL_MSG): Likewise.
33266         [POSIX || XPG3] (POLL_ERR): Likewise.
33267         [POSIX || XPG3] (POLL_PRI): Likewise.
33268         [POSIX || XPG3] (POLL_HUP): Likewise.
33269         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
33270         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
33271         (SIG*): Do not allow.
33272         [XPG3] (si_*): Likewise.
33273         [XPG3] (SI_*): Likewise.
33274         [XPG3 || XPG4] (sigev_*): Likewise.
33275         [XPG3 || XPG4] (SIGEV_*): Likewise.
33276         [XPG3 || XPG4] (sival_*): Likewise.
33277         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
33278         [POSIX || XPG3] (BUS_*): Likewise.
33279         [POSIX || XPG3] (CLD_*): Likewise.
33280         [POSIX || XPG3] (FPE_*): Likewise.
33281         [POSIX || XPG3] (ILL_*): Likewise.
33282         [POSIX || XPG3] (POLL_*): Likewise.
33283         [POSIX || XPG3] (SEGV_*): Likewise.
33284         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
33285         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
33286         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
33287         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
33288         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
33289         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
33290         Specify type and value.
33291         (TVERSLEN): Likewise.
33292         (REGTYPE): Likewise.
33293         (AREGTYPE): Likewise.
33294         (LNKTYPE): Likewise.
33295         (SYMTYPE): Likewise.
33296         (CHRTYPE): Likewise.
33297         (BLKTYPE): Likewise.
33298         (DIRTYPE): Likewise.
33299         (FIFOTYPE): Likewise.
33300         (CONTTYPE): Likewise.
33301         (TSUID): Likewise.
33302         (TSGID): Likewise.
33303         (TSVTX): Likewise.
33304         (TUREAD): Likewise.
33305         (TUWRITE): Likewise.
33306         (TUEXEC): Likewise.
33307         (TGREAD): Likewise.
33308         (TGWRITE): Likewise.
33309         (TGEXEC): Likewise.
33310         (TOREAD): Likewise.
33311         (TOWRITE): Likewise.
33312         (TOEXEC): Likewise.
33313         [POSIX] (TSVTX): Expect constant.
33315 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
33317         * Makefile (tests): Change dependencies to ....
33318         (tests-special): ... additions to this variable.
33319         (tests): Depend on $(tests-special).
33320         * Makerules (check-abi-list): New variable.
33321         (check-abi): Depend on $(check-abi-list).
33322         [$(subdir) = elf] (tests-special): Add
33323         $(objpfx)check-abi-libc.out.
33324         [$(build-shared) = yes && subdir] (tests-special): Add
33325         $(check-abi-list).
33326         [$(build-shared) = yes && subdir] (tests): Do not depend on
33327         check-abi.
33328         * Rules (tests): Depend on $(tests-special).
33329         (xtests): Depend on $(xtests-special).
33330         * catgets/Makefile (tests): Change dependencies to ....
33331         (tests-special): ... additions to this variable.
33332         * conform/Makefile (tests): Change dependencies to ....
33333         (tests-special): ... additions to this variable.
33334         * elf/Makefile (tests): Change dependencies to ....
33335         (tests-special): ... additions to this variable.
33336         * grp/Makefile (tests): Change dependencies to ....
33337         (tests-special): ... additions to this variable.
33338         * iconv/Makefile (xtests): Change dependencies to ....
33339         (xtests-special): ... additions to this variable.
33340         * iconvdata/Makefile (tests): Change dependencies to ....
33341         (tests-special): ... additions to this variable.
33342         * intl/Makefile (tests): Change dependencies to ....
33343         (tests-special): ... additions to this variable.  Also add
33344         $(objpfx)tst-gettext.out.
33345         * io/Makefile (tests): Change dependencies to ....
33346         (tests-special): ... additions to this variable.
33347         * libio/Makefile (tests): Change dependencies to ....
33348         (tests-special): ... additions to this variable.
33349         * malloc/Makefile (tests): Change dependencies to ....
33350         (tests-special): ... additions to this variable.
33351         * misc/Makefile (tests): Change dependencies to ....
33352         (tests-special): ... additions to this variable.
33353         * nptl/Makefile (tests): Change dependencies to ....
33354         (tests-special): ... additions to this variable.
33355         * nptl_db/Makefile (tests): Change dependencies to ....
33356         (tests-special): ... additions to this variable.
33357         * posix/Makefile (tests): Change dependencies to ....
33358         (tests-special): ... additions to this variable.
33359         (xtests): Change dependencies to ....
33360         (xtests-special): ... additions to this variable.
33361         * resolv/Makefile (tests): Change dependencies to ....
33362         (tests-special): ... additions to this variable.
33363         (xtests): Change dependencies to ....
33364         (xtests-special): ... additions to this variable.
33365         * stdio-common/Makefile (tests): Change dependencies to ....
33366         (tests-special): ... additions to this variable.
33367         (do-tst-unbputc): Remove target.
33368         (do-tst-printf): Likewise.
33369         * stdlib/Makefile (tests): Change dependencies to ....
33370         (tests-special): ... additions to this variable.
33371         * string/Makefile (tests): Change dependencies to ....
33372         (tests-special): ... additions to this variable.
33373         * sysdeps/x86/Makefile (tests): Change dependencies to ....
33374         (tests-special): ... additions to this variable.
33376         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
33377         whole file.
33378         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
33379         whole file.
33380         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
33381         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
33383         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
33384         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
33385         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
33386         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
33387         * conform/data/libgen.h-data [XPG3]: Likewise.
33388         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
33389         * conform/data/ndbm.h-data [XPG3]: Likewise.
33390         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33391         * conform/data/netdb.h-data [XPG3]: Likewise.
33392         * conform/data/netinet/in.h-data [XPG3]: Likewise.
33393         * conform/data/poll.h-data [XPG3]: Likewise.
33394         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33395         * conform/data/strings.h-data [XPG3]: Likewise.
33396         * conform/data/stropts.h-data [XPG3]: Likewise.
33397         * conform/data/sys/mman.h-data [XPG3]: Likewise.
33398         * conform/data/sys/resource.h-data [XPG3]: Likewise.
33399         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
33400         Likewise.
33401         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
33402         * conform/data/sys/time.h-data [XPG3]: Likewise.
33403         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
33404         * conform/data/sys/uio.h-data [XPG3]: Likewise.
33405         * conform/data/sys/un.h-data [XPG3]: Likewise.
33406         * conform/data/syslog.h-data [XPG3]: Likewise.
33407         * conform/data/ucontext.h-data [XPG3]: Likewise.
33408         * conform/data/utmpx.h-data [XPG3]: Likewise.
33409         * conform/data/varargs.h-data [UNIX98]: Enable file.
33411         * manual/Makefile (INSTALL_INFO): Remove variable setting.
33413         * math/libm-test.inc (struct test_f_f_data): Move expected results
33414         into structure for each rounding mode.
33415         (struct test_ff_f_data): Likewise.
33416         (struct test_ff_f_data_nexttoward): Likewise.
33417         (struct test_fi_f_data): Likewise.
33418         (struct test_fl_f_data): Likewise.
33419         (struct test_if_f_data): Likewise.
33420         (struct test_fff_f_data): Likewise.
33421         (struct test_c_f_data): Likewise.
33422         (struct test_f_f1_data): Likewise.
33423         (struct test_fF_f1_data): Likewise.
33424         (struct test_ffI_f1_data): Likewise.
33425         (struct test_c_c_data): Likewise.
33426         (struct test_cc_c_data): Likewise.
33427         (struct test_f_i_data): Likewise.
33428         (struct test_ff_i_data): Likewise.
33429         (struct test_f_l_data): Likewise.
33430         (struct test_f_L_data): Likewise.
33431         (struct test_fFF_11_data): Likewise.
33432         (RM_): New macro.
33433         (RM_FE_DOWNWARD): Likewise.
33434         (RM_FE_TONEAREST): Likewise.
33435         (RM_FE_TOWARDZERO): Likewise.
33436         (RM_FE_UPWARD): Likewise.
33437         (RUN_TEST_LOOP_f_f): Update references to expected results.
33438         (RUN_TEST_LOOP_2_f): Likewise.
33439         (RUN_TEST_LOOP_fff_f): Likewise.
33440         (RUN_TEST_LOOP_c_f): Likewise.
33441         (RUN_TEST_LOOP_f_f1): Likewise.
33442         (RUN_TEST_LOOP_fF_f1): Likewise.
33443         (RUN_TEST_LOOP_fI_f1): Likewise.
33444         (RUN_TEST_LOOP_ffI_f1): Likewise.
33445         (RUN_TEST_LOOP_c_c): Likewise.
33446         (RUN_TEST_LOOP_cc_c): Likewise.
33447         (RUN_TEST_LOOP_f_i): Likewise.
33448         (RUN_TEST_LOOP_f_i_tg): Likewise.
33449         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33450         (RUN_TEST_LOOP_f_b): Likewise.
33451         (RUN_TEST_LOOP_f_b_tg): Likewise.
33452         (RUN_TEST_LOOP_f_l): Likewise.
33453         (RUN_TEST_LOOP_f_L): Likewise.
33454         (RUN_TEST_LOOP_fFF_11): Likewise.
33455         * math/gen-libm-test.pl (parse_args): Output four copies of
33456         expected results for each test.
33458         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33459         (__ASSUME_UTIMES): Remove.
33460         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33461         (__ASSUME_UTIMES): Likewise.
33463         * math/gen-auto-libm-tests.c: Update comment on output format.
33464         (output_for_one_input_case): Generate before-rounding and
33465         after-rounding information as conditions on output flags not
33466         floating-point format.
33467         * math/auto-libm-test-out: Regenerated.
33468         * math/gen-libm-test.pl (cond_value): New function.
33469         (or_cond_value): Use cond_value.
33470         (generate_testfile): Handle conditional exceptions.
33472 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
33474         * math/libm-test.inc (max_valid_error): New variable.
33475         (init_max_error): Take new argument specifying whether function
33476         results are exactly determined.  Set max_valid_error and bound
33477         other variables for errors based on this argument.
33478         (set_max_error): Do not record results above max_valid_error.
33479         (check_float_internal): Only accept errors of up to 0.5ulps if
33480         also at most max_valid_error.
33481         (START): Take new argument EXACT and pass it to init_max_error.
33482         (acos_test): Update call to START.
33483         (acos_test_tonearest): Likewise.
33484         (acos_test_towardzero): Likewise.
33485         (acos_test_downward): Likewise.
33486         (acos_test_upward): Likewise.
33487         (acosh_test): Likewise.
33488         (asin_test): Likewise.
33489         (asin_test_tonearest): Likewise.
33490         (asin_test_towardzero): Likewise.
33491         (asin_test_downward): Likewise.
33492         (asin_test_upward): Likewise.
33493         (asinh_test): Likewise.
33494         (atan_test): Likewise.
33495         (atanh_test): Likewise.
33496         (atan2_test): Likewise.
33497         (cabs_test): Likewise.
33498         (cacos_test): Likewise.
33499         (cacosh_test): Likewise.
33500         (carg_test): Likewise.
33501         (casin_test): Likewise.
33502         (casinh_test): Likewise.
33503         (catan_test): Likewise.
33504         (catanh_test): Likewise.
33505         (cbrt_test): Likewise.
33506         (ccos_test): Likewise.
33507         (ccosh_test): Likewise.
33508         (ceil_test): Likewise.
33509         (cexp_test): Likewise.
33510         (cimag_test): Likewise.
33511         (clog_test): Likewise.
33512         (clog10_test): Likewise.
33513         (conj_test): Likewise.
33514         (copysign_test): Likewise.
33515         (cos_test): Likewise.
33516         (cos_test_tonearest): Likewise.
33517         (cos_test_towardzero): Likewise.
33518         (cos_test_downward): Likewise.
33519         (cos_test_upward): Likewise.
33520         (cosh_test): Likewise.
33521         (cosh_test_tonearest): Likewise.
33522         (cosh_test_towardzero): Likewise.
33523         (cosh_test_downward): Likewise.
33524         (cosh_test_upward): Likewise.
33525         (cpow_test): Likewise.
33526         (cproj_test): Likewise.
33527         (creal_test): Likewise.
33528         (csin_test): Likewise.
33529         (csinh_test): Likewise.
33530         (csqrt_test): Likewise.
33531         (ctan_test): Likewise.
33532         (ctan_test_tonearest): Likewise.
33533         (ctan_test_towardzero): Likewise.
33534         (ctan_test_downward): Likewise.
33535         (ctan_test_upward): Likewise.
33536         (ctanh_test): Likewise.
33537         (ctanh_test_tonearest): Likewise.
33538         (ctanh_test_towardzero): Likewise.
33539         (ctanh_test_downward): Likewise.
33540         (ctanh_test_upward): Likewise.
33541         (erf_test): Likewise.
33542         (erfc_test): Likewise.
33543         (exp_test): Likewise.
33544         (exp_test_tonearest): Likewise.
33545         (exp_test_towardzero): Likewise.
33546         (exp_test_downward): Likewise.
33547         (exp_test_upward): Likewise.
33548         (exp10_test): Likewise.
33549         (exp10_test_tonearest): Likewise.
33550         (exp10_test_towardzero): Likewise.
33551         (exp10_test_downward): Likewise.
33552         (exp10_test_upward): Likewise.
33553         (pow10_test): Likewise.
33554         (exp2_test): Likewise.
33555         (expm1_test): Likewise.
33556         (expm1_test_tonearest): Likewise.
33557         (expm1_test_towardzero): Likewise.
33558         (expm1_test_downward): Likewise.
33559         (expm1_test_upward): Likewise.
33560         (fabs_test): Likewise.
33561         (fdim_test): Likewise.
33562         (floor_test): Likewise.
33563         (fma_test): Likewise.
33564         (fma_test_towardzero): Likewise.
33565         (fma_test_downward): Likewise.
33566         (fma_test_upward): Likewise.
33567         (fmax_test): Likewise.
33568         (fmin_test): Likewise.
33569         (fmod_test): Likewise.
33570         (fpclassify_test): Likewise.
33571         (frexp_test): Likewise.
33572         (hypot_test): Likewise.
33573         (ilogb_test): Likewise.
33574         (isfinite_test): Likewise.
33575         (finite_test): Likewise.
33576         (isgreater_test): Likewise.
33577         (isgreaterequal_test): Likewise.
33578         (isinf_test): Likewise.
33579         (isless_test): Likewise.
33580         (islessequal_test): Likewise.
33581         (islessgreater_test): Likewise.
33582         (isnan_test): Likewise.
33583         (isnormal_test): Likewise.
33584         (issignaling_test): Likewise.
33585         (isunordered_test): Likewise.
33586         (j0_test): Likewise.
33587         (j1_test): Likewise.
33588         (jn_test): Likewise.
33589         (ldexp_test): Likewise.
33590         (lgamma_test): Likewise.
33591         (gamma_test): Likewise.
33592         (lrint_test): Likewise.
33593         (lrint_test_tonearest): Likewise.
33594         (lrint_test_towardzero): Likewise.
33595         (lrint_test_downward): Likewise.
33596         (lrint_test_upward): Likewise.
33597         (llrint_test): Likewise.
33598         (llrint_test_tonearest): Likewise.
33599         (llrint_test_towardzero): Likewise.
33600         (llrint_test_downward): Likewise.
33601         (llrint_test_upward): Likewise.
33602         (log_test): Likewise.
33603         (log10_test): Likewise.
33604         (log1p_test): Likewise.
33605         (log2_test): Likewise.
33606         (logb_test): Likewise.
33607         (logb_test_downward): Likewise.
33608         (lround_test): Likewise.
33609         (llround_test): Likewise.
33610         (modf_test): Likewise.
33611         (nearbyint_test): Likewise.
33612         (nextafter_test): Likewise.
33613         (nexttoward_test): Likewise.
33614         (pow_test): Likewise.
33615         (pow_test_tonearest): Likewise.
33616         (pow_test_towardzero): Likewise.
33617         (pow_test_downward): Likewise.
33618         (pow_test_upward): Likewise.
33619         (remainder_test): Likewise.
33620         (drem_test): Likewise.
33621         (remainder_test_tonearest): Likewise.
33622         (drem_test_tonearest): Likewise.
33623         (remainder_test_towardzero): Likewise.
33624         (drem_test_towardzero): Likewise.
33625         (remainder_test_downward): Likewise.
33626         (drem_test_downward): Likewise.
33627         (remainder_test_upward): Likewise.
33628         (drem_test_upward): Likewise.
33629         (remquo_test): Likewise.
33630         (rint_test): Likewise.
33631         (rint_test_tonearest): Likewise.
33632         (rint_test_towardzero): Likewise.
33633         (rint_test_downward): Likewise.
33634         (rint_test_upward): Likewise.
33635         (round_test): Likewise.
33636         (scalb_test): Likewise.
33637         (scalbn_test): Likewise.
33638         (scalbln_test): Likewise.
33639         (signbit_test): Likewise.
33640         (sin_test): Likewise.
33641         (sin_test_tonearest): Likewise.
33642         (sin_test_towardzero): Likewise.
33643         (sin_test_downward): Likewise.
33644         (sin_test_upward): Likewise.
33645         (sincos_test): Likewise.
33646         (sinh_test): Likewise.
33647         (sinh_test_tonearest): Likewise.
33648         (sinh_test_towardzero): Likewise.
33649         (sinh_test_downward): Likewise.
33650         (sinh_test_upward): Likewise.
33651         (sqrt_test): Likewise.
33652         (sqrt_test_tonearest): Likewise.
33653         (sqrt_test_towardzero): Likewise.
33654         (sqrt_test_downward): Likewise.
33655         (sqrt_test_upward): Likewise.
33656         (tan_test): Likewise.
33657         (tan_test_tonearest): Likewise.
33658         (tan_test_towardzero): Likewise.
33659         (tan_test_downward): Likewise.
33660         (tan_test_upward): Likewise.
33661         (tanh_test): Likewise.
33662         (tgamma_test): Likewise.
33663         (trunc_test): Likewise.
33664         (y0_test): Likewise.
33665         (y1_test): Likewise.
33666         (yn_test): Likewise.
33667         (significand_test): Likewise.
33669         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
33670         individual tests in comment.
33671         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
33672         (prev_max_error): New variable.
33673         (prev_real_max_error): Likewise.
33674         (prev_imag_max_error): Likewise.
33675         (compare_ulp_data): Don't refer to test names in comment.
33676         (find_test_ulps): Remove function.
33677         (find_function_ulps): Likewise.
33678         (find_complex_function_ulps): Likewise.
33679         (init_max_error): Take function name as argument.  Look up ulps
33680         for that function.
33681         (print_ulps): Remove function.
33682         (print_max_error): Use prev_max_error instead of calling
33683         find_function_ulps.
33684         (print_complex_max_error): Use prev_real_max_error and
33685         prev_imag_max_error instead of calling find_complex_function_ulps.
33686         (check_float_internal): Take max_ulp parameter instead of calling
33687         find_test_ulps.  Don't call print_ulps.
33688         (check_float): Update call to check_float_internal.
33689         (check_complex): Update calls to check_float_internal.
33690         (START): Pass argument to init_max_error.
33691         * math/gen-libm-test.pl (%results): Don't include "kind"
33692         information.
33693         (parse_ulps): Don't handle ulps of individual tests.
33694         (print_ulps_file): Likewise.
33695         (output_ulps): Likewise.
33696         * math/README.libm-test: Update.
33697         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33698         individual tests.
33699         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
33700         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33701         * sysdeps/arm/libm-test-ulps: Likewise.
33702         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33703         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33704         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33705         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33706         * sysdeps/microblaze/libm-test-ulps: Likewise.
33707         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33708         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33709         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33710         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33711         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33712         * sysdeps/sh/libm-test-ulps: Likewise.
33713         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33714         * sysdeps/tile/libm-test-ulps: Likewise.
33715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33717 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
33719         * math/libm-test.inc (print_complex_max_error): Check separately
33720         whether real and imaginary errors are within allowed range and
33721         pass 0 to print_complex_function_ulps instead of value within
33722         allowed range.
33724 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33726         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33727         formatting.
33728         (get_handles_fopen): Likewise.
33729         (do_write_test): Likewise.
33731         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33733         * libio/fileops.c (do_ftell): Use cached offset when
33734         available.
33735         * libio/iofwide.c (do_ftell_wide): Likewise.
33736         * libio/iofdopen.c (_IO_new_fdopen): Don't use
33737         _IO_file_attach.
33738         * libio/wfileops.c (_IO_fwide): Don't cache offset.
33740         [BZ #16532]
33741         * libio/libioP.h (get_file_offset): New function.
33742         * libio/fileops.c (get_file_offset): Likewise.
33743         (do_ftell): Likewise.
33744         (_IO_new_file_seekoff): Split out ftell logic.
33745         * libio/wfileops.c (do_ftell_wide): Likewise.
33746         (_IO_wfile_seekoff): Split out ftell logic.
33747         * libio/tst-ftell-active-handler.c: New test case.
33748         * libio/Makefile (tests): Add it.
33750 2014-03-03  Roland McGrath  <roland@hack.frob.com>
33752         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33753         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33755 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33757         [BZ #16639]
33758         * nscd/connections.c (nscd_init): Call do_exit.
33759         (start_threads): Call do_exit and notify_parent.
33760         (begin_drop_privileges): Call do_exit.
33761         (finish_drop_privileges): Likewise.
33762         * nscd/selinux.c (preserve_capabilities): Likewise.
33763         (install_real_capabilities): Likewise.
33764         (nscd_selinux_enabled): Likewise.
33765         (avc_create_thread): Likewise.
33766         (avc_alloc_lock): Likewise.
33767         (nscd_avc_init): Likewise.
33768         * nscd/nscd.c (parent_fd): New static variable.
33769         (main): Create a pipe between parent and child processes.
33770         Skip closing parent_fd.
33771         (monitor_child): New function.
33772         (do_exit): Likewise.
33773         (notify_parent): Likewise.
33774         * nscd/nscd.h (notify_parent): Likewise.
33775         (do_exit): Likewise.
33777 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33779         * malloc/malloc.c (__libc_calloc): Revert last change.
33781 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33785 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33787         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33789         implementation.
33790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33791         (__libc_ifunc_impl_list): Likewise.
33792         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33793         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33794         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33795         * string/strrchr.c: Define STRRCHR.
33797 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33799         * benchtest/bench-strtok.c (simple_strtok): Delete.
33800         (strtok_string): Use as benchmark.
33801         * string/strtok (STRTOK): New macro.
33803 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33805         * manual/threads.texi: Add header and standard comments to all
33806         functions.
33808         * elf/dl-lookup.c (check_match): New function.
33809         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33810         (do_lookup_x): Remove nested function check_match. Use non-nested
33811         function check_match.
33813 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33815         * csu/Makefile (generated, before-compile): Use += rather than =.
33816         * catgets/Makefile (generated, generated-dirs): Likewise.
33817         * debug/Makefile (generated): Likewise.
33818         * dlfcn/Makefile (generated): Likewise.
33819         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33820         * iconvdata/Makefile (before-compile, generated): Likewise.
33821         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33822         * libio/Makefile (generated): Likewise.
33823         * malloc/Makefile (generated): Likewise.
33824         * manual/Makefile (generated, generated-dirs): Likewise.
33825         * misc/Makefile (generated): Likewise.
33826         * posix/Makefile (generated): Likewise.
33827         * resolv/Makefile (generated): Likewise.
33828         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33829         * timezone/Makefile (generated, generated-dirs): Likewise.
33831         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33833 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33836         power8 implementation.
33837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33838         file: POWER8 llround ifunc implementation.
33839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33840         (__lllround): Add POWER8 implementation.
33841         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33842         POWER8 llround implementation.
33844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33845         power8 implementation.
33846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33847         file: POWER8 llrint ifunc implementation.
33848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33849         Add POWER8 implementation.
33850         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33851         POWER8 llrint implementation.
33853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33854         power8 implementation.
33855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33856         file: POWER8 finite ifunc implementation.
33857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33858         Add POWER8 implementation.
33859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33860         Likewise.
33861         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33862         POWER8 finite implementation.
33863         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33866         power8 implementation.
33867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33868         file: POWER8 isinf ifunc implementation.
33869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33870         POWER8 implementation.
33871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33872         Likewise.
33873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33874         isinf implementation.
33875         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33877         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33878         (INIT_ARCH): Add hwcap2 initialization.
33879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33880         power8 implementation.
33881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33882         file: POWER8 isnan ifunc implementation.
33883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33884         POWER8 implementation.
33885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33886         Likewise.
33887         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33888         isnan implementation.
33889         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33891 2014-02-27  Joey Ye  <joey.ye@arm.com>
33893         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33894         (_FP_NANFRAC_Q): Set to zero.
33896 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33898         [BZ #16623]
33899         * math/auto-libm-test-in: New test inputs.
33900         * math/auto-libm-test-out: Regenerate.
33901         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33902         and DA.
33903         (__cos): Likewise.
33904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33906 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33908         * scripts/evaluate-test.sh: Take new argument indicating whether
33909         failure is expected.
33910         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33911         indicating whether failure is expected.
33912         * conform/Makefile (test-xfail-run-conformtest): New variable.
33913         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33914         level.
33915         * posix/Makefile (test-xfail-annexc): New variable.
33916         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33918 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33920         * argp/Makefile: Include Makeconfig immediately after defining
33921         subdir.
33922         * assert/Makefile: Likewise.
33923         * benchtests/Makefile: Likewise.
33924         * catgets/Makefile: Likewise.
33925         * conform/Makefile: Likewise.
33926         * crypt/Makefile: Likewise.
33927         * csu/Makefile: Likewise.
33928         (all): Remove target.
33929         * ctype/Makefile: Include Makeconfig immediately after defining
33930         subdir.
33931         * debug/Makefile: Likewise.
33932         * dirent/Makefile: Likewise.
33933         * dlfcn/Makefile: Likewise.
33934         * gmon/Makefile: Likewise.
33935         * gnulib/Makefile: Likewise.
33936         * grp/Makefile: Likewise.
33937         * gshadow/Makefile: Likewise.
33938         * hesiod/Makefile: Likewise.
33939         * hurd/Makefile: Likewise.
33940         (all): Remove target.
33941         * iconvdata/Makefile: Include Makeconfig immediately after
33942         defining subdir.
33943         * inet/Makefile: Likewise.
33944         * intl/Makefile: Likewise.
33945         * io/Makefile: Likewise.
33946         * libio/Makefile: Likewise.
33947         (all): Remove target.
33948         * locale/Makefile: Include Makeconfig immediately after defining
33949         subdir.
33950         * login/Makefile: Likewise.
33951         * mach/Makefile: Likewise.
33952         (all): Remove target.
33953         * malloc/Makefile: Include Makeconfig immediately after defining
33954         subdir.
33955         (all): Remove target.
33956         * manual/Makefile: Include Makeconfig immediately after defining
33957         subdir.
33958         * math/Makefile: Likewise.
33959         * misc/Makefile: Likewise.
33960         * nis/Makefile: Likewise.
33961         * nss/Makefile: Likewise.
33962         * po/Makefile: Likewise.
33963         (all): Remove target.
33964         * posix/Makefile: Include Makeconfig immediately after defining
33965         subdir.
33966         * pwd/Makefile: Likewise.
33967         * resolv/Makefile: Likewise.
33968         * resource/Makefile: Likewise.
33969         * rt/Makefile: Likewise.
33970         * setjmp/Makefile: Likewise.
33971         * shadow/Makefile: Likewise.
33972         * signal/Makefile: Likewise.
33973         * socket/Makefile: Likewise.
33974         * soft-fp/Makefile: Likewise.
33975         * stdio-common/Makefile: Likewise.
33976         * stdlib/Makefile: Likewise.
33977         * streams/Makefile: Likewise.
33978         * string/Makefile: Likewise.
33979         * sunrpc/Makefile: Likewise.
33980         (all): Remove target.
33981         * sysvipc/Makefile: Include Makeconfig immediately after defining
33982         subdir.
33983         * termios/Makefile: Likewise.
33984         * time/Makefile: Likewise.
33985         * timezone/Makefile: Likewise.
33986         (all): Remove target.
33987         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33988         subdir.
33989         * wctype/Makefile: Likewise.
33991 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33993         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33994         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33995         (libc_feholdexcept_setround_mips): Ditto.
33996         (libc_feholdsetround): New.
33997         (libc_feholdsetroundf): New.
33998         (libc_feholdsetroundl): New.
33999         (libc_feupdateenv_test_mips): New.
34000         (libc_feupdateenv_test): New.
34001         (libc_feupdateenv_testf): New.
34002         (libc_feupdateenv_testl): New.
34003         (libc_feresetround): New.
34004         (libc_feresetroundf): New.
34005         (libc_feresetroundl): New.
34006         (libc_fetestexcept_mips): New.
34007         (libc_fetestexcept): New.
34008         (libc_fetestexceptf): New.
34009         (libc_fetestexceptl): New.
34010         (HAVE_RM_CTX): New.
34011         (libc_feholdexcept_setround_mips_ctx): New.
34012         (libc_feholdexcept_setround_ctx): New.
34013         (libc_feholdexcept_setroundf_ctx): New.
34014         (libc_feholdexcept_setroundl_ctx): New.
34015         (libc_fesetenv_mips_ctx): New.
34016         (libc_fesetenv_ctx): New.
34017         (libc_fesetenv_ctxf): New.
34018         (libc_fesetenv_ctxl): New.
34019         (libc_feupdateenv_mips_ctx): New.
34020         (libc_feupdateenv_ctx): New.
34021         (libc_feupdateenvf_ctx): New.
34022         (libc_feupdateenvl_ctx): New.
34023         (libc_feholdsetround_mips_ctx): New.
34024         (libc_feholdsetround_ctx): New.
34025         (libc_feholdsetroundf_ctx): New.
34026         (libc_feholdsetroundl_ctx): New.
34027         (libc_feresetround_mips_ctx): New.
34028         (libc_feresetround_ctx): New.
34029         (libc_feresetroundf_ctx): New.
34030         (libc_feresetroundl_ctx): New.
34032 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34034         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34036         * manual/ipc.texi: New file.
34037         * manual/Makefile (chapters): Add ipc.
34038         * manual/job.texi: Add "Inter-Process Communication" to next.
34039         * manual/process.texi: Add "Inter-Process Communication" to prev.
34041 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34045 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34047         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34049         * manual/arith.texi: Fix spaces after sentences.
34050         * manual/charset.texi: Likewise.
34051         * manual/errno.texi: Likewise.
34052         * manual/install.texi: Likewise.
34053         * manual/llio.texi: Likewise.
34054         * manual/locale.texi: Likewise.
34055         * manual/maint.texi: Likewise.
34056         * manual/math.texi: Likewise.
34057         * manual/memory.texi: Likewise.
34058         * manual/message.texi: Likewise.
34059         * manual/probes.texi: Likewise.
34060         * manual/resource.texi: Likewise.
34061         * manual/signal.texi: Likewise.
34062         * manual/socket.texi: Likewise.
34063         * manual/stdio.texi: Likewise.
34064         * manual/string.texi: Likewise.
34065         * manual/time.texi: Likewise.
34066         * manual/users.texi: Likewise.
34068 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
34070         [BZ #16632]
34071         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34072         _DEFAULT_SOURCE is defined.
34074 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
34075             Carlos O'Donell  <carlos@redhat.com>
34077         [BZ #16613]
34078         * elf/dl-tls.c (_dl_count_modids): New function.
34079         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34080         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34081         audit library and increment generation counter.
34082         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34083         * elf/tst-audit9.c: New file.
34084         * elf/tst-auditmod9a.c: New file.
34085         * elf/tst-auditmod9b.c: New file.
34086         * elf/Makefile: Add rules to build and run tst-audit9.
34088 2014-02-25  Florian Weimer  <fweimer@redhat.com>
34090         [BZ #15347]
34091         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34093 2014-02-25  Will Newton  <will.newton@linaro.org>
34095         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34096         (__longjmp): Restore sp and lr before restoring callee
34097         saved registers.  Add longjmp and longjmp_target
34098         SystemTap probe point.
34099         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34100         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34101         Define to zero to match jmpbuf layout.
34102         * sysdeps/arm/setjmp.S: Include stap-probe.h.
34103         (__sigsetjmp): Save sp and lr before saving callee
34104         saved registers.  Add setjmp SystemTap probe point.
34106 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34108         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34110 2014-02-24  Andreas Schwab  <schwab@suse.de>
34112         [BZ #15804]
34113         * elf/pldd.c (wait_for_ptrace_stop): New function.
34114         (main): Call it after attaching.
34116 2014-02-22  Roland McGrath  <roland@hack.frob.com>
34118         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34119         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34120         Versions files is now verboten.
34121         * hurd/Versions (libc: GLIBC_2.0):
34122         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34123         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34124         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34125         * mach/Versions: Likewise.
34127         * csu/Versions: Remove unused %include.
34128         * resolv/Versions: Likewise.
34130 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
34132         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
34133         ($(objpfx)check-local-headers.out): Likewise.
34134         ($(objpfx)begin-end-check.out): Likewise.
34135         * Makerules (check-abi-%.out): Likewise.
34136         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
34137         ($(objpfx)test2.cat): Likewise.
34138         ($(objpfx)de/libc.cat): Likewise.
34139         ($(objpfx)test-gencat.out): Likewise.
34140         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
34141         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
34142         ($(objpfx)noload-mem): Likewise.
34143         ($(objpfx)tst-pathopt.out): Likewise.
34144         ($(objpfx)tst-rtld-load-self.out): Likewise.
34145         ($(objpfx)tst-array1-cmp.out): Likewise.
34146         ($(objpfx)tst-array1-static-cmp.out): Likewise.
34147         ($(objpfx)tst-array2-cmp.out): Likewise.
34148         ($(objpfx)tst-array3-cmp.out): Likewise.
34149         ($(objpfx)tst-array4-cmp.out): Likewise.
34150         ($(objpfx)tst-array5-cmp.out): Likewise.
34151         ($(objpfx)tst-array5-static-cmp.out): Likewise.
34152         ($(objpfx)check-textrel.out): Likewise.
34153         ($(objpfx)check-execstack.out): Likewise.
34154         ($(objpfx)check-localplt.out): Likewise.
34155         ($(objpfx)order2-cmp.out): Likewise.
34156         ($(objpfx)tst-leaks1-mem): Likewise.
34157         ($(objpfx)tst-leaks1-static-mem): Likewise.
34158         ($(objpfx)tst-initorder-cmp.out): Likewise.
34159         ($(objpfx)tst-initorder2-cmp.out): Likewise.
34160         ($(objpfx)tst-unused-dep.out): Likewise.
34161         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
34162         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34163         * iconv/Makefile (test-iconvconfig): Likewise.
34164         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
34165         ($(objpfx)iconv-test.out): Likewise.
34166         ($(objpfx)tst-tables.out): Likewise.
34167         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
34168         ($(objpfx)tst-gettext.out): Likewise.
34169         ($(objpfx)tst-translit.out): Likewise.
34170         ($(objpfx)tst-gettext2.out): Likewise.
34171         ($(objpfx)tst-gettext4.out): Likewise.
34172         ($(objpfx)tst-gettext6.out): Likewise.
34173         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
34174         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34175         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
34176         ($(objpfx)tst-fopenloc-mem.out): Likewise.
34177         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34178         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
34179         * posix/Makefile ($(objpfx)globtest.out): Likewise.
34180         ($(objpfx)wordexp-tst.out): Likewise.
34181         ($(objpfx)annexc.out): Likewise.
34182         ($(objpfx)tst-fnmatch-mem): Likewise.
34183         ($(objpfx)bug-regex2-mem): Likewise.
34184         ($(objpfx)bug-regex14-mem): Likewise.
34185         ($(objpfx)bug-regex21-mem): Likewise.
34186         ($(objpfx)bug-regex31-mem): Likewise.
34187         ($(objpfx)tst-vfork3-mem): Likewise.
34188         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34189         ($(objpfx)tst-pcre-mem): Likewise.
34190         ($(objpfx)tst-boost-mem): Likewise.
34191         ($(objpfx)tst-getconf.out): Likewise.
34192         ($(objpfx)bug-ga2-mem): Likewise.
34193         ($(objpfx)bug-glob2-mem): Likewise.
34194         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
34195         ($(objpfx)mtrace-tst-leaks2): Likewise.
34196         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
34197         ($(objpfx)tst-printf.out): Likewise.
34198         ($(objpfx)tst-setvbuf1.out): Likewise.
34199         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
34200         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
34201         ($(objpfx)tst-fmtmsg.out): Likewise.
34202         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
34203         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
34205         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
34206         * bits/sigaction.h [__USE_MISC]: Likewise.
34207         * bits/waitstatus.h: Update #endif comments.
34208         * ctype/ctype.h: Likewise.
34209         * dirent/dirent.h: Likewise.
34210         [__USE_MISC]: Remove redundant conditionals.
34211         * grp/grp.h: Update #endif comments.
34212         [__USE_GNU]: Remove redundant conditionals.
34213         [__USE_MISC]: Likewise.
34214         * inet/netinet/in.h [__USE_GNU]: Likewise.
34215         * io/sys/stat.h [__USE_MISC]: Likewise.
34216         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
34217         * libio/bits/stdio.h: Update #endif comments.
34218         [__USE_MISC]: Remove redundant conditionals.
34219         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
34220         * libio/stdio.h: Update #endif comments.
34221         [__USE_MISC]: Remove redundant conditionals.
34222         * math/bits/math-finite.h [__USE_MISC]: Likewise.
34223         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
34224         * math/math.h: Update #else and #endif comments.
34225         [__USE_MISC]: Remove redundant conditionals.
34226         * misc/sys/uio.h: Update #endif comments.
34227         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
34228         * posix/glob.h [__USE_MISC]: Likewise.
34229         * posix/sys/types.h: Update #endif comments.
34230         [__USE_MISC]: Remove redundant conditionals.
34231         * posix/sys/wait.h: Update #endif comments.
34232         [__USE_MISC]: Remove redundant conditionals.
34233         * posix/unistd.h: Update #endif comments.
34234         [__USE_MISC]: Remove redundant conditionals.
34235         * pwd/pwd.h [__USE_GNU]: Likewise.
34236         [__USE_MISC]: Likewise.
34237         * resolv/netdb.h [__USE_GNU]: Likewise.
34238         * signal/signal.h: Update #endif comments.
34239         [__USE_MISC]: Remove redundant conditionals.
34240         * stdlib/stdlib.h: Update #else and #endif comments.
34241         [__USE_MISC]: Remove redundant conditionals.
34242         [__USE_GNU]: Likewise.
34243         * string/bits/string2.h [__USE_MISC]: Likewise.
34244         * string/string.h: Update #endif comments.
34245         [__USE_MISC]: Remove redundant conditionals.
34246         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
34247         Likewise.
34248         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
34249         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
34250         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
34251         Likewise.
34252         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
34253         Likewise.
34254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
34255         comments.
34256         [__USE_MISC]: Remove redundant conditionals.
34257         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
34258         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
34259         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
34260         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
34261         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
34262         Likewise.
34263         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
34264         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
34265         Likewise.
34266         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
34267         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
34268         Likewise.
34269         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
34270         Likewise.
34271         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
34272         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
34273         Likewise.
34274         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
34275         Likewise.
34276         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
34277         * sysdeps/x86/bits/string.h: Update #endif comments.
34278         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
34279         conditionals.
34280         * time/sys/time.h: Update #endif comments.
34281         * time/time.h: Likewise.
34282         [__USE_MISC]: Remove redundant conditionals.
34284 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
34286         [BZ #16600]
34287         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
34289 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
34291         * Versions.def (librt): Add GLIBC_2.17.
34293 2014-02-21  Adam Conrad  <adconrad@0c3.net>
34295         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
34296         synonym for _SYS_AUXV_H to allow direct inclusion.
34297         * sysdeps/sparc/bits/hwcap.h: Likewise.
34298         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
34299         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
34300         * sysdeps/sparc/sysdep.h: Likewise.
34302 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34304         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
34306 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34308         * benchtests/bench-strrchr.c: Print length instead of position.
34310 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
34312         [BZ #16611]
34313         * sysdeps/unix/sysv/linux/kernel-features.h
34314         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
34315         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
34316         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
34317         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
34318         Likewise.
34319         [__i386__ || __powerpc__ || __sh__ || __sparc__]
34320         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34321         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
34322         (__ASSUME_SENDMMSG): Define instead of using previous
34323         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
34324         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34325         (__ASSUME_SENDMMSG_SYSCALL): Define.
34326         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34327         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
34328         Likewise.
34329         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34330         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34331         Likewise.
34332         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34333         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34334         Likewise.
34335         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
34336         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34337         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34338         [__ASSUME_SENDMMSG]: Change conditionals to
34339         [__ASSUME_SENDMMSG_SOCKETCALL].
34340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34341         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
34342         Define.
34343         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34344         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
34345         Likewise.
34346         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
34347         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34348         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34349         [!__ASSUME_SENDMMSG]: Change conditional to
34350         [!__ASSUME_SENDMMSG_SOCKETCALL].
34351         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34352         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34353         Define.
34355         [BZ #16610]
34356         * sysdeps/unix/sysv/linux/kernel-features.h
34357         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
34358         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
34359         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
34360         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
34361         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34362         [__i386__ || __sparc__]
34363         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34364         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
34365         (__ASSUME_RECVMMSG): Define instead of using previous
34366         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
34367         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34368         (__ASSUME_RECVMMSG_SYSCALL): Define.
34369         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34370         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34371         Likewise.
34372         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34373         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34374         Likewise.
34375         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34376         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34377         Likewise.
34378         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
34379         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34380         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34381         [__ASSUME_RECVMMSG]: Change condition to
34382         [__ASSUME_RECVMMSG_SOCKETCALL].
34383         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34384         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34385         Define.
34386         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34387         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34388         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34389         Likewise.
34390         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
34391         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34392         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34393         [!__ASSUME_RECVMMSG]: Change condition to
34394         [!__ASSUME_RECVMMSG_SOCKETCALL].
34395         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34396         (__ASSUME_RECVMMSG_SYSCALL): Define.
34398         [BZ #16609]
34399         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
34400         __powerpc__ || __s390__ || __sh__ || __sparc__]
34401         (__ASSUME_SOCKETCALL): Define.
34402         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
34403         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
34404         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
34405         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
34406         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34407         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34408         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
34409         (__ASSUME_ACCEPT4): Define instead of using previous
34410         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
34411         __powerpc__ || __sparc__ || __s390__)] condition.
34412         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34413         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34414         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
34415         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34416         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34417         [!__ASSUME_ACCEPT4]: Change condition to
34418         [!__ASSUME_ACCEPT4_SOCKETCALL].
34419         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34420         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
34421         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
34422         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34423         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
34424         __ASSUME_ACCEPT4_SYSCALL.
34425         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
34426         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
34427         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34428         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
34429         __ASSUME_ACCEPT4_SYSCALL.
34430         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
34431         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34432         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34433         [__ASSUME_ACCEPT4]: Change condition to
34434         [__ASSUME_ACCEPT4_SOCKETCALL].
34435         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34436         (__ASSUME_SOCKETCALL): Define.
34437         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
34438         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34439         (__ASSUME_SOCKETCALL): Define.
34440         (__ASSUME_ACCEPT4): Remove.
34441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
34442         Define.
34443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34444         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
34445         Likewise.
34446         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34447         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34449         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
34450         macro.
34451         (HWCAP_ARM_LPAE): Likewise.
34452         (HWCAP_ARM_EVTSTRM): Likewise.
34453         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
34454         Add vpfd32, lpae and evtstrm.
34455         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
34456         Increase to 22.
34458 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
34460         * math/auto-libm-test-in: Add tests of clog10.
34461         * math/auto-libm-test-out: Regenerated.
34462         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
34463         * sysdeps/i386/fpu/libm-test-ulps: Update.
34464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34466 2014-02-18  Andreas Schwab  <schwab@suse.de>
34468         [BZ #16574]
34469         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
34470         Store non-zero if the second buffer was newly allocated.
34471         (send_dg): Likewise.
34472         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
34473         to send_vc and send_dg.
34474         (res_nsend): Pass NULL for ansp2_malloced.
34475         * resolv/res_query.c (__libc_res_nquery): Add parameter
34476         answerp2_malloced and pass it down to __libc_res_nsend.
34477         (res_nquery): Pass additional NULL to __libc_res_nquery.
34478         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
34479         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
34480         second answer buffer if answerp2_malloced was set.
34481         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
34482         (__libc_res_nquerydomain): Add parameter
34483         answerp2_malloced and pass it down to __libc_res_nquery.
34484         (res_nquerydomain): Pass additional NULL to
34485         __libc_res_nquerydomain.
34486         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
34487         additional NULL to __libc_res_nsend and __libc_res_nquery.
34488         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
34489         additional NULL to __libc_res_nsearch.
34490         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
34491         parameter of __libc_res_nsearch to check for separately allocated
34492         second buffer.
34493         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
34494         __libc_res_nquery.
34495         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
34496         additional NULL to __libc_res_nquery.
34497         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
34498         __libc_res_nsearch.
34499         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
34500         * include/resolv.h: Update prototypes of __libc_res_nquery,
34501         __libc_res_nsearch, __libc_res_nsend.
34503 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
34505         * math/auto-libm-test-in: Add tests of fma.
34506         * math/auto-libm-test-out: Regenerated.
34507         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
34508         (fma_towardzero_test_data): Likewise.
34509         (fma_downward_test_data): Likewise.
34510         (fma_upward_test_data): Likewise.
34511         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
34512         mpc_mode.
34513         (rounding_modes): Add values for new field.
34514         (func_calc_method): Add value mpfr_fff_f.
34515         (func_calc_desc): Add mpfr_fff_f union field.
34516         (test_function): Add field exact_args.
34517         (FUNC): Add macro argument EXACT_ARGS.
34518         (FUNC_mpfr_f_f): Update call to FUNC.
34519         (FUNC_mpfr_f_f): Likewise.
34520         (FUNC_mpfr_ff_f): Likewise.
34521         (FUNC_mpfr_if_f): Likewise.
34522         (FUNC_mpc_c_f): Likewise.
34523         (FUNC_mpc_c_c): Likewise.
34524         (test_functions): Add fma.  Update calls to FUNC.
34525         (handle_input_arg): Add argument exact_args.
34526         (add_test): Update call to handle_input_arg.
34527         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
34528         (output_for_one_input_case): Update call to calc_generic_results.
34529         Recalculate exact zero results in each rounding mode.
34531         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
34532         non-negative before setting low bit.
34533         * math/auto-libm-test-in: Mark one asin test possibly having
34534         spurious underflow.
34535         * math/auto-libm-test-out: Regenerated.
34536         * sysdeps/i386/fpu/libm-test-ulps: Update.
34537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34539 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
34541         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
34542         * sysdeps/unix/sysv/linux/microblaze: Move directory from
34543         ports/sysdeps/unix/sysv/linux/microblaze.
34544         * README: Add missing listing for microblaze*-*-linux-gnu.
34546 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
34548         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
34549         duplicate code
34551 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
34553         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
34554         * sysdeps/unix/sysv/linux/ia64: Move directory from
34555         ports/sysdeps/unix/sysv/linux/ia64.
34556         * README: Update listing for ia64-*-linux-gnu.
34558 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
34559             Joseph Myers  <joseph@codesourcery.com>
34561         * Makeconfig (test-name): New variable.
34562         (evaluate-test): Likewise.
34563         * Makerules (do-test-clean): Remove .test-result files.
34564         (common-mostlyclean): Likewise.
34565         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
34566         * scripts/evaluate-test.sh: New file.
34568 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
34570         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
34571         separate $(objpfx)tst-fopenloc-cmp.out and
34572         $(objpfx)tst-fopenloc-mem.out targets.
34573         (tests): Update dependencies.
34574         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
34575         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
34576         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
34577         (tst-rxspencer-no-utf8-ARGS): New variable.
34578         (tst-rxspencer-no-utf8-ENV): Likewise.
34579         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
34580         instead of $(objpfx)tst-rxspencer-mem.
34581         ($(objpfx)tst-rxspencer-mem): Change target to
34582         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
34583         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
34584         * posix/tst-rxspencer-no-utf8.c: New file.
34586         * elf/Makefile ($(objpfx)order.out): Remove rule.
34587         [$(run-built-tests) = yes] (tests): Depend on
34588         $(objpfx)order-cmp.out.
34589         ($(objpfx)order-cmp.out): New rule.
34590         [$(run-built-tests) = yes] (tests): Depend on
34591         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
34592         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
34593         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
34594         $(objpfx)tst-array5-static-cmp.out.
34595         ($(objpfx)tst-array1.out): Remove rule.
34596         ($(objpfx)tst-array1-cmp.out): New rule.
34597         ($(objpfx)tst-array1-static.out): Remove rule.
34598         ($(objpfx)tst-array1-static-cmp.out): New rule.
34599         ($(objpfx)tst-array2.out): Remove rule.
34600         ($(objpfx)tst-array2-cmp.out): New rule.
34601         ($(objpfx)tst-array3.out): Remove rule.
34602         ($(objpfx)tst-array3-cmp.out): New rule.
34603         ($(objpfx)tst-array4.out): Remove rule.
34604         ($(objpfx)tst-array4-cmp.out): New rule.
34605         ($(objpfx)tst-array5.out): Remove rule.
34606         ($(objpfx)tst-array5-cmp.out): New rule.
34607         ($(objpfx)tst-array5-static.out): Remove rule.
34608         ($(objpfx)tst-array5-static-cmp.out): New rule.
34609         [$(run-built-tests) = yes] (tests): Depend on
34610         $(objpfx)order2-cmp.out.
34611         ($(objpfx)order2.out): Remove rule.
34612         ($(objpfx)order2-cmp.out): New rule.
34613         ($(objpfx)tst-initorder.out): Remove rule.
34614         [$(run-built-tests) = yes] (tests): Depend on
34615         $(objpfx)tst-initorder-cmp.out.
34616         ($(objpfx)tst-initorder-cmp.out): New rule.
34617         ($(objpfx)tst-initorder2.out): Remove rule.
34618         [$(run-built-tests) = yes] (tests): Depend on
34619         $(objpfx)tst-initorder2-cmp.out.
34620         ($(objpfx)tst-initorder2-cmp.out): New rule.
34621         [$(run-built-tests) = yes] (tests): Depend on
34622         $(objpfx)tst-unused-dep-cmp.out.
34623         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34624         ($(objpfx)tst-unused-dep-cmp.out): New rule.
34625         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34626         on $(objpfx)tst-setvbuf1-cmp.out.
34627         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34628         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34629         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34630         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34631         ($(objpfx)tst-svc.out): Remove rule.
34632         ($(objpfx)tst-svc-cmp.out): New rule.
34634 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
34636         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34637         * ctype/ctype.h [__USE_MISC]: Likewise.
34638         * dirent/dirent.h [__USE_MISC]: Likewise.
34639         * grp/grp.h [__USE_MISC]: Likewise.
34640         * io/fcntl.h [__USE_MISC]: Likewise.
34641         * io/sys/stat.h [__USE_MISC]: Likewise.
34642         * libio/stdio.h [__USE_MISC]: Likewise.
34643         * posix/unistd.h [__USE_MISC]: Likewise.
34644         * pwd/pwd.h [__USE_MISC]: Likewise.
34645         * stdlib.h [__USE_MISC]: Likewise.
34646         * string/bits/string2.h [__USE_MISC]: Likewise.
34647         * string/string.h [__USE_MISC]: Likewise.
34648         * time/time.h [__USE_MISC]: Likewise.
34650 2014-02-13  Andreas Schwab  <schwab@suse.de>
34652         [BZ #16574]
34653         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34654         second answer buffer if it was separately allocated.
34656 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
34658         * sysdeps/mips/math-tests.h: Include <features.h>.
34659         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34660         (ROUNDING_TESTS_long_double): Do not define.
34661         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34662         (EXCEPTION_TESTS_long_double): Likewise.
34663         * sysdeps/mips/mips64/libm-test-ulps: Update.
34665         * include/features.h (__USE_BSD): Remove macro definitions.
34666         (__USE_SVID): Likewise.
34667         (_BSD_SOURCE): Likewise.
34668         (_SVID_SOURCE): Likewise.
34669         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
34670         from definition of _DEFAULT_SOURCE.
34671         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
34672         [_DEFAULT_SOURCE].
34673         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
34674         * bits/mman.h [__USE_BSD]: Likewise.
34675         * bits/termios.h [__USE_BSD]: Likewise.
34676         * bits/waitstatus.h [__USE_BSD]: Likewise.
34677         * ctype/ctype.h [__USE_SVID]: Likewise.
34678         * dirent/dirent.h [__USE_BSD]: Likewise.
34679         * grp/grp.h [__USE_SVID]: Likewise.
34680         [__USE_BSD]: Likewise.
34681         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
34682         * io/fcntl.h [__USE_BSD]: Likewise.
34683         * io/ftw.h [__USE_BSD]: Likewise.
34684         * io/sys/stat.h [__USE_BSD]: Likewise.
34685         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
34686         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
34687         * libio/stdio.h [__USE_SVID]: Likewise.
34688         [__USE_BSD]: Likewise.
34689         * math/math.h [__USE_SVID]: Likewise.
34690         [__USE_BSD]: Likewise.
34691         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
34692         * misc/bits/syslog.h [__USE_BSD]: Likewise.
34693         * misc/search.h [__USE_SVID]: Likewise.
34694         * misc/sys/mman.h [__USE_BSD]: Likewise.
34695         * misc/sys/syslog.h [__USE_BSD]: Likewise.
34696         * misc/sys/uio.h [__USE_BSD]: Likewise.
34697         * posix/bits/unistd.h [__USE_BSD]: Likewise.
34698         * posix/glob.h [__USE_BSD]: Likewise.
34699         * posix/regex.h [__USE_BSD]: Likewise.
34700         * posix/sys/types.h [__USE_BSD]: Likewise.
34701         [__USE_SVID]: Likewise.
34702         * posix/sys/utsname.h [__USE_SVID]: Likewise.
34703         * posix/sys/wait.h [__USE_BSD]: Likewise.
34704         [__USE_SVID]: Likewise.
34705         * posix/unistd.h [__USE_BSD]: Likewise.
34706         [__USE_SVID]: Likewise.
34707         * pwd/pwd.h [__USE_SVID]: Likewise.
34708         * resolv/netdb.h [__USE_BSD]: Likewise.
34709         * setjmp/setjmp.h [__USE_BSD]: Likewise.
34710         * signal/signal.h [__USE_BSD]: Likewise.
34711         [__USE_SVID]: Likewise.
34712         * socket/sys/socket.h [__USE_BSD]: Likewise.
34713         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34714         * stdlib/stdlib.h [__USE_BSD]: Likewise.
34715         [__USE_SVID]: Likewise.
34716         * string/bits/string2.h [__USE_BSD]: Likewise.
34717         [__USE_SVID]: Likewise.
34718         * string/bits/string3.h [__USE_BSD]: Likewise.
34719         * string/endian.h [__USE_BSD]: Likewise.
34720         * string/string.h [__USE_SVID]: Likewise.
34721         [__USE_BSD]: Likewise.
34722         * string/strings.h [__USE_BSD]: Likewise.
34723         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34724         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34725         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34726         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34727         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34728         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34729         Likewise.
34730         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34731         Likewise.
34732         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34733         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34734         Likewise.
34735         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34736         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34737         Likewise.
34738         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34739         Likewise.
34740         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34741         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34742         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34743         Likewise.
34744         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34745         Likewise.
34746         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34747         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34748         * termios/termios.h [__USE_BSD]: Likewise.
34749         * time/sys/time.h [__USE_BSD]: Likewise.
34750         * time/time.h [__USE_BSD]: Likewise.
34751         [__USE_SVID]: Likewise.
34753         * Makefile (subdir_targets): Remove subdir_lint.out.
34755         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34756         (do-tst-printf): Likewise.
34757         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34758         $(objpfx)tst-printf.out.
34760         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34762         * Makerules (check-abi-%): Change target to
34763         $(objpfx)check-abi-%.out.
34764         (check-abi target): Update dependencies.
34765         (check-abi-pattern variable): Redirect output of diff to $@.
34766         (check-abi variable): Likewise.
34767         * elf/Makefile (check-abi): Update dependencies.
34769         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34770         unused.
34771         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34772         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34773         subnormal range.
34774         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34775         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34776         value has largest subnormal exponent.
34777         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34778         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34779         * sysdeps/aarch64/soft-fp/sfp-machine.h
34780         (_FP_TININESS_AFTER_ROUNDING): New macro.
34781         * sysdeps/alpha/soft-fp/sfp-machine.h
34782         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34783         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34784         Likewise.
34785         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34786         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34787         * sysdeps/mips/soft-fp/sfp-machine.h
34788         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34789         * sysdeps/powerpc/soft-fp/sfp-machine.h
34790         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34791         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34792         Likewise.
34793         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34794         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34795         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34796         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34797         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34798         Likewise.
34800 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34802         [BZ #16545]
34803         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34804         model 1.
34806 2014-02-12  Richard Henderson  <rth@redhat.com>
34808         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34809         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34810         * sysdeps/unix/sysv/linux/alpha: Move directory from
34811         ports/sysdeps/unix/sysv/linux/alpha.
34812         * README: Update listing for alpha-*-linux-gnu.
34814 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34816         * include/features.h: Update comment documenting feature test
34817         macros.
34818         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34819         _DEFAULT_SOURCE.
34820         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34821         (_SVID_SOURCE): Likewise.
34822         (_DEFAULT_SOURCE): Update description of default features.
34823         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34824         with _GNU_SOURCE.
34825         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34826         (S_ISVTX): Likewise.
34827         * manual/math.texi (Mathematical Constants): Likewise.
34828         * manual/signal.texi (Interrupted Primitives): Likewise.
34829         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34830         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34831         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34832         Don't refer to _SVID_SOURCE in warning text.
34834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34836         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34837         already defined.
34838         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34839         * sysdeps/mips/dl-lookup.c: Remove.
34840         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34842 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34844         [BZ #16447]
34845         * math/auto-libm-test-in: Add testcase for expl.
34846         * math/auto-libm-test-out: Regenerate.
34847         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34848         calculation of unsafe.
34849         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34851 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34853         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34854         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34855         ports/sysdeps/unix/sysv/linux/aarch64.
34856         * README: Update listing for aarch64*-*-linux-gnu.
34858 2014-02-11  Will Newton  <will.newton@linaro.org>
34860         * manual/probes.texi (Mathematical Function Probes): Use
34861         "triggered" instead of "hit".
34863         * manual/probes.texi (Internal Probes): Add documentation
34864         of setjmp, longjmp and longjmp_target probes.
34866         * include/stap-probe.h: Add comment about probe argument
34867         format.
34869         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34870         definition.  (tr_where, tr_freehook, tr_mallochook,
34871         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34873 2014-02-11  David S. Miller  <davem@davemloft.net>
34875         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34876         processing int_tests.
34878 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34880         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34881         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34882         * sysdeps/unix/sysv/linux/mips: Move directory from
34883         ports/sysdeps/unix/sysv/linux/mips.
34884         * README: Update listing for mips-*-linux-gnu and
34885         mips64-*-linux-gnu.
34887 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34889         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34890         * sysdeps/unix/sysv/linux/m68k: Move directory from
34891         ports/sysdeps/unix/sysv/linux/m68k.
34892         * README: Update listing for m68k-*-linux-gnu.
34894 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34896         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34897         * sysdeps/unix/sysv/linux/generic: Move directory from
34898         ports/sysdeps/unix/sysv/linux/generic.
34899         * sysdeps/unix/sysv/linux/tile: Move directory from
34900         ports/sysdeps/unix/sysv/linux/tile.
34901         * README: Update listing for tile*-*-linux-gnu.
34903 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34905         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34906         __builtin_expect.
34907         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34908         * catgets/open_catalog.c (__open_catalog): Likewise.
34909         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34910         * debug/confstr_chk.c: Likewise.
34911         * debug/fread_chk.c (__fread_chk): Likewise.
34912         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34913         * debug/getgroups_chk.c: Likewise.
34914         * debug/mbsnrtowcs_chk.c: Likewise.
34915         * debug/mbsrtowcs_chk.c: Likewise.
34916         * debug/mbstowcs_chk.c: Likewise.
34917         * debug/memcpy_chk.c: Likewise.
34918         * debug/memmove_chk.c: Likewise.
34919         * debug/mempcpy_chk.c: Likewise.
34920         * debug/memset_chk.c: Likewise.
34921         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34922         * debug/strcat_chk.c (__strcat_chk): Likewise.
34923         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34924         * debug/strncat_chk.c (__strncat_chk): Likewise.
34925         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34926         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34927         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34928         * debug/wcpncpy_chk.c: Likewise.
34929         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34930         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34931         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34932         * debug/wcsncpy_chk.c: Likewise.
34933         * debug/wcsnrtombs_chk.c: Likewise.
34934         * debug/wcsrtombs_chk.c: Likewise.
34935         * debug/wcstombs_chk.c: Likewise.
34936         * debug/wmemcpy_chk.c: Likewise.
34937         * debug/wmemmove_chk.c: Likewise.
34938         * debug/wmempcpy_chk.c: Likewise.
34939         * debug/wmemset_chk.c: Likewise.
34940         * dirent/scandirat.c (SCANDIRAT): Likewise.
34941         * dlfcn/dladdr1.c (dladdr1): Likewise.
34942         * dlfcn/dladdr.c (dladdr): Likewise.
34943         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34944         * dlfcn/dlerror.c (__dlerror): Likewise.
34945         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34946         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34947         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34948         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34949         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34950         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34951         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34952         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34953         Likewise.
34954         * elf/dl-conflict.c: Likewise.
34955         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34956         * elf/dl-dst.h: Likewise.
34957         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34958         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34959         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34960         * elf/dl-init.c (call_init, _dl_init): Likewise.
34961         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34962         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34963         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34964         Likewise.
34965         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34966         Likewise.
34967         * elf/dl-minimal.c (__libc_memalign): Likewise.
34968         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34969         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34970         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34971         * elf/dl-sym.c (do_sym): Likewise.
34972         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34973         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34974         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34975         * elf/dl-writev.h (_dl_writev): Likewise.
34976         * elf/ldconfig.c (search_dir): Likewise.
34977         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34978         (dl_main): Likewise.
34979         * elf/setup-vdso.h (setup_vdso): Likewise.
34980         * grp/compat-initgroups.c (compat_call): Likewise.
34981         * grp/fgetgrent.c (fgetgrent): Likewise.
34982         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34983         * grp/putgrent.c (putgrent): Likewise.
34984         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34985         Likewise.
34986         * hurd/hurdinit.c: Likewise.
34987         * iconvdata/8bit-gap.c (struct): Likewise.
34988         * iconvdata/ansi_x3.110.c : Likewise.
34989         * iconvdata/big5.c : Likewise.
34990         * iconvdata/big5hkscs.c : Likewise.
34991         * iconvdata/cp1255.c: Likewise.
34992         * iconvdata/cp1258.c : Likewise.
34993         * iconvdata/cp932.c : Likewise.
34994         * iconvdata/euc-cn.c: Likewise.
34995         * iconvdata/euc-jisx0213.c : Likewise.
34996         * iconvdata/euc-jp.c: Likewise.
34997         * iconvdata/euc-jp-ms.c : Likewise.
34998         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34999         * iconvdata/gb18030.c : Likewise.
35000         * iconvdata/gbbig5.c (const): Likewise.
35001         * iconvdata/gbgbk.c: Likewise.
35002         * iconvdata/gbk.c : Likewise.
35003         * iconvdata/ibm1364.c : Likewise.
35004         * iconvdata/ibm930.c : Likewise.
35005         * iconvdata/ibm932.c: Likewise.
35006         * iconvdata/ibm933.c : Likewise.
35007         * iconvdata/ibm935.c : Likewise.
35008         * iconvdata/ibm937.c : Likewise.
35009         * iconvdata/ibm939.c : Likewise.
35010         * iconvdata/ibm943.c: Likewise.
35011         * iconvdata/iso_11548-1.c: Likewise.
35012         * iconvdata/iso-2022-cn.c : Likewise.
35013         * iconvdata/iso-2022-cn-ext.c : Likewise.
35014         * iconvdata/iso-2022-jp-3.c: Likewise.
35015         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35016         * iconvdata/iso-2022-kr.c : Likewise.
35017         * iconvdata/iso646.c (gconv_end): Likewise.
35018         * iconvdata/iso_6937-2.c : Likewise.
35019         * iconvdata/iso_6937.c : Likewise.
35020         * iconvdata/iso8859-1.c: Likewise.
35021         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35022         * iconvdata/shift_jisx0213.c : Likewise.
35023         * iconvdata/sjis.c : Likewise.
35024         * iconvdata/t.61.c : Likewise.
35025         * iconvdata/tcvn5712-1.c : Likewise.
35026         * iconvdata/tscii.c: Likewise.
35027         * iconvdata/uhc.c : Likewise.
35028         * iconvdata/unicode.c (gconv_end): Likewise.
35029         * iconvdata/utf-16.c (gconv_end): Likewise.
35030         * iconvdata/utf-32.c (gconv_end): Likewise.
35031         * iconvdata/utf-7.c (base64): Likewise.
35032         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35033         * iconv/gconv_close.c (__gconv_close): Likewise.
35034         * iconv/gconv_open.c (__gconv_open): Likewise.
35035         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35036         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35037         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35038         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35039         (ucs4le_internal_loop_single): Likewise.
35040         * iconv/iconv.c (iconv): Likewise.
35041         * iconv/iconv_close.c: Likewise.
35042         * iconv/loop.c (SINGLE): Likewise.
35043         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35044         * include/atomic.h: Likewise.
35045         * inet/inet6_option.c (option_alloc): Likewise.
35046         * intl/bindtextdom.c (set_binding_values): Likewise.
35047         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35048         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35049         * intl/localealias.c (read_alias_file): Likewise.
35050         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35051         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35052         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35053         * libio/fmemopen.c (fmemopen): Likewise.
35054         * libio/iofgets.c (_IO_fgets): Likewise.
35055         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35056         * libio/iofgetws.c (fgetws): Likewise.
35057         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35058         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35059         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35060         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35061         * locale/findlocale.c (_nl_find_locale): Likewise.
35062         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35063         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35064         Likewise.
35065         * locale/setlocale.c (setlocale): Likewise.
35066         * login/programs/pt_chown.c (main): Likewise.
35067         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35068         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35069         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35070         (mmap, mmap64, mremap, munmap): Likewise.
35071         * math/e_exp2l.c: Likewise.
35072         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35073         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35074         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35075         * math/s_catan.c (__catan): Likewise.
35076         * math/s_catanf.c (__catanf): Likewise.
35077         * math/s_catanh.c (__catanh): Likewise.
35078         * math/s_catanhf.c (__catanhf): Likewise.
35079         * math/s_catanhl.c (__catanhl): Likewise.
35080         * math/s_catanl.c (__catanl): Likewise.
35081         * math/s_ccosh.c (__ccosh): Likewise.
35082         * math/s_ccoshf.c (__ccoshf): Likewise.
35083         * math/s_ccoshl.c (__ccoshl): Likewise.
35084         * math/s_cexp.c (__cexp): Likewise.
35085         * math/s_cexpf.c (__cexpf): Likewise.
35086         * math/s_cexpl.c (__cexpl): Likewise.
35087         * math/s_clog10.c (__clog10): Likewise.
35088         * math/s_clog10f.c (__clog10f): Likewise.
35089         * math/s_clog10l.c (__clog10l): Likewise.
35090         * math/s_clog.c (__clog): Likewise.
35091         * math/s_clogf.c (__clogf): Likewise.
35092         * math/s_clogl.c (__clogl): Likewise.
35093         * math/s_csin.c (__csin): Likewise.
35094         * math/s_csinf.c (__csinf): Likewise.
35095         * math/s_csinh.c (__csinh): Likewise.
35096         * math/s_csinhf.c (__csinhf): Likewise.
35097         * math/s_csinhl.c (__csinhl): Likewise.
35098         * math/s_csinl.c (__csinl): Likewise.
35099         * math/s_csqrt.c (__csqrt): Likewise.
35100         * math/s_csqrtf.c (__csqrtf): Likewise.
35101         * math/s_csqrtl.c (__csqrtl): Likewise.
35102         * math/s_ctan.c (__ctan): Likewise.
35103         * math/s_ctanf.c (__ctanf): Likewise.
35104         * math/s_ctanh.c (__ctanh): Likewise.
35105         * math/s_ctanhf.c (__ctanhf): Likewise.
35106         * math/s_ctanhl.c (__ctanhl): Likewise.
35107         * math/s_ctanl.c (__ctanl): Likewise.
35108         * math/w_pow.c: Likewise.
35109         * math/w_powf.c: Likewise.
35110         * math/w_powl.c: Likewise.
35111         * math/w_scalb.c (sysv_scalb): Likewise.
35112         * math/w_scalbf.c (sysv_scalbf): Likewise.
35113         * math/w_scalbl.c (sysv_scalbl): Likewise.
35114         * misc/error.c (error_tail): Likewise.
35115         * misc/pselect.c (__pselect): Likewise.
35116         * nis/nis_callback.c (__nis_create_callback): Likewise.
35117         * nis/nis_call.c (__nisfind_server): Likewise.
35118         * nis/nis_creategroup.c (nis_creategroup): Likewise.
35119         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35120         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35121         * nis/nis_getservlist.c (nis_getservlist): Likewise.
35122         * nis/nis_lookup.c (nis_lookup): Likewise.
35123         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35124         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35125         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35126         * nis/nis_xdr.c (xdr_endpoint): Likewise.
35127         * nis/nss_compat/compat-grp.c (getgrent_next_file)
35128         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35129         * nis/nss_compat/compat-initgroups.c (add_group)
35130         (internal_getgrent_r): Likewise.
35131         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
35132         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
35133         * nis/nss_compat/compat-spwd.c (getspent_next_file)
35134         (internal_getspnam_r): Likewise.
35135         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
35136         (_nss_nis_getaliasbyname_r): Likewise.
35137         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
35138         (_nss_nis_getntohost_r): Likewise.
35139         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
35140         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
35141         (_nss_nis_getgrgid_r): Likewise.
35142         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
35143         (internal_nis_gethostent_r, internal_gethostbyname2_r)
35144         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
35145         (_nss_nis_gethostbyname4_r): Likewise.
35146         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
35147         (initgroups_netid): Likewise.
35148         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
35149         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
35150         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
35151         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
35152         (_nss_nis_getprotobynumber_r): Likewise.
35153         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
35154         (_nss_nis_getsecretkey): Likewise.
35155         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
35156         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
35157         (_nss_nis_getpwuid_r): Likewise.
35158         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
35159         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
35160         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
35161         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
35162         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
35163         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
35164         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
35165         Likewise.
35166         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
35167         (_nss_nisplus_getntohost_r): Likewise.
35168         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
35169         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
35170         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
35171         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
35172         Likewise.
35173         * nis/nss_nisplus/nisplus-initgroups.c
35174         (_nss_nisplus_initgroups_dyn): Likewise.
35175         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
35176         (_nss_nisplus_getnetbyaddr_r): Likewise.
35177         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
35178         (_nss_nisplus_getprotobynumber_r): Likewise.
35179         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
35180         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
35181         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
35182         Likewise.
35183         * nis/nss_nisplus/nisplus-service.c
35184         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
35185         (_nss_nisplus_getservbyport_r): Likewise.
35186         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
35187         (_nss_nisplus_getspnam_r): Likewise.
35188         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
35189         Likewise.
35190         * nscd/aicache.c (addhstaiX): Likewise.
35191         * nscd/cache.c (cache_search, prune_cache): Likewise.
35192         * nscd/connections.c (register_traced_file, send_ro_fd)
35193         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
35194         (main_loop_epoll): Likewise.
35195         * nscd/grpcache.c (addgrbyX): Likewise.
35196         * nscd/hstcache.c (addhstbyX): Likewise.
35197         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35198         * nscd/mem.c (gc, mempool_alloc): Likewise.
35199         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
35200         (addinnetgrX): Likewise.
35201         * nscd/nscd-client.h (__nscd_acquire_maplock)
35202         (__nscd_drop_map_ref): Likewise.
35203         * nscd/nscd_getai.c (__nscd_getai): Likewise.
35204         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35205         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
35206         Likewise.
35207         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35208         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35209         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
35210         (__nscd_get_map_ref): Likewise.
35211         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35212         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
35213         Likewise.
35214         * nscd/pwdcache.c (addpwbyX): Likewise.
35215         * nscd/selinux.c (preserve_capabilities): Likewise.
35216         * nscd/servicescache.c (addservbyX): Likewise.
35217         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
35218         * posix/fnmatch.c (fnmatch): Likewise.
35219         * posix/getopt.c (_getopt_internal_r): Likewise.
35220         * posix/glob.c (glob, glob_in_dir): Likewise.
35221         * posix/wordexp.c (exec_comm_child): Likewise.
35222         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
35223         (getanswer_r, gaih_getanswer_slice): Likewise.
35224         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
35225         * resolv/res_init.c: Likewise.
35226         * resolv/res_mkquery.c (res_nmkquery): Likewise.
35227         * resolv/res_query.c (__libc_res_nquery): Likewise.
35228         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
35229         Likewise.
35230         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
35231         * stdio-common/perror.c (perror): Likewise.
35232         * stdio-common/printf_fp.c (___printf_fp): Likewise.
35233         * stdio-common/tmpnam.c (tmpnam): Likewise.
35234         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35235         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
35236         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
35237         Likewise.
35238         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
35239         * stdlib/putenv.c (putenv): Likewise.
35240         * stdlib/setenv.c (__add_to_environ): Likewise.
35241         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35242         * stdlib/strtol_l.c (INTERNAL): Likewise.
35243         * string/memmem.c (memmem): Likewise.
35244         * string/strerror.c (strerror): Likewise.
35245         * string/strnlen.c (__strnlen): Likewise.
35246         * string/test-memmem.c (simple_memmem): Likewise.
35247         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
35248         * sunrpc/pm_getport.c (__get_socket): Likewise.
35249         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
35250         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
35251         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
35252         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
35253         Likewise.
35254         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
35255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35256         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35257         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
35258         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35259         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
35260         Likewise.
35261         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
35262         Likewise.
35263         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35264         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35265         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35266         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35267         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
35268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
35269         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35270         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
35271         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35272         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
35273         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35274         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
35275         Likewise.
35276         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
35277         Likewise.
35278         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
35279         Likewise.
35280         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
35281         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35282         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
35283         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
35284         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
35285         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
35286         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35287         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
35288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
35289         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
35290         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
35291         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35292         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35293         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
35294         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35295         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35296         Likewise.
35297         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
35298         Likewise.
35299         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
35300         Likewise.
35301         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
35302         Likewise.
35303         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35304         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35305         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
35306         Likewise.
35307         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
35308         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
35309         * sysdeps/posix/opendir.c (__opendirat): Likewise.
35310         * sysdeps/posix/sleep.c: Likewise.
35311         * sysdeps/posix/tempname.c: Likewise.
35312         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
35313         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35314         Likewise.
35315         * sysdeps/powerpc/powerpc32/dl-machine.h
35316         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
35317         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35318         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35319         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
35320         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
35321         Likewise.
35322         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
35323         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
35324         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35325         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
35326         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35327         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
35328         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
35329         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
35330         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35331         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
35332         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
35333         (elf_machine_lazy_rel): Likewise.
35334         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35335         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
35336         (elf_machine_lazy_rel): Likewise.
35337         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
35338         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
35339         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
35340         * sysdeps/unix/grantpt.c (grantpt): Likewise.
35341         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
35342         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
35343         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35344         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35345         Likewise.
35346         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
35347         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
35348         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
35349         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
35350         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35351         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35352         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
35353         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
35354         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
35355         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35356         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35357         Likewise.
35358         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
35359         (__posix_fallocate64_l64): Likewise.
35360         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
35361         (posix_fallocate): Likewise.
35362         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
35363         Likewise.
35364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35365         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
35366         (getifaddrs_internal): Likewise.
35367         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
35368         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
35369         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
35370         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35371         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35372         (__posix_fallocate64_l64): Likewise.
35373         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35374         Likewise.
35375         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
35376         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
35377         (__get_clockfreq): Likewise.
35378         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
35379         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35380         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
35381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35383         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
35384         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
35385         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
35386         Likewise.
35387         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
35388         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
35389         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
35390         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
35391         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35392         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
35393         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
35394         Likewise.
35395         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35396         (posix_fallocate): Likewise.
35397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35398         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
35399         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
35400         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
35401         (elf_machine_rela, elf_machine_rela_relative)
35402         (elf_machine_lazy_rel): Likewise.
35403         * time/asctime.c (asctime_internal): Likewise.
35404         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
35405         * time/tzset.c (__tzset_parse_tz): Likewise.
35406         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35407         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35408         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
35409         * wcsmbs/wcsmbsload.h: Likewise.
35411         [BZ #15894]
35412         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
35414         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
35415         (arena_get2): Remove THREAD_STATS conditionals.
35416         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
35417         (__malloc_stats, int): Likewise.
35419 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
35421         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
35422         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
35424         * manual/setjmp.texi: Fix typos/grammar errors.
35426         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
35427         Only return early when n is <= 0.  Delete unused return statement.
35429         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
35430         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
35431         * debug/tst-longjmp_chk3.c: New file.
35433         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
35434         (test_main): Replace code with set_fortify_handler call.
35435         * debug/test-strcpy_chk.c: Likewise.
35436         * debug/tst-chk1.c: Likewise.
35437         * debug/tst-longjmp_chk.c: Likewise.
35438         * test-skeleton.c: Include fcntl.h & paths.h
35439         (set_fortify_handler): Define.
35441         * debug/tst-longjmp_chk.c: Add header comment and include
35442         ../test-skeleton.c.
35443         (do_test): Mark static.
35444         (TEST_FUNCTION): Define.
35446         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
35447         (IP_PMTUDISC_INTERFACE): Likewise.
35448         (IP_MULTICAST_IF): Likewise.
35449         (IP_MULTICAST_TTL): Likewise.
35450         (IP_MULTICAST_LOOP): Likewise.
35451         (IP_ADD_MEMBERSHIP): Likewise.
35452         (IP_DROP_MEMBERSHIP): Likewise.
35453         (IP_UNBLOCK_SOURCE): Likewise.
35454         (IP_BLOCK_SOURCE): Likewise.
35455         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
35456         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
35457         (IP_MSFILTER): Likewise.
35458         (MCAST_JOIN_GROUP): Likewise.
35459         (MCAST_BLOCK_SOURCE): Likewise.
35460         (MCAST_UNBLOCK_SOURCE): Likewise.
35461         (MCAST_LEAVE_GROUP): Likewise.
35462         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35463         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35464         (MCAST_MSFILTER): Likewise.
35465         (IP_MULTICAST_ALL): Likewise.
35466         (IP_UNICAST_IF): Likewise.
35468         * timezone/Makefile: Delete $(have-ksh) check.
35469         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
35470         * timezone/tzselect.ksh: Add +x mode bits.
35472         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
35473         (ANON_INODE_FS_MAGIC): Likewise.
35474         (BDEVFS_MAGIC): Likewise.
35475         (BINFMTFS_MAGIC): Likewise.
35476         (BTRFS_TEST_MAGIC): Likewise.
35477         (CRAMFS_MAGIC_WEND): Likewise.
35478         (DEBUGFS_MAGIC): Likewise.
35479         (ECRYPTFS_SUPER_MAGIC): Likewise.
35480         (EXT3_SUPER_MAGIC): Likewise.
35481         (EXT4_SUPER_MAGIC): Likewise.
35482         (FUTEXFS_SUPER_MAGIC): Likewise.
35483         (HOSTFS_SUPER_MAGIC): Likewise.
35484         (HUGETLBFS_MAGIC): Likewise.
35485         (MINIX3_SUPER_MAGIC): Likewise.
35486         (MTD_INODE_FS_MAGIC): Likewise.
35487         (NILFS_SUPER_MAGIC): Likewise.
35488         (OPENPROM_SUPER_MAGIC): Likewise.
35489         (PIPEFS_MAGIC): Likewise.
35490         (PSTOREFS_MAGIC): Likewise.
35491         (QNX6_SUPER_MAGIC): Likewise.
35492         (RAMFS_MAGIC): Likewise.
35493         (REISERFS_SUPER_MAGIC_STRING): Likewise.
35494         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
35495         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
35496         (SECURITYFS_MAGIC): Likewise.
35497         (SELINUX_MAGIC): Likewise.
35498         (SMACK_MAGIC): Likewise.
35499         (SOCKFS_MAGIC): Likewise.
35500         (SQUASHFS_MAGIC): Likewise.
35501         (STACK_END_MAGIC): Likewise.
35502         (TMPFS_MAGIC): Likewise.
35503         (USBDEVICE_SUPER_MAGIC): Likewise.
35504         (V9FS_MAGIC): Likewise.
35505         (XENFS_SUPER_MAGIC): Likewise.
35506         (CRAMFS_MAGIC): Fix typo in comment.
35507         (EXT2_SUPER_MAGIC): Update comment.
35508         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
35510 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
35512         * sysdeps/arm: Move directory from ports/sysdeps/arm.
35513         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
35514         * sysdeps/unix/sysv/linux/arm: Move directory from
35515         ports/sysdeps/unix/sysv/linux/arm.
35516         * README: Update listing for arm-*-linux-gnueabi.
35518         * README: Remove mention of am33.
35520 2014-02-07  Roland McGrath  <roland@hack.frob.com>
35522         * bits/sigset.h (__sigemptyset): Use a statement expression rather
35523         than the comma operator, to avoid "rhs of comma has no effect"
35524         compiler warnings.
35525         (__sigfillset, __sigandset, __sigorset): Likewise.
35526         * include/signal.h (__sigemptyset): Likewise.
35527         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
35529 2014-02-07  Allan McRae  <allan@archlinux.org>
35531         * version.h (RELEASE): Set to "development".
35532         (VERSION): Set to "2.19.90"
35533         * NEWS: Add 2.20 section.
35535 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
35537         [BZ #16529]
35538         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
35540 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35542         * manual/contrib.texi: Update entry for Carlos O'Donell,
35543         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
35545 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
35547         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
35549         * sysdeps/unix/sysv/linux/kernel-features.h
35550         [__LINUX_KERNEL_VERSION >= 0x020621]
35551         (__ASSUME_PROC_PID_TASK_COMM): Define.
35553 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35555         [BZ #16398]
35556         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
35557         conversion when destination buffer does not have enough space.
35558         * libio/tst-ftell-partial-wide.c: New test case.
35559         * libio/Makefile (tests): Add tst-ftell-partial-wide.
35561         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
35562         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
35563         Leonard and Allan McRae.
35565 2014-02-04  David S. Miller  <davem@davemloft.net>
35567         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
35568         32-bit.
35570 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35573         New file
35574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35575         New file
35576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35577         New file.
35578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35579         New file.
35580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35581         New file.
35582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35583         New file.
35584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35585         New file.
35586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35587         New file.
35588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35589         New file.
35590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35591         New file.
35592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35593         New file.
35594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35595         New file.
35596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35597         New file.
35599 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35601         * nptl/shlib-versions: Change powerpc*le start to 2.17.
35602         * shlib-versions: Likewise.
35604 2014-02-04  Roland McGrath  <roland@hack.frob.com>
35605             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35607         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
35608         (abilist-pattern): New variable, set to %-le.abilist.
35610         * Makerules (abilist-pattern): New variable.
35611         (vpath): Use $(abilist-pattern) in place of %.abilist.
35612         (check-abi-% pattern rule): Likewise.
35613         (check-abi, update-abi): Likewise.
35615 2014-02-04  Eric Wong  <normalperson@yhbt.net>
35617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35619 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
35621         * manual/startup.texi: Add next, previous, and top entries for
35622         the `Program Arguments' and `Environment Variables' nodes.
35624 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
35626         * manual/macros.texi: Add comments before MTASC-safety macros.
35628         * manual/users.texi: Document MTASC-safety properties.
35630         * manual/threads.texi (pthread_key_create, pthread_key_delete)
35631         (pthread_getspecific, pthread_setspecific): Format with
35632         @deftypefun, and add @safety note.
35633         * manual/signal.texi: Move comments that analyze the above
35634         functions to their home place.
35636 2014-02-03  Allan McRae  <allan@archlinux.org>
35638         * po/sl.po: Update Slovenian translation from translation project.
35640 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
35642         * manual/time.texi (timegm): Add missing blank after @c.
35643         Reported by Joseph Myers <joseph@codesourcery.com>.
35645 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
35647         * manual/check-safety.sh: New.
35648         * manual/Makefile ($(objpfx)stamp-summary): Run it.
35650         * manual/terminal.texi: Document MTASC-safety properties.
35652         * manual/filesys.texi: Document MTASC-safety properties.
35654         * manual/errno.texi: Document MTASC-safety properties.
35656         * manual/intro.texi: Document safety identifiers and
35657         conditionals.
35659         * manual/string.texi (wcstok): Fix prototype.
35660         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
35662         * manual/time.texi: Document MTASC-safety properties.
35664         * manual/string.texi: Document MTASC-safety properties.
35666         * manual/threads.texi: Document MTASC-safety properties.
35668         * manual/stdio.texi: Document MTASC-safety properties.
35670         * manual/syslog.texi: Document MTASC-safety properties.
35672         * manual/sysinfo.texi: Document MTASC-safety properties.
35674         * manual/startup.texi: Document MTASC-safety properties.
35676         * manual/socket.texi: Document MTASC-safety properties.
35678         * manual/signal.texi: Document MTASC-safety properties.
35680 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
35682         * manual/setjmp.texi: Document MTASC-safety properties.
35684         * manual/search.texi: Document MTASC-safety properties.
35686         * manual/resource.texi: Document MTASC-safety properties.
35688         * manual/process.texi: Document MTASC-safety properties.
35690         * manual/platform.texi: Document MTASC-safety properties.
35692         * manual/pipe.texi: Document MTASC-safety properties.
35694         * manual/pattern.texi: Document MTASC-safety properties.
35696         * manual/message.texi: Document MTASC-safety properties.
35698         [BZ #12751]
35699         * manual/memory.texi: Document MTASC-safety properties.
35701         * manual/math.texi: Document MTASC-safety properties.
35703         * manual/locale.texi: Document MTASC-safety properties.
35705         * manual/llio.texi: Document MTASC-safety properties.
35707         * manual/libdl.texi: New.
35709         * manual/lang.texi: Document MTASC-safety properties.
35711         * manual/job.texi: Document MTASC-safety properties.
35713         * manual/getopt.texi: Document MTASC-safety properties.
35715         * manual/ctype.texi: Document MTASC-safety properties.
35717 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
35719         [BZ #16046]
35720         * csu/libc-tls.c (static_map): Remove variable.
35721         (__libc_setup_tls): Use main executable's link map for TLS data.
35722         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35723         casing for LM_ID_BASE and GL(dl_nns).
35724         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35725         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
35726         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35727         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35728         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35729         member.
35730         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35731         l_phnum members.
35733 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
35735         * manual/debug.texi: Document MTASC-safety properties.
35737 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
35739         [BZ #16510]
35740         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35741         of __x86_64__ when disabling x87 inline functions.
35743 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
35745         * manual/charset.texi: Document MTASC-safety properties.
35747         * manual/crypt.texi: Document MTASC-safety properties.
35749         * manual/conf.texi: Document MTASC-safety properties.
35751         * manual/arith.texi: Document MTASC-safety properties.
35753         * manual/argp.texi: Document MTASC-safety properties.
35755         * manual/macros.texi: Introduce macros to document multi
35756         thread, asynchronous signal and asynchronous cancellation
35757         safety properties.
35758         * manual/intro.texi: Introduce the properties themselves.
35760 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35762         * sysdeps/sh/sh4/Makefile: New file.
35764 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35766         * math/gen-libm-test.pl ($srcdir): New variable.
35767         ($auto_input): Use it.
35769 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35771         [BZ #16506]
35772         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35773         access beyond array bounds when parsing netgroups file.
35775         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35776         the old buffer before realloc.
35778 2014-01-27  Allan McRae  <allan@archlinux.org>
35780         * po/fr.po: Update French translation from translation project.
35782 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35784         * sysdeps/sh/libm-test-ulps: Regenerate.
35786 2014-01-24  David S. Miller  <davem@davemloft.net>
35788         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35790 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35792         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35793         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35795 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35797         [BZ #16474]
35798         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35799         string pointers after reallocation.
35801 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35803         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35804         __SH4A__ instead of __SH_FPU_ANY__.
35806 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35808         * sysdeps/sh/fpu_control.h: New file.
35809         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35810         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35811         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35812         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35813         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35814         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35815         * sysdeps/sh/sys/ucontext.h: Remove.
35816         * sysdeps/sh/sys: Remove directory.
35818 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35820         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35821         s390/sys/ucontext.h.
35822         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35823         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35825 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35827         [BZ #15605]
35828         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35830 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35832         [BZ#16431]
35833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35834         Adjust the vDSO correctly for internal calls.
35835         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35837 2014-01-20  Allan McRae  <allan@archlinux.org>
35839         * po/ca.po: Update Catalan translation from translation project.
35841 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35843         * sysdeps/s390/sotruss-lib.c: New file.
35845 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35847         [BZ#16430]
35848         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35849         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35850         local calls issues by not having a PLT stub required for IFUNC calls.
35851         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35853 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35855         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35856         * math/test-fpucw-static.c: Likewise.
35858 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35860         [BZ #16453]
35861         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35863 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35865         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35866         implementation for powerpc.
35868 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35870         [BZ #14782]
35871         * sysdeps/posix/system.c (__libc_system): Do not enable
35872         asynchronous cancellation.
35874 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35876         [BZ #16427]
35877         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35878         handling only for numbers special also in the IEEE case.
35880 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35882         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35884 2014-01-11  Allan McRae  <allan@archlinux.org>
35886         * po/bg.po: Update Bulgarian translation from translation project.
35888         * po/de.po: Update German translation from translation project.
35890 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35892         * sysdeps/generic/gcc-compat.h: New file.
35894 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35896         * benchtests/asin-inputs: Correct slow inputs.
35897         * benchtests/acos-inputs: Likewise.
35899 2014-01-10  Allan McRae  <allan@archlinux.org>
35901         * po:sv.po: Update Swedish translation from translation project.
35903         * po/vi.po: Update Vietnamese translation from translation project.
35905         * po/eo.po: Update Esperanto translation from translation project.
35907         * po/cs.po: Update Czech translation from translation project.
35909         * po/nl.po: Update Dutch translation from translation project.
35911         * po/pl.po: Update Polish translation from translation project.
35913         * po/ru.po: Update Russian translation from translation project.
35915         * po/uk.po: Update Ukrainian translation from translation project.
35917 2014-01-08  Brooks Moses  <bmoses@google.com>
35919         * elf/dl-load.c: Fix comment typo.
35921 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35923         * po/header.pot: Rename to...
35924         * po/pot.header: ... this.
35925         * po/Makefile: Use pot.header.
35927 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35928             Maxim Kuvyrkov  <maxim@kugelworks.com>
35930         [BZ #16394]
35931         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35932         SRC and DEST against LEN.
35934 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35936         [BZ #16414]
35937         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35938         implementation.
35939         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35941 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35945 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35947         [BZ #16408]
35948         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35949         for large positive arguments.
35951 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35953         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35955         * math/auto-libm-test-in: Mark various tests with
35956         xfail-rounding:ldbl-128ibm.
35957         * math/auto-libm-test-out: Regenerated.
35959         [BZ #16407]
35960         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35961         Increase overflow threshold.
35963 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35965         [BZ #14286]
35966         * stdio-common/vfprintf.c: Check for integer overflow.
35968 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35970         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35971         the first argument and return value of __tls_get_addr_internal.
35973 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35975         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35976         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35978 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35980         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35981         * sysdeps/s390/rtld-global-offsets.sym: New file.
35982         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35983         GLIBC_2.19 symbol.
35984         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35985         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35986         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35987         ... this.
35988         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35989         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35990         ... this.
35991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35992         Regenerate.
35993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35994         Regenerate.
35995         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35996         halfs of GPRs for high_gprs contexts.
35997         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35998         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35999         field.
36000         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36001         uc_flags field.
36002         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36003         64 bit versions:
36004         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36005         for high GPRs (uc_high_gprs) and for future extensions
36006         (__reserved).
36007         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36008         for future extensions (__reserved).
36009         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36010         64 bit versions:
36011         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36012         SC_HIGHGPRS offset definition.
36013         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36014         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36016         * Versions.def: Add GLIBC_2.19 for libpthread.
36017         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36018         siglongjmp for libpthread with GLIBC_2.19 symver.
36019         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36020         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36021         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36022         * sysdeps/s390/__longjmp.c: New file.
36023         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36024         * sysdeps/s390/longjmp.c: New file.
36025         * sysdeps/s390/setjmp.S: New file.
36026         * sysdeps/s390/sigjmp.S: New file.
36027         * sysdeps/s390/v1-longjmp.c: New file.
36028         * sysdeps/s390/v1-setjmp.h: New file.
36029         * sysdeps/s390/v1-sigjmp.c: New file.
36030         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36031         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36032         GLIBC_2.19 version.
36033         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36034         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36035         versioned symbols for ____longjmp_chk.
36036         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36037         Likewise.
36038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36039         Regenerate.
36040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36041         Regenerate.
36042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36043         Regenerate.
36044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36045         Regenerate.
36046         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36047         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36048         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36049         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36050         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36051         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36052         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36053         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36054         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36055         * sysdeps/s390/rtld-__longjmp.c: New file.
36056         * sysdeps/s390/rtld-setjmp.S: New file.
36058 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36060         [BZ #16400]
36061         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36062         Return -__logl (x) for small positive arguments without evaluating
36063         a polynomial.
36065 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
36067         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36068         Rename to ...
36069         (__ptrace_peeksiginfo_args): ... this.
36070         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36071         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36072         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36074 2014-01-06  Allan McRae  <allan@archlinux.org>
36076         * inet/netinet/in.h: Fix typo in comment.
36078 2014-01-05  Andreas Jaeger  <aj@suse.de>
36080         * sysdeps/i386/fpu/libm-test-ulps: Update.
36082 2014-01-05  Allan McRae  <allan@archlinux.org>
36084         * po/libc.pot: Regenerated.
36086         * malloc/memusagestat.c: Fix gettext call formatting.
36088 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
36090         * nscd/nscd.c: Improve usage() output.
36092 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
36094         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36095         * sysdeps/unix/sysv/linux/configure: Regenerated.
36096         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36097         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36099 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36101         [BZ #16390]
36102         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36103         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36105 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36107         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36108         extra tokens at end of #undef directive.
36109         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36110         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36111         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36113 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36115         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36117         * math/auto-libm-test-in: Mark various tests with
36118         xfail-rounding:ldbl-128ibm.
36119         * math/auto-libm-test-out: Regenerated.
36121 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
36123         [BZ #16386]
36124         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36125         numbers with subnormal high part when calculating exponent.
36127         [BZ #16385]
36128         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36129         fabs.
36131         [BZ #16384]
36132         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
36133         M_LN2l.
36134         (__ieee754_acoshl): Use __log1pl not __log1p.
36136 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
36138         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
36139         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
36140         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
36141         (grow_heap, heap_trim, _int_new_arena, get_free_list)
36142         (reused_arena, arena_get2): Convert to GNU style.
36143         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
36144         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
36145         (memalign_check, __malloc_set_state): Likewise.
36146         * malloc/mallocbug.c (main): Likewise.
36147         * malloc/malloc.c (__malloc_assert, malloc_init_state)
36148         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
36149         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
36150         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
36151         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
36152         (__posix_memalign, malloc_info): Likewise.
36153         * malloc/malloc.h: Likewise.
36154         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
36155         (mallochook, memalignhook, reallochook, mabort): Likewise.
36156         * malloc/mcheck.h: Likewise.
36157         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
36158         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
36159         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
36160         * malloc/morecore.c (__default_morecore): Likewise.
36161         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
36162         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
36163         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
36164         (print_and_abort): Likewise.
36165         * malloc/obstack.h: Likewise.
36166         * malloc/set-freeres.c (__libc_freeres): Likewise.
36167         * malloc/tst-mallocstate.c (main): Likewise.
36168         * malloc/tst-mtrace.c (main): Likewise.
36169         * malloc/tst-realloc.c (do_test): Likewise.
36171 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36173         [BZ #16366]
36174         * nscd/netgroupcache.c (do_notfound): New function.
36175         (addgetnetgrentX): Use it.
36177         [BZ # 16365]
36178         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
36179         NSS_STATUS_NOTFOUND.
36181 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
36183         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36186 2014-01-01  Allan McRae  <allan@archlinux.org>
36188         * scripts/update-copyrights: Update configure input file suffix.
36190         * NEWS: Update copyright year.
36191         * catgets/gencat.c: Likewise.
36192         * csu/version.c: Likewise.
36193         * debug/catchsegv.sh: Likewise.
36194         * debug/pcprofiledump.c: Likewise.
36195         * debug/xtrace.sh: Likewise.
36196         * elf/ldconfig.c: Likewise.
36197         * elf/ldd.bash.in: Likewise.
36198         * elf/pldd.c: Likewise.
36199         * elf/sotruss.ksh: Likewise.
36200         * elf/sprof.c: Likewise.
36201         * iconv/iconv_prog.c: Likewise.
36202         * iconv/iconvconfig.c: Likewise.
36203         * locale/programs/locale.c: Likewise.
36204         * locale/programs/localedef.c: Likewise.
36205         * login/programs/pt_chown.c: Likewise.
36206         * malloc/memusage.sh: Likewise.
36207         * malloc/memusagestat.c: Likewise.
36208         * malloc/mtrace.pl: Likewise.
36209         * manual/libc.texinfo: Likewise.
36210         * nscd/nscd.c: Likewise.
36211         * nss/getent.c: Likewise.
36212         * nss/makedb.c: Likewise.
36213         * posix/getconf.c: Likewise.
36214         * scripts/test-installation.pl: Likewise.
36216         * All files with FSF copyright notices: Update copyright dates
36217         using scripts/update-copyrights.
36218         * intl/plural.c: Regenerated.
36219         * locale/programs/charmap-kw.h: Likewise.
36220         * locale/programs/locfile-kw.h: Likewise.
36222 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
36224         * sysdeps/unix/sysv/linux/configure: Regenerated.
36225         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
36226         the linux/fanotify.h header.
36227         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
36228         HAVE_LINUX_FANOTIFY_H is defined.
36230 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36232         * benchtests/cos-inputs: New inputs.
36233         * benchtests/sin-inputs: Likewise.
36235         * benchtests/atan-inputs: New inputs. Fix name of multiple
36236         precision fallback inputs.
36238         * benchtests/atanh-inputs: New inputs.
36239         * benchtests/tanh-inputs: Likewise.
36241         * benchtests/acosh-inputs: New inputs.
36242         * benchtests/asinh-inputs: Likewise.
36244         * benchtests/cosh-inputs: New inputs.
36245         * benchtests/sinh-inputs: Likewise.
36247         * benchtests/acos-inputs: Add more inputs.
36248         * benchtests/asin-inputs: Likewise.
36250 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
36252         [BZ #16375]
36253         * manual/arith.texi: Fix spelling.
36254         * manual/charset.texi: Likewise.
36255         * manual/errno.texi: Likewise.
36256         * manual/filesys.texi: Likewise.
36257         * manual/lang.texi: Likewise.
36258         * manual/llio.texi: Likewise.
36259         * manual/locale.texi: Likewise.
36260         * manual/message.texi: Likewise.
36261         * manual/resource.texi: Likewise.
36262         * manual/search.texi: Likewise.
36263         * manual/setjmp.texi: Likewise.
36264         * manual/stdio.texi: Likewise.
36265         * manual/string.texi: Likewise.
36266         * manual/sysinfo.texi: Likewise.
36267         * manual/time.texi: Likewise.
36269 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
36271         * po/sl.po: New file.
36273 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
36275         * .gitignore: Add core/.gdbinit/.gdb_history.
36277 2013-12-27  Allan McRae  <allan@archlinux.org>
36279         [BZ #16369]
36280         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
36281         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
36283 2013-12-24  Brooks Moses  <bmoses@google.com>
36285         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
36286         all compilers that claim C++98 compliance, not just GCC.
36287         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36288         Likewise.
36290 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36292         * NEWS: Restore accidentally deleted bug-fix entries.
36294 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36295             Ondřej Bílka  <neleai@seznam.cz>
36297         [BZ #15073]
36298         * malloc/malloc.c (_int_free): Perform sanity check only if we
36299         have_lock.
36301 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
36303         [BZ #12986]
36304         * manual/stdio.texi (String Input Conversions): Clarify that character
36305         classes are not supported.
36307 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36311 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
36313         [BZ #16337]
36314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36315         Calculate results for small negative arguments directly rather
36316         than using reflection formula with special underflow handling.
36318         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
36319         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
36320         sysdeps/unix/bsd/bsd4.4/syscalls.list.
36321         (fchflags): Likewise.
36322         (revoke): Likewise.
36323         (setlogin): Likewise.
36324         (sigaltstack): Likewise.
36325         (wait4): Likewise.
36326         (sigblock): Remove.
36327         (sigsetmask): Likewise.
36328         (wait3): Likewise.
36329         (waitpid): Likewise.
36330         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
36331         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
36332         file.
36333         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
36334         * sysdeps/unix/bsd/Makefile: ... here.
36335         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
36336         * sysdeps/unix/bsd/Versions: ... here.
36337         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
36338         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
36339         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
36340         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
36341         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
36342         * sysdeps/unix/bsd/sigblock.c: ... here.
36343         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
36344         * sysdeps/unix/bsd/sigsetmask.c: ... here.
36345         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
36346         * sysdeps/unix/bsd/sigvec.c: ... here.
36347         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
36348         * sysdeps/unix/bsd/tcdrain.c: ... here.
36349         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
36350         * sysdeps/unix/bsd/tcgetattr.c: ... here.
36351         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
36352         * sysdeps/unix/bsd/tcsetattr.c: ... here.
36353         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
36354         * sysdeps/unix/bsd/wait.c: ... here.
36355         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
36356         * sysdeps/unix/bsd/wait3.c: ... here.
36357         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
36358         * sysdeps/unix/bsd/waitpid.c: ... here.
36360 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
36362         [BZ #16356]
36363         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
36364         round-to-nearest for [!USE_AS_EXPM1L].
36365         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
36366         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
36367         more tests of exp and exp10.  Expect some exp10 tests to miss
36368         exceptions or fail in directed rounding modes.
36369         * math/auto-libm-test-out: Regenerated.
36370         * math/libm-test.inc (exp10_tonearest_test_data): New array.
36371         (exp10_test_tonearest): New function.
36372         (exp10_towardzero_test_data): New array.
36373         (exp10_test_towardzero): New function.
36374         (exp10_downward_test_data): New array.
36375         (exp10_test_downward): New function.
36376         (exp10_upward_test_data): New array.
36377         (exp10_test_upward): New function.
36378         (main): Call the new functions.
36379         * sysdeps/i386/fpu/libm-test-ulps: Update.
36380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36382 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
36384         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
36385         asinh, atan, atan2, atanh, cbrt, cos and cosh.
36386         * math/auto-libm-test-out: Regenerated.
36387         * math/libm-test.inc (acosh_test_data): Add more tests.
36388         (atanh_test_data): Likewise.
36389         (ceil_test_data): Likewise.
36390         (copysign_test_data): Likewise.
36391         * sysdeps/i386/fpu/libm-test-ulps: Update.
36392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36394         * timezone/checktab.awk: Update from tzcode 2013i.
36395         * timezone/private.h: Likewise.
36396         * timezone/scheck.c: Likewise.
36397         * timezone/tzfile.h: Likewise.
36398         * timezone/tzselect.ksh: Likewise.
36399         * timezone/zdump.c: Likewise.
36400         * timezone/zic.c: Likewise.
36402         * math/auto-libm-test-in: Add tests of cpow.
36403         * math/auto-libm-test-out: Regenerated.
36404         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
36405         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36406         mpc_cc_c.
36407         (func_calc_desc): Add mpc_cc_c union field.
36408         (test_functions): Add cpow.
36409         (special_fill_2pi): New function.
36410         (special_real_inputs): Add 2pi.
36411         (calc_generic_results): Handle mpc_cc_c.
36412         * sysdeps/i386/fpu/libm-test-ulps: Update.
36413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36415         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
36416         csqrt, ctan and ctanh.
36417         * math/auto-libm-test-out: Regenerated.
36418         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36419         (TEST_COND_x86): Likewise.
36420         (ccos_test_data): Use AUTO_TESTS_c_c.
36421         (ccosh_test_data): Likewise.
36422         (cexp_test_data): Likewise.
36423         (clog_test_data): Likewise.
36424         (csqrt_test_data): Likewise.
36425         (ctan_test_data): Likewise.
36426         (ctan_tonearest_test_data): Likewise.
36427         (ctan_towardzero_test_data): Likewise.
36428         (ctan_downward_test_data): Likewise.
36429         (ctan_upward_test_data): Likewise.
36430         (ctanh_test_data): Likewise.
36431         (ctanh_tonearest_test_data): Likewise.
36432         (ctanh_towardzero_test_data): Likewise.
36433         (ctanh_downward_test_data): Likewise.
36434         (ctanh_upward_test_data): Likewise.
36435         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36436         mpc_c_c.
36437         (func_calc_desc): Add mpc_c_c union field.
36438         (FUNC_mpc_c_c): New macro.
36439         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
36440         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
36441         ctanh.
36442         (special_fill_min_subnorm_p120): New function.
36443         (special_real_inputs): Add min_subnorm_p120.
36444         (calc_generic_results): Handle mpc_c_c.
36445         * sysdeps/i386/fpu/libm-test-ulps: Update.
36446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36448 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36450         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
36451         (do_sin_slow): New functions.
36452         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
36453         (cslow2, csloww1, csloww2): Use the new functions.
36455         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
36456         Use M to change sign of result instead of X.  Assume X is
36457         positive.
36458         (csloww1): Likewise.
36459         (__sin): Adjust.
36460         (__cos): Adjust.
36462         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
36463         arguments A and DA.
36464         (__sin): Adjust.
36465         (__cos): Likewise.
36467         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
36468         (__cos): Likewise.
36469         (sloww1): Don't adjust sign of DX.
36470         (csloww1): Likewise.
36471         (sloww2): Use X directly and don't adjust sign of DX.
36472         (csloww2): Likewise.
36474 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36476         * math/auto-libm-test-in: Add tests of cabs and carg.
36477         * math/auto-libm-test-out: Regenerated.
36478         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
36479         (carg_test_data): Likewise.
36480         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36481         mpc_c_f.
36482         (func_calc_desc): Add mpc_c_f union field.
36483         (test_functions): Add cabs and carg.
36484         (calc_generic_results): Handle mpc_c_f.
36486         * sysdeps/powerpc/powerpc32/libgcc-compat.S
36487         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
36488         as a macro and a compat symbol.
36489         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36490         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36491         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36492         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36493         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
36494         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
36495         not use .hidden.
36496         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
36497         Likewise.
36498         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
36499         Likewise.
36500         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
36501         Likewise.
36502         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
36503         Likewise.
36504         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
36505         Likewise.
36506         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
36507         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
36508         from GLIBC_2.3.2.
36510 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36514 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36516         * manual/texinfo.tex: Update to version 2013-11-26.10 with
36517         trailing whitespace removed.
36518         * scripts/config.guess: Update to version 2013-11-29.
36519         * scripts/config.sub: Update to version 2013-10-01.
36521         * math/auto-libm-test-in: Add tests of sincos.
36522         * math/auto-libm-test-out: Regenerated.
36523         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
36524         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36525         mpfr_f_11.
36526         (func_calc_desc): Add mpfr_f_11 union field.
36527         (test_functions): Add sincos.
36528         (calc_generic_results): Handle mpfr_f_11.
36529         * sysdeps/i386/fpu/libm-test-ulps: Update.
36530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36532 2013-12-19  Andreas Schwab  <schwab@suse.de>
36534         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
36535         CALL_MCOUNT.
36536         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36537         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
36538         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
36540 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36542         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
36543         * sysdeps/i386/fpu/libm-test-ulps: Update.
36544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36546         [BZ #16293]
36547         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
36548         round-to-nearest mode when using frndint.
36549         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
36550         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36551         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36552         Likewise.
36553         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
36554         sinh test to fail.
36555         * math/auto-libm-test-out: Regenerated.
36556         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
36557         (TEST_COND_x86): Likewise.
36558         (expm1_tonearest_test_data): New array.
36559         (expm1_test_tonearest): New function.
36560         (expm1_towardzero_test_data): New array.
36561         (expm1_test_towardzero): New function.
36562         (expm1_downward_test_data): New array.
36563         (expm1_test_downward): New function.
36564         (expm1_upward_test_data): New array.
36565         (expm1_test_upward): New function.
36566         (main): Run the new test functions.
36567         * sysdeps/i386/fpu/libm-test-ulps: Update.
36568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36570         * include/features.h: Update comment documenting feature test
36571         macros.  Mention _DEFAULT_SOURCE in comment.
36572         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
36573         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
36574         _BSD_SOURCE and _SVID_SOURCE.
36575         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
36576         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
36577         !_SVID_SOURCE]: Likewise.
36578         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36579         (__USE_POSIX_IMPLICITLY): Define.
36580         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36581         (_POSIX_SOURCE): Undefine and redefine.
36582         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36583         (_POSIX_C_SOURCE): Likewise.
36584         * manual/creature.texi (_DEFAULT_SOURCE): Document.
36585         (Feature Test Macros): Update documentation of default features.
36587 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36589         * benchtests/Makefile: Add bench-strtok.
36590         * benchtests/bench-strtok.c: New file: strtok benchtest.
36592 2013-12-19  Allan McRae  <allan@archlinux.org>
36594         * manual/install.texi: Suppress menu for plain text output.
36595         * INSTALL: Regenerated.
36597 2013-12-18  Brooks Moses  <bmoses@google.com>
36599         [BZ #15846]
36600         * misc/getauxval.c: Include errno.h.
36601         (__getauxval): Set errno to ENOENT if the requested type is not
36602         found.
36603         * misc/sys/auxv.h (getauxval): Document that it may set errno;
36604         don't declare with __attribute_const__.
36605         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
36606         * manual/startup.texi: Document that getauxval sets errno.
36608 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36610         * math/auto-libm-test-in: Add tests of jn and yn.
36611         * math/auto-libm-test-out: Regenerated.
36612         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
36613         (yn_test_data): Likewise.
36614         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36615         mpfr_if_f.
36616         (func_calc_desc): Add mpfr_if_f union field.
36617         (FUNC_mpfr_if_f): New macro.
36618         (test_functions): Add jn and yn.
36619         (calc_generic_results): Assert type of second input for
36620         mpfr_ff_f.  Handle mpfr_if_f.
36621         (output_for_one_input_case): Disable all checking for arguments
36622         fitting floating-point types in case of an integer argument.
36623         * sysdeps/i386/fpu/libm-test-ulps: Update.
36624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36627         Don't expect fegetround reference in libm.so.
36629 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36631         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36632         $(config-cflags-nofma).
36634 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36636         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36637         * math/auto-libm-test-out: Regenerated.
36639         [BZ #16338]
36640         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36641         to determine exponent and adjust argument to have exponent of -1.
36642         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36643         log2.
36644         * math/auto-libm-test-out: Regenerated.
36645         * sysdeps/i386/fpu/libm-test-ulps: Update.
36646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36648 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
36650         * manual/probes.texi: Remove cases when per-thread arenas are
36651         disabled.
36653 2013-12-18  Andreas Schwab  <schwab@suse.de>
36655         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36656         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36657         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36658         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36659         * sysdeps/i386/i686/multiarch/Makefile: Update.
36660         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
36662 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36664         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
36665         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
36667 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
36669         [BZ #15968]
36670         Support TZ transition times < 00:00:00.
36671         This is needed for version-3 tz-format files; it supports time
36672         stamps past 2037 for America/Godthab (the only entry in the tz
36673         database for which this change is relevant).
36674         * manual/time.texi (TZ Variable): Document transition times
36675         from -167:59:59 through -00:00:01.
36676         * time/tzset.c (tz_rule): Time of day is now signed.
36677         (__tzset_parse_tz): Parse negative time of day.
36679         Document TZ transition times >= 25:00:00.
36680         * manual/time.texi (TZ Variable): Document transition times from
36681         25:00:00 through 167:59:59.  These are already supported, and this
36682         support will help with version-3 tz-format files.
36684         * manual/time.texi (TZ Variable): Modernize North America example
36685         to reflect current (i.e., 2007-and-later) daylight saving rules.
36687         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
36689 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36691         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
36692         * sysdeps/unix/bsd/bits/stat.h: Likewise.
36693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
36694         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36695         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
36696         * sysdeps/unix/bsd/bsdstat.h: Likewise.
36697         * sysdeps/unix/bsd/clock.c: Likewise.
36698         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
36699         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
36700         * sysdeps/unix/bsd/init-posix.c: Likewise.
36701         * sysdeps/unix/bsd/poll.c: Likewise.
36702         * sysdeps/unix/bsd/ptsname.c: Likewise.
36703         * sysdeps/unix/bsd/seekdir.c: Likewise.
36704         * sysdeps/unix/bsd/setegid.c: Likewise.
36705         * sysdeps/unix/bsd/seteuid.c: Likewise.
36706         * sysdeps/unix/bsd/setgid.c: Likewise.
36707         * sysdeps/unix/bsd/setrgid.c: Likewise.
36708         * sysdeps/unix/bsd/setruid.c: Likewise.
36709         * sysdeps/unix/bsd/setsid.c: Likewise.
36710         * sysdeps/unix/bsd/setuid.c: Likewise.
36711         * sysdeps/unix/bsd/sigaction.c: Likewise.
36712         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36713         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36714         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36715         * sysdeps/unix/bsd/telldir.c: Likewise.
36716         * sysdeps/unix/bsd/times.c: Likewise.
36717         * sysdeps/unix/bsd/usleep.c: Likewise.
36719         * misc/Makefile (install-lib): Remove libbsd-compat.a.
36720         ($(objpfx)libbsd-compat.a): Remove rule.
36722         * include/features.h (__FAVOR_BSD): Do not define.
36723         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36724         features conflicting with POSIX.
36725         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36726         (_BSD_SOURCE): Remove description of not being a subset of other
36727         feature test macros.
36728         * manual/job.texi (getpgrp): Do not document BSD version.
36729         (getpgid): Do not document by reference to BSD getpgrp.
36730         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36731         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36732         * signal/signal.h [__FAVOR_BSD]: Likewise.
36733         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36734         instead of making contents conditional on [__FAVOR_BSD].
36735         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36737 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36741 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36743         [BZ #16314]
36744         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36745         values below 2**-450, not 2**-500.
36746         * math/auto-libm-test-in: Don't allow spurious underflow from
36747         hypot.
36748         * math/auto-libm-test-out: Regenerated.
36750         [BZ #16316]
36751         [BZ #16330]
36752         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36753         values of ha and hb and sort them after adjusting subnormal
36754         arguments.
36755         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36756         Likewise.
36757         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36758         values of ea and eb and sort them after adjusting subnormal
36759         arguments.
36760         * math/auto-libm-test-in: Do not expect some hypot tests of
36761         subnormals to fail.  Add more hypot tests.
36762         * math/auto-libm-test-out: Regenerated.
36764 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36766         [BZ #13304]
36767         * sysdeps/sh/s_fma.c: New file.
36768         * sysdeps/sh/s_fmaf.c: New file.
36769         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36770         version.
36771         * sysdeps/sh/Implies: Add sh/soft-fp.
36773 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36775         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36776         level of indirection to members `objname', `errstring', `malloced'.
36777         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36778         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36779         it as the __longjmp argument (just pass 1 instead).
36780         (_dl_catch_error): Initialize C with argument pointers and address of
36781         volatile local ERRCODE rather than copying values out of C at return.
36783 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36785         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36786         * math/auto-libm-test-out: Regenerated.
36787         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36788         (hypot_test_data): Likewise.
36789         (pow_test_data): Likewise.
36790         (pow_tonearest_test_data): Likewise.
36791         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36792         mpfr_ff_f.
36793         (func_calc_desc): Add mpfr_ff_f union field.
36794         (FUNC_mpfr_ff_f): New macro.
36795         (test_functions): Add atan2, hypot and pow.
36796         (special_fill_min): New function.
36797         (special_fill_minus_min): Likewise.
36798         (special_fill_min_subnorm): Likewise.
36799         (special_fill_minus_min_subnorm): Likewise.
36800         (special_real_inputs): Add min, -min, min_subnorm and
36801         -min_subnorm.
36802         (calc_generic_results): Handle mpfr_ff_f.
36803         * sysdeps/i386/fpu/libm-test-ulps: Update.
36804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36806 2013-12-16  Will Newton  <will.newton@linaro.org>
36808         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36809         (Aligned Memory Blocks): Add documentation for aligned_alloc
36810         and suggest it as an alternative to posix_memalign.
36811         (Hooks for Malloc): Document __memalign_hook is also called
36812         for aligned_alloc.  (Summary of Malloc): Add summary for
36813         aligned alloc.  Document __memalign_hook is also called
36814         for aligned_alloc.
36816 2013-12-16  Will Newton  <will.newton@linaro.org>
36818         * manual/memory.texi (Malloc Examples): Clarify default
36819         alignment documentation.  Suggest posix_memalign rather
36820         than memalign or valloc.
36821         (Aligned Memory Blocks): Remove suggestion to use memalign
36822         or valloc.  Remove obsolete comment about BSD.
36823         Document memalign errno values and mark the function obsolete.
36824         Document posix_memalign returned error codes.  Mark valloc
36825         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36826         called for posix_memalign and valloc.
36827         (Summary of Malloc): Add posix_memalign to function summary.
36828         __memalign_hook is also called for posix_memalign and valloc.
36830 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36832         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36833         TAYLOR_SIN.
36834         (__sin): Adjust.
36835         (__cos): Likewise.
36836         (sloww): Use mynumber union.  Expand ternary operator into
36837         if-else statements.
36838         (cslow): use mynumber union.
36840 2013-12-16  Allan McRae  <allan@archlinux.org>
36842         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36843         * configure: Regenerated.
36845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36847         [BZ #14120]
36848         * configure.ac: Added --enable-maintainer-mode. Check for
36849         autoconf when enabled.
36850         * configure: Regenerated.
36852         * nscd/nscd.service: New file.
36853         * nscd/nscd.tmpfiles: New file.
36855 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36857         [BZ #12100]
36858         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36859         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36860         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36861         (strstr): Add __strstr_sse2_unaligned ifunc.
36862         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36863         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36864         (strcasestr): Remove __strcasestr_sse42 ifunc.
36865         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36869 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36871         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36872         * sysdeps/sh/bits/fenv.h: ... here.
36873         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36875 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36877         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36880         hypotf multiarch implementations.
36881         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36882         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36883         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36884         multiarch hypot for PPC64.
36885         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36886         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36887         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36888         multiarch hypotf for PPC64.
36890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36891         modff multiarch implementations.
36892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36895         multiarch modf for PPC64.
36896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36899         multiarch modff for PPC64.
36901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36902         and logl multiarch implementations.
36903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36906         multiarch logb for PPC64.
36907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36910         multiarch logb for PPC64.
36911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36914         multiarch logb for PPC64.
36916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36917         isinff multiarch implementation.
36918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36919         file.
36920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36922         multiarch isinf for PPC64.
36923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36924         file.
36925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36926         multiarch isinff for PPC64.
36928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36929         finitef multiarch implementation.
36930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36931         file.
36932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36934         multiarch finite for PPC64.
36935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36936         file.
36937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36938         multiarch finitef for PPC64.
36940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36941         lrint multiarch implementation.
36942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36943         file.
36944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36946         multiarch llrint for PPC64.
36947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36948         multiarch lrint for PPC64.
36950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36951         copysignf multiarch implementation.
36952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36953         file.
36954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36955         file.
36956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36957         multiarch copysign for PPC64.
36958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36959         multiarch copysignf for PPC64.
36961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36962         multiarch implementation.
36963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36964         file.
36965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36966         file.
36967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36968         file.
36969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36970         file.
36971         multiarch llround for PPC64.
36972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36973         multiarch trunc for PPC64.
36974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36975         multiarch truncf for PPC64.
36977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36978         multiarch implementation.
36979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36980         file.
36981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36982         file.
36983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36984         file.
36985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36986         file.
36987         multiarch llround for PPC64.
36988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36989         multiarch round for PPC64.
36990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36991         multiarch roundf for PPC64.
36993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36994         multiarch implementation.
36995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36996         file.
36997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36998         file.
36999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37000         file.
37001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37002         file.
37003         multiarch llround for PPC64.
37004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37005         multiarch floor for PPC64.
37006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37007         multiarch floorf for PPC64.
37009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37010         multiarch implementation.
37011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37012         file.
37013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37014         file.
37015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37016         file.
37017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37018         file.
37019         multiarch llround for PPC64.
37020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37021         multiarch ceil for PPC64.
37022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37023         multiarch ceilf for PPC64.
37025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37026         multiarch implementation.
37027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37028         file.
37029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37030         file.
37031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37032         file.
37033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37034         multiarch llround for PPC64.
37035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37036         multiarch lround for PPC64.
37038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37039         multiarch implementation.
37040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37043         file.
37044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37047         multiarch isnan for PPC64.
37048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37049         multiarch isnanf for PPC64.
37051         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37052         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37053         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37054         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37055         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37058         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37059         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37060         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37061         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37064         multiarch implementations.
37065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37066         (__libc_ifunc_impl_list): Likewise.
37067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37068         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37069         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37070         multiarch stpcpy for PPC64.
37072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37073         multiarch implementations.
37074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37075         (__libc_ifunc_impl_list): Likewise.
37076         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37077         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37078         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37079         multiarch strcpy for PPC64.
37081         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37082         redefine function name.
37083         (_wordcopy_fwd_dest_aligned): Likewise.
37084         (_wordcopy_bwd_aligned): Likewise.
37085         (_wordcopy_bwd_dest_aligned): Likewise.
37086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37087         multiarch implementations.
37088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37089         (__libc_ifunc_impl_list): Likewise.
37090         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37091         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37092         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37093         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37094         multiarch wcscpy for PPC64.
37096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37097         multiarch implementations.
37098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37099         (__libc_ifunc_impl_list): Likewise.
37100         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37101         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37102         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37103         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37104         multiarch wcscpy for PPC64.
37106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37107         multiarch implementations.
37108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37109         (__libc_ifunc_impl_list): Likewise.
37110         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37111         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37112         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37113         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37114         multiarch wcsrchr for PPC64.
37116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37117         multiarch implementations.
37118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37119         (__libc_ifunc_impl_list): Likewise.
37120         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37121         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37122         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37123         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37124         multiarch wcschr for PPC64.
37126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37127         multiarch implementations.
37128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37129         (__libc_ifunc_impl_list): Likewise.
37130         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
37131         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
37132         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
37133         multiarch strchrnul for PPC64.
37135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
37136         implementations.
37137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37138         (__libc_ifunc_impl_list): Likewise.
37139         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
37140         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
37141         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
37142         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
37143         strchr for PPC64.
37145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
37146         implementations.
37147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37148         (__libc_ifunc_impl_list): Likewise.
37149         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
37150         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
37151         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
37152         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
37153         strncmp for PPC64.
37155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
37156         multiarch implementations.
37157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37158         (__libc_ifunc_impl_list): Likewise.
37159         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
37160         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
37161         strncasecmp for PPC64.
37162         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
37163         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
37164         multiarch strncasecmp_l for PPC64.
37166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
37167         multiarch implementations.
37168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37169         (__libc_ifunc_impl_list): Likewise.
37170         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
37171         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
37172         multiarch strcasecmp for PPC64.
37173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
37174         file.
37175         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
37176         multiarch strcasecmp_l for PPC64.
37178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
37179         implementations.
37180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37181         (__libc_ifunc_impl_list): Likewise.
37182         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
37183         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
37184         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37185         strnlen for PPC64.
37187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
37188         implementations.
37189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37190         (__libc_ifunc_impl_list): Likewise.
37191         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
37192         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
37193         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
37194         strlen for PPC64.
37196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
37197         implementations.
37198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37199         (__libc_ifunc_impl_list): Likewise.
37200         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
37201         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
37202         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
37203         rawmemrchr for PPC64.
37205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
37206         implementation.
37207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37208         (__libc_ifunc_impl_list): Likewise.
37209         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
37210         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
37211         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
37212         memrchr for PPC64.
37214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
37215         implementation.
37216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37217         (__libc_ifunc_impl_list): Likewise.
37218         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
37219         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
37220         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
37221         memchr for PPC64.
37223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
37224         implementation.
37225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37226         (__libc_ifunc_impl_list): Likewise.
37227         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
37228         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
37229         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
37230         mempcpy for PPC64.
37232         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
37233         avoid cretion of __bzero symbol.
37234         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
37235         Likewise.
37236         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
37237         Likewise.
37238         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
37239         Likewise.
37240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
37241         multiarch implementations.
37242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37243         (__libc_ifunc_impl_list): Likewise.
37244         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
37245         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
37246         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
37247         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
37248         bzero for PPC32.
37249         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
37250         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
37251         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
37252         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
37253         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
37254         memset for PPC64.
37255         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
37257         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
37258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
37259         implementations.
37260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37261         (__libc_ifunc_impl_list): Likewise.
37262         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
37263         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
37264         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
37265         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
37266         memcmp for PPC64.
37268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
37269         multiarch for POWER/PPC64.
37270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
37271         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
37272         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
37273         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
37274         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
37275         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
37276         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
37277         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
37278         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
37279         memcpy for PPC64.
37281         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
37282         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
37283         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
37284         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
37285         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
37286         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
37287         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
37288         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
37289         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
37290         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
37291         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
37292         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
37293         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
37294         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
37295         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
37296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
37297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
37298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
37299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
37300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
37301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
37302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
37304 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37306         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
37308 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37310         * benchtests/Makefile (bench): Add exp2 and log2.
37311         (LDLIBS-bench-exp2): Add -lm.
37312         (LDLIBS-bench-log2): Likewise.
37313         * benchtests/exp2-inputs: New inputs file.
37314         * benchtests/log2-inputs: New inputs file.
37315         * benchtests/log-inputs: Add new inputs.
37316         * benchtests/tan-inputs: Likewise.
37318 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37320         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
37321         definition...
37322         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
37323         (csloww2): ... from here.
37325         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
37326         instead of structures.
37327         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
37328         (POLYNOMIAL): Likewise.
37329         (TAYLOR_SLOW): Likewise.
37330         (__sin): Likewise.
37331         (__cos): Likewise.
37332         (slow1): Likewise.
37333         (slow2): Likewise.
37334         (sloww): Likewise.
37335         (sloww1); Likewise.
37336         (sloww2): Likewise.
37337         (bsloww1): Likewise.
37338         (bsloww2): Likewise.
37339         (cslow2): Likewise.
37340         (csloww): Likewise.
37341         (csloww1): Likewise.
37342         (csloww2): Likewise.
37344 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
37346         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
37347         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
37348         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
37349         * malloc/hooks.c (realloc_check): Likewise.
37351         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
37352         * malloc/arena.c: Remove PER_THREAD conditional.
37353         [!PER_THREAD]: Remove code.
37354         (ptmalloc_unlock_all2): Likewise.
37355         (ptmalloc_init): Likewise.
37356         (_int_new_arena): Likewise.
37357         (arena_get2): Likewise.
37358         * malloc/hooks.c (__malloc_get_state): Likewise.
37359         (__malloc_set_state): Likewise.
37360         * malloc/malloc.c: Likewise.
37361         (struct malloc_state): Likewise.
37362         (struct malloc_par): Likewise.
37363         (__libc_realloc): Likewise.
37364         (__libc_mallopt): Likewise.
37366 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37368         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
37370 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
37372         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
37373         macro to a function.  Check for zero perturb_byte.
37374         (_int_malloc, _int_free): Remove zero perturb_byte checks.
37376         * malloc/malloc.c: (force_reg): Remove.
37377         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
37378         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
37379         force_reg by atomic_forced_read.
37380         * malloc/arena.c (ptmalloc_init): Likewise.
37381         * malloc/hooks.c (top_check): Likewise.
37383 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37387 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
37389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37391 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
37393         * math/auto-libm-test-in: Add tests of lgamma.
37394         * math/auto-libm-test-out: Regenerated.
37395         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
37396         (M_LOG_2_SQRT_PIl): Likewise.
37397         (lgamma_test_data): Use AUTO_TESTS_f_f1.
37398         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37399         mpfr_f_f1.
37400         (func_calc_desc): Add mpfr_f_f1 union field.
37401         (ARGS1): New macro.
37402         (ARGS2): Likewise.
37403         (ARGS3): Likewise.
37404         (ARGS4): Likewise.
37405         (RET1): Likewise.
37406         (RET2): Likewise.
37407         (CALC): Likewise.
37408         (FUNC): Likewise.
37409         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
37410         (test_functions): Add lgamma.
37411         (calc_generic_results): Handle mpfr_f_f1.
37412         * sysdeps/i386/fpu/libm-test-ulps: Update.
37413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37415 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37417         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
37418         __mpn_add_n for PowerPC64/POWER7.
37419         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
37420         __mpn_sub_n for PowerPC64/POWER7.
37422         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
37423         __mpn_addmul_1 for PowerPC64.
37424         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
37425         __mpn_submul_1 for PowerPC64.
37426         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
37427         for PowerPC64.
37428         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
37429         for PowerPC64.
37431 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
37433         [BZ #15089]
37434         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
37436 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37438         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
37440         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
37441         add multiarch folders.
37442         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
37443         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
37444         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
37445         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
37446         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
37447         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
37448         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
37449         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
37450         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
37451         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
37452         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
37453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
37454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
37456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
37457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
37458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
37460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37461         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
37462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
37463         New file.
37464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
37465         New file.
37466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
37467         multiarch __ieee754_hypot for PowerPC32.
37468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
37469         New file.
37470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
37471         New file.
37472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
37473         multiarch __ieee754_hypotf for PowerPC32.
37475         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
37476         long_double_symbol only if __logbl is defined.
37477         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
37478         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
37479         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
37480         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
37481         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
37482         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
37483         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
37484         path for implementation.
37485         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
37486         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
37487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
37488         logb, and logbl multiarch implementations for PowerPC32.
37489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
37490         file.
37491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
37492         file.
37493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
37494         multiarch logb for PowerPC32.
37495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
37496         file.
37497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
37498         file.
37499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
37500         multiarch logbf for PowerPC32.
37501         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
37502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
37503         file.
37504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
37505         multiarch logbl implementation for PowerPC32.
37507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
37508         and modff multiarch implementations.
37509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
37510         New file.
37511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
37512         New file.
37513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
37514         multiarch modf for PowerPC32.
37515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
37516         New file.
37517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
37518         New file.
37519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
37520         multiarch modff for PowerPC32.
37522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
37523         and lrintf multiarch implementations.
37524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
37525         New file.
37526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
37527         New file.
37528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
37529         multiarch lrint for PowerPC32.
37530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
37531         file: multiarch lrintf for PowerPC32.
37533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
37534         and lroundf multiarch implementations.
37535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
37536         New file.
37537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
37538         New file.
37539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
37540         New file.
37541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
37542         multiarch lround for PowerPC32.
37543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
37544         file: multiarch lroundf for PowerPC32.
37546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37547         copysign and copysignf multiarch implementations.
37548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
37549         New file.
37550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
37551         New file.
37552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
37553         file: multiarch copysign for PowerPC32.
37554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
37555         file: multiarch copysignf for PowerPC32.
37557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
37558         and truncf multiarch implementations.
37559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
37560         New file.
37561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
37562         file.
37563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
37564         multiarch trunc for PowerPC32.
37565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
37566         New file.
37567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
37568         New file.
37569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
37570         multiarch truncf for PowerPC32.
37572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
37573         and roundf multiarch implementations.
37574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
37575         New file.
37576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
37577         file.
37578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
37579         multiarch round for PowerPC32.
37580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
37581         New file.
37582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
37583         New file.
37584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
37585         multiarch roundf for PowerPC32.
37587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
37588         and floorf multiarch implementations.
37589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
37590         New file.
37591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
37592         file.
37593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
37594         multiarch floor for PowerPC32.
37595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
37596         New file.
37597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
37598         New file.
37599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
37600         multiarch floorf for PowerPC32.
37602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
37603         and ceilf multiarch implementations.
37604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
37605         New file.
37606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
37607         file.
37608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
37609         multiarch ceil for PowerPC32.
37610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
37611         New file.
37612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
37613         file.
37614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
37615         multiarch ceilf for PowerPC32.
37617         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37618         is defined.
37619         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37620         FINITEF is defined.
37621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37622         and finitef multiarch implementations.
37623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37624         New file.
37625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37626         file.
37627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37628         multiarch finite for PowerPC32.
37629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37630         New file.
37631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37632         file: multiarch finitef for PowerPC32.
37634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37635         and isinff multiarch implementations.
37636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37637         file.
37638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37639         file.
37640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37641         multiarch isinf for PowerPC32.
37642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37643         New file.
37644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37645         multiarch isinff for PowerPC32.
37647         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37648         alias when __isnan is defined.
37649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37650         and isnanf multiarch implementations.
37651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37652         file.
37653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37654         file.
37655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37656         file.
37657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37658         file.
37659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37660         multiarch isnan for PowerPC32.
37661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
37662         New file.
37663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
37664         New file.
37665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
37666         multiarch isnanf for PowerPC32.
37668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
37669         and sqrtf multiarch implementations.
37670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
37671         file.
37672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
37673         file.
37674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
37675         multiarch sqrt for PowerPC32.
37676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
37677         file.
37678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
37679         file.
37680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
37681         multiarch sqrtf for PowerPC32.
37683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
37684         and llroundf multiarch implementations.
37685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
37686         New file.
37687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
37688         New file.
37689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
37690         New file.
37691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
37692         file: multiarch llround for PowerPC32.
37693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
37694         file: multiarch llroundf for PowerPC32.
37696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
37697         multiarch PowerPC32 fpu implementations.
37698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
37699         New file.
37700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
37701         New file.
37702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
37703         multiarch llrint for PowerPC32.
37704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37705         New file.
37706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37707         New file.
37708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37709         file.
37711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37713         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37714         file.
37715         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37716         file.
37717         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37718         file.
37719         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37720         multiarch wordcopy for PPC32.
37721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37722         wordcopy objects.
37723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37724         (__libc_ifunc_impl_list): Likewise.
37725         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37726         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37727         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37728         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37729         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37730         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37732         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37734         file.
37735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37736         file.
37737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37738         file.
37739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37740         multiarch wcscpy for PPC32.
37741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37742         multiarch objects.
37743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37744         (__libc_ifunc_impl_list): Likewise.
37745         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37746         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37747         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37748         sysdeps/powerpc/power6/wcscpy.c.
37750         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37752         file.
37753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37754         file.
37755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37756         file.
37757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37758         multiarch wcsrchr for PPC32.
37759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37760         multiarch objects.
37761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37762         (__libc_ifunc_impl_list): Likewise.
37763         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37764         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37765         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37766         sysdeps/powerpc/power6/wcsrchr.c.
37768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37769         file.
37770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37771         file.
37772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37774         multiarch wcschr for PPc32.
37775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37776         multiarch objects.
37777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37778         (__libc_ifunc_impl_list): Likewise.
37779         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37780         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37781         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37782         sysdeps/powerpc/power6/wcschr.c.
37784         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37785         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37786         file.
37787         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37788         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37789         file: multiarch strchr for PPC32.
37790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37791         multiarch objects.
37792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37793         (__libc_ifunc_impl_list): Likewise.
37795         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37796         name.
37797         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37798         file.
37799         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37800         file.
37801         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37802         multiarch strchrnul for PPC32.
37803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37804         multiarch objects.
37805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37806         (__libc_ifunc_impl_list): Likewise.
37808         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37809         file.
37810         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37811         multiarch strncasecmp for PPC32.
37812         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37813         file.
37814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37815         multiarch strncasecmp_l for PPC32.
37816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37817         strncasecmp multiarch objects.
37818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37819         (__libc_ifunc_impl_list): Likewise.
37821         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37822         file.
37823         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37824         multiarch strncasecmp for PPC32.
37825         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37826         New file.
37827         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37828         multiarch strcasecmp_l for PPC32.
37829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37830         multiarch objects.
37831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37832         (__libc_ifunc_impl_list): Likewise.
37834         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37835         file.
37836         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37837         file.
37838         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37839         multiarch strncmp for PPC32.
37840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37841         multiarch objects.
37842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37843         (__libc_ifunc_impl_list): Likewise.
37845         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37846         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37847         file.
37848         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37849         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37851         multiarch objects.
37852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37853         (__libc_ifunc_impl_list): Likewise.
37855         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37856         file.
37857         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37858         file.
37859         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37861         multiarch objects.
37862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37863         (__libc_ifunc_impl_list): Likewise.
37865         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37866         file.
37867         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37868         file.
37869         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37870         multiarch rawmemchr for PPC32.
37871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37872         multiarch objects.
37873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37874         (__libc_ifunc_impl_list): Likewise.
37876         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37877         file.
37878         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37879         file.
37880         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37881         file: memrchr multiarch for PPC32.
37882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37883         multiarch objects.
37884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37885         (__libc_ifunc_impl_list): Likewise.
37887         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37888         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37889         file.
37890         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37891         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37892         multiarch memchr for PPC32.
37893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37894         multiarch objects.
37895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37896         (__libc_ifunc_impl_list): Likewise.
37898         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37899         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37900         file.
37901         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37902         file.
37903         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37904         file: multiarch mempcpy for PPC32.
37905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37906         multiarch objects.
37907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37908         (__libc_ifunc_impl_list): Likewise.
37910         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37911         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37912         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37913         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37914         multiarch bzero for PPC32.
37915         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37916         file.
37917         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37918         file.
37919         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37920         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37921         file: multiarch memset for PPC32.
37922         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37924         memset multiarch objects.
37925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37926         (__libc_ifunc_impl_list): Likewise.
37928         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37929         file.
37930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37932         memcmp for PPC32.
37933         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37935         multiarch objects.
37936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37937         (__libc_ifunc_impl_list): Likewise.
37939         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37940         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37941         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37942         file.
37943         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37944         file.
37945         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37946         file.
37947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37948         multiarch memcpy for PPC32.
37949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37950         multiarch objects.
37951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37952         (__libc_ifunc_impl_list): Likewise.
37954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37955         support multiarch for POWER/PPC32.
37956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37957         Likewise.
37958         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37960         Implies file to make multiarch folder appers before the fpu and
37961         default folder for power4 configuration.
37963 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37965         * scripts/bench.pl: Append volatile keyword to type.
37967 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37969         * sysdeps/sh/sotruss-lib.c: New file.
37970         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37972 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37976 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37978         [BZ #6810]
37979         * math/w_tgamma.c: Include <errno.h>.
37980         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37981         * math/w_tgammaf.c: Include <errno.h>.
37982         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37983         * math/w_tgammal.c: Include <errno.h>.
37984         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37985         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37986         underflow.  Add more tgamma tests.
37987         * math/auto-libm-test-out: Regenerated.
37988         * sysdeps/i386/fpu/libm-test-ulps: Update.
37989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37991         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37992         sin, sinh, tan, tanh, tgamma, y0 and y1.
37993         * math/auto-libm-test-out: Regenerated.
37994         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37995         (TEST_COND_x86): Likewise.
37996         (M_E2l): Remove macro.
37997         (M_E3l): Likewise.
37998         (M_2_SQRT_PIl): Likewise.
37999         (M_SQRT_PIl): Likewise.
38000         (M_1_DIV_El): Likewise.
38001         (log_test_data): Use AUTO_TESTS_f_f.
38002         (log10_test_data): Likewise.
38003         (log1p_test_data): Likewise.
38004         (log2_test_data): Likewise.
38005         (sin_test_data): Likewise.
38006         (sin_tonearest_test_data): Likewise.
38007         (sin_towardzero_test_data): Likewise.
38008         (sin_downward_test_data): Likewise.
38009         (sin_upward_test_data): Likewise.
38010         (sinh_test_data): Likewise.
38011         (sinh_tonearest_test_data): Likewise.
38012         (sinh_towardzero_test_data): Likewise.
38013         (sinh_downward_test_data): Likewise.
38014         (sinh_upward_test_data): Likewise.
38015         (tan_test_data): Likewise.
38016         (tan_tonearest_test_data): Likewise.
38017         (tan_towardzero_test_data): Likewise.
38018         (tan_downward_test_data): Likewise.
38019         (tan_upward_test_data): Likewise.
38020         (tanh_test_data): Likewise.
38021         (tgamma_test_data): Likewise.
38022         (y0_test_data): Likewise.
38023         (y1_test_data): Likewise.
38024         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38025         (special_real_inputs): Add pi/4.
38026         * sysdeps/i386/fpu/libm-test-ulps: Update.
38027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38029 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38031         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38032         "longjmp_target" static probes.
38033         (__longjmp): Rename to __longjmp_symbol.
38034         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38035         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38036         on which longjmp to generate.
38037         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38038         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38039         probe.
38040         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38041         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38042         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38043         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38044         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38045         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38047         __longjmp_symbol based on which __longjmp to generate.
38048         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38049         probe.
38050         (setjmp): Rename to setjmp_symbol.
38051         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38052         (_setjmp): Rename to _setjmp_symbol.
38053         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38054         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38055         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38056         which setjmp to generate.
38057         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38058         "longjmp_target" static probes.
38060 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38062         * benchtests/README: Add note about output arguments.
38063         * benchtests/bench-sincos.c: Remove file.
38064         * benchtests/sincos-inputs: New file.
38065         * scripts/bench.pl: Identify output arguments and define
38066         static variables for them.
38068         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38070         [BZ #15941]
38071         * Makefile (INSTALL): Add install-plain.texi as the primary
38072         dependency.
38073         * manual/install-plain.texi: New file.
38074         * manual/install.texi: Include node directive only for
38075         non-plaintext output.
38077 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
38079         * stdlib/longlong.h: Update from GCC.
38081         [BZ #6807]
38082         [BZ #15901]
38083         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38084         * math/w_j0f.c (y0f): Likewise.
38085         * math/w_j0l.c (__y0l): Likewise.
38086         * math/w_j1.c (y1): Likewise.
38087         * math/w_j1f.c (y1f): Likewise.
38088         * math/w_j1l.c (__y1l): Likewise.
38089         * math/w_jn.c (yn): Likewise.
38090         * math/w_jnf.c (ynf): Likewise.
38091         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38092         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
38093         value for Bessel function domain errors outside _SVID_ mode.
38094         Adjust sign of return value for yn (negative integer, 0).
38095         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38096         by zero in return for negative x and set sign appropriately for
38097         negative n.
38098         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38099         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38100         * math/libm-test.inc (y0_test_data): Add more tests and adjust
38101         expectations in error cases.
38102         (y1_test_data): Likewise.
38103         (yn_test_data): Likewise.
38104         * sysdeps/i386/fpu/libm-test-ulps: Update.
38105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38107 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38109         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38110         "64" to "64-v1".  Add "64-v2".
38111         (abi-64-options): Rename to ...
38112         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
38113         (abi-64-condition): Rename to ...
38114         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
38115         (abi-64-ld-soname): Rename to ...
38116         (abi-64-v1-ld-soname): ... this.
38117         (abi-64-v2-options): Define.
38118         (abi-64-v2-condition): Likewise.
38119         (abi-64-v2-ld-soname): Likewise.
38120         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38121         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38126 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38127             Alan Modra  <amodra@gmail.com>
38129         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
38130         New versions for use with the ELFv2 ABI.
38131         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
38132         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
38133         declaration.
38134         (struct La_ppc64v2_retval): Likewise.
38135         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
38136         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
38137         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
38138         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
38139         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
38140         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38141         Do not save or restore CR.
38142         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
38143         (_dl_profile_resolve): Do no save or restore CR.  Support extended
38144         return values for ELFv2 ABI.  Fix location of FPR return registers.
38145         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
38146         updated values for _CALL_ELF == 2.
38147         (La_regs, La_retval, int_retval): Likewise.
38149 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38151         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
38152         (FRAME_MIN_SIZE_PARM): Likewise.
38153         (FRAME_BACKCHAIN): Likewise.
38154         (FRAME_CR_SAVE): Likewise.
38155         (FRAME_LR_SAVE): Likewise.
38156         (FRAME_TOC_SAVE): Likewise.
38157         (FRAME_PARM_SAVE): Likewise.
38158         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
38159         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
38160         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38161         (call_mcount_parm_offset): New macro.
38162         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
38163         (PROF): Use symbolic stack frame offsets.
38164         (TAIL_CALL_SYSCALL_ERROR): Likewise.
38165         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
38166         Redefine in terms of FRAME_MIN_SIZE.
38167         (_dl_runtime_resolve): Use symbolic stack frame offsets.
38168         (_dl_profile_resolve): Likewise.  Update comment.
38169         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
38170         symbols stack frame offsets.
38171         (__sigsetjmp): Likewise.
38172         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
38173         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
38174         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
38175         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
38177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
38178         (FRAME_BACKCHAIN): Remove.
38179         (FRAME_CR_SAVE): Likewise.
38180         (FRAME_LR_SAVE): Likewise.
38181         (FRAME_COMPILER_DW): Likewise.
38182         (FRAME_LINKER_DW): Likewise.
38183         (FRAME_TOC_SAVE): Likewise.
38184         (FRAME_PARM_SAVE): Likewise.
38185         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
38186         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
38187         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
38189         (CHECK_SP): Use symbolic stack frame offsets.
38190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
38191         zone" instead of caller's parameter save area for temp storage.
38192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38193         Likewise.  Also, use symbolic stack frame offsets.
38194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
38195         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
38196         our own stack frame instead of the caller's.
38197         (__socket): Use symbolic stack frame offsets.
38199 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38200             Alan Modra  <amodra@gmail.com>
38202         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
38203         Define.
38204         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
38205         (PPC64_LOCAL_ENTRY_OFFSET): Define.
38206         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
38207         New function.
38208         (elf_machine_fixup_plt): Call it.
38209         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
38210         reloc arguments.
38211         (elf_machine_rela): Update call to elf_machine_plt_conflict.
38212         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38213         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
38214         r2 before calling target.
38216 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38217             Alan Modra  <amodra@gmail.com>
38219         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
38220         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
38221         versions of macros to support ELFv2 ABI.
38222         (LOCALENTRY): New macro.
38223         (ENTRY, EALIGN): Use it.
38224         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
38225         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
38226         fall through into ENTRY entry point.
38227         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
38228         Only define if _CALL_ELF != 2.
38230         (elf_machine_matches_host): Verify ABI version matches.
38231         (RTLD_START): Use LOCALENTRY.
38232         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
38233         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
38234         (PLT_ENTRY_WORDS): New macro.
38235         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
38236         (elf_machine_runtime_setup): Support ELFv2 ABI.
38237         (elf_machine_fixup_plt): Likewise.
38238         (elf_machine_plt_conflict): Likewise.
38239         (resolve_ifunc): Likewise.
38240         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38241         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38242         Likewise.
38243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
38244         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38246         (makecontext): Support ELFv2 ABI.
38247         * elf/elf.h (EF_PPC64_ABI): Define.
38249 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38251         * sysdeps/powerpc/powerpc64/sysdep.h
38252         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
38253         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
38254         (ENTRY) [ASSEMBLER]: ... but instead here ...
38255         (EALIGN) [ASSEMBLER]: ... and here.
38256         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
38257         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
38258         (ENTRY_2) [!ASSEMBLER]: Use it.
38259         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
38260         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
38261         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38262         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
38263         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
38264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
38265         Use PPC64_LOAD_FUNCPTR.
38267         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
38269 2013-12-04  Alan Modra  <amodra@gmail.com>
38271         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
38272         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
38273         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
38274         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
38276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
38277         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
38278         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
38279         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
38280         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
38281         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
38283 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38286         (__makecontext): Fix incorrect CFI when backtracing out of
38287         context created via makecontext.
38288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
38289         (__setcontext): Fix incorrect CFI during switch to new context.
38290         (__novec_setcontext): Likewise.
38292 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38294         [BZ #4772]
38295         * time/strptime_l.c (__strptime_internal): Allow modifiers
38296         in strptime.
38297         * time/tst-strptime.c (day_tests): Add testcase.
38299 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38301         * scripts/bench.pl: Skip over blank lines.
38303 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
38305         [BZ #926]
38306         * manual/time.texi (Calendar Time): Clarify what timezone functions
38307         use.
38309 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38313 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38315         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
38316         implementation.
38317         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
38318         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
38319         * debug/memset_chk.c (__memset_chk): Likewise.
38320         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
38321         * debug/strncpy_chk.c: Likewise.
38323 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38325         [BZ #15268]
38326         [BZ #15425]
38327         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
38328         (__ieee754_exp): For possibly underflowing results, check size of
38329         result and force underflow exception if required.
38330         * math/auto-libm-test-in: Add more tests of exp.
38331         * math/auto-libm-test-out: Regenerated.
38332         * sysdeps/i386/fpu/libm-test-ulps: Update.
38333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38335         [BZ #16283]
38336         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
38337         * math/w_exp2f.c (__exp2f): Likewise.
38338         * math/w_exp2l.c (__exp2l): Likewise.
38339         * math/auto-libm-test-in: Do not allow missing errno on exp2
38340         underflow.
38341         * math/auto-libm-test-out: Regenerated.
38343 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
38345         [BZ #16274]
38346         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
38347         handle filename validation.
38348         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
38349         (do_open): Delete.
38351 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38353         [BZ #6786]
38354         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
38355         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
38356         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
38357         <float.h>.
38358         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
38359         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
38360         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
38362         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38363         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
38364         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38365         * math/auto-libm-test-in: Don't allow missing errno from erfc.
38366         Add more erfc tests.
38367         * math/auto-libm-test-out: Regenerated.
38368         * sysdeps/i386/fpu/libm-test-ulps: Update.
38369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38371         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
38372         exp2, expm1, j0 and j1.
38373         * math/auto-libm-test-out: Regenerated.
38374         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
38375         (erfc_test_data): Likewise.
38376         (exp_test_data): Likewise.
38377         (exp_tonearest_test_data): Likewise.
38378         (exp_towardzero_test_data): Likewise.
38379         (exp_downward_test_data): Likewise.
38380         (exp_upward_test_data): Likewise.
38381         (exp10_test_data): Likewise.
38382         (exp2_test_data): Likewise.
38383         (expm1_test_data): Likewise.
38384         (j0_test_data): Likewise.
38385         (j1_test_data): Likewise.
38386         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
38387         (input_flag_type): Add flag_xfail_rounding.
38388         (input_flags): Add xfail-rounding.
38389         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
38390         (output_for_one_input_case): Handle flag_xfail_rounding.
38391         * sysdeps/i386/fpu/libm-test-ulps: Update.
38392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38394 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
38396         [BZ #16289]
38397         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
38398         division by 0.
38400 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38402         [BZ #16195]
38403         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
38404         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
38405         (STAP_PROBE0): New macro.
38406         (STAP_PROBE1): Likewise.
38407         (STAP_PROBE2): Likewise.
38408         (STAP_PROBE3): Likewise.
38409         (STAP_PROBE4): Likewise.
38411 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
38413         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
38415 2013-12-02  Steve Ellcey  <sellcey@mips.com>
38417         * benchtests/Makefile (bench): Add sqrt.
38418         (LDLIBS-bench-sqrt): New.
38419         * benchtests/sqrt-input: New.
38421 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
38423         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
38424         (GAIH_EAI): Likewise.
38425         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
38426         (gaih_inet): Likewise.
38427         (getaddrinfo): Don't use GAIH_EAI.
38429         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
38430         (struct gaih): Remove definition.
38432 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38434         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
38435         Use HERRNOP directly.
38437 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38441 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
38443         * math/gen-auto-libm-tests.c (test_functions): Add more
38444         single-argument functions.
38445         (special_fill_pi_2): New function.
38446         (special_fill_minus_pi_2): Likewise.
38447         (special_fill_pi_6): Likewise.
38448         (special_fill_minus_pi_6): Likewise.
38449         (special_fill_pi_3): Likewise.
38450         (special_fill_2pi_3): Likewise.
38451         (special_fill_e): Likewise.
38452         (special_fill_1_e): Likewise.
38453         (special_fill_e_minus_1): Likewise.
38454         (special_real_inputs): Add more special inputs.
38455         (output_for_one_input_case): Do not require ERANGE on underflow to
38456         zero if round-to-nearest result does not underflow to zero, unless
38457         exact results required.
38458         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
38459         atan, atanh, cbrt, cos and cosh.
38460         * math/auto-libm-test-out: Regenerated.
38461         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
38462         (acos_tonearest_test_data): Likewise.
38463         (acos_towardzero_test_data): Likewise.
38464         (acos_downward_test_data): Likewise.
38465         (acos_upward_test_data): Likewise.
38466         (acosh_test_data): Likewise.
38467         (asin_test_data): Likewise.
38468         (asin_tonearest_test_data): Likewise.
38469         (asin_towardzero_test_data): Likewise.
38470         (asin_upward_test_data): Likewise.
38471         (asinh_test_data): Likewise.
38472         (atan_test_data): Likewise.
38473         (atanh_test_data): Likewise.
38474         (cbrt_test_data): Likewise.
38475         (cos_test_data): Likewise.
38476         (cos_tonearest_test_data): Likewise.
38477         (cos_towardzero_test_data): Likewise.
38478         (cos_downward_test_data): Likewise.
38479         (cos_upward_test_data): Likewise.
38480         (cosh_test_data): Likewise.
38481         (cosh_tonearest_test_data): Likewise.
38482         (cosh_towardzero_test_data): Likewise.
38483         (cosh_downward_test_data): Likewise.
38484         (cosh_upward_test_data): Likewise.
38485         * sysdeps/i386/fpu/libm-test-ulps: Update.
38486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38488 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
38490         [BZ #6787]
38491         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
38492         * math/w_exp10f.c (__exp10f): Likewise.
38493         * math/w_exp10l.c (__exp10l): Likewise.
38494         * math/libm-test.inc (exp10_test_data): Add more tests and expect
38495         errno settings in existing tests.
38497         [BZ #14032]
38498         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
38499         precision control set to double precision.
38500         * sysdeps/i386/fpu/w_sqrt.c: New file.
38501         * math/auto-libm-test-in: Add more tests.
38502         * math/auto-libm-test-out: Update.
38504         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
38505         (sqrt_test_tonearest): New function.
38506         (sqrt_towardzero_test_data): New variable.
38507         (sqrt_test_towardzero): New function.
38508         (sqrt_downward_test_data): New variable.
38509         (sqrt_test_downward): New function.
38510         (sqrt_upward_test_data): New variable.
38511         (sqrt_test_upward): New function.
38512         (main): Call the new functions.
38514         * math/gen-auto-libm-tests.c: New file.
38515         * math/auto-libm-test-in: Likewise.
38516         * math/auto-libm-test-out: New generated file.
38517         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
38518         variables.
38519         (%beautify): Add generated representations of zero.
38520         (top level): Set $auto_input and call parse_auto_input.
38521         (beautify): Remove trailing "f" from hex float constants.
38522         (parse_args): Handle XFAIL_TEST.
38523         (convert_condition): New function.
38524         (or_value): Likewise.
38525         (or_cond_value): Likewise.
38526         (generate_testfile): Handle AUTO_TESTS_* lines.
38527         (parse_auto_input): New function.
38528         * math/libm-test.inc (XFAIL_TEST): New macro.
38529         (ERRNO_UNCHANGED): Update value.
38530         (ERRNO_EDOM): Likewise.
38531         (ERRNO_ERANGE): Likewise.
38532         (IGNORE_RESULT): Likewise.
38533         (TEST_COND_flt_32): New macro.
38534         (TEST_COND_dbl_64): Likewise.
38535         (TEST_COND_ldbl_96_intel): Likewise.
38536         (TEST_COND_ldbl_96_m68k): Likewise.
38537         (TEST_COND_ldbl_128): Likewise.
38538         (TEST_COND_ldbl_128ibm): Likewise.
38539         (TEST_COND_long32): Likewise.
38540         (TEST_COND_long64): Likewise.
38541         (TEST_COND_before_rounding): Likewise.
38542         (TEST_COND_after_rounding): Likewise.
38543         (enable_test): Handle XFAIL_TEST flag.
38544         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
38545         with finite results.
38546         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
38547         auto-libm-test-out.
38549 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38550             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38552         [BZ #16214]
38553         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
38554         __tls_get_addr_internal instead of __tls_get_offset in order to
38555         avoid GOT pointer dependency.  Make rtld export
38556         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
38557         __tls_get_addr since we are a __tls_get_offset platform.
38558         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
38559         GOT pointer being set up before.
38560         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
38562 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
38564         * manual/math.texi (Errors in Math Functions): Document accuracy
38565         goals.
38567         [BZ #15004]
38568         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
38569         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
38570         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38572         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38573         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38574         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38575         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38576         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38577         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38578         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38579         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38580         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38581         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38582         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38583         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38585         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
38586         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
38587         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
38588         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
38589         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
38590         Likewise.
38591         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
38592         Likewise.
38593         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
38594         Likewise.
38595         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
38596         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
38597         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
38598         atomic-feupdateenv and flt-rounds.
38599         * sysdeps/powerpc/nofpu/Versions (libc): Add
38600         __atomic_feholdexcept, __atomic_feclearexcept,
38601         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
38602         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
38603         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
38604         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
38605         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
38606         here.
38607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38608         Update.
38610         * manual/arith.texi (FP Exceptions): Document that exceptions may
38611         not be raised when matherr is used.
38612         (Math Error Reporting): Document overflow in directed rounding
38613         modes.  Document that errno may not be set when finite values are
38614         returned on overflow.  Document intent to set errno on underflow
38615         only for underflow to zero.
38617         [BZ #16271]
38618         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38619         round-to-nearest then adjust result for other rounding modes.
38620         * include/fenv.h (fegetround): Use libm_hidden_proto.
38621         * math/fegetround.c (fegetround): Use libm_hidden_def.
38622         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38623         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38624         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38625         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38626         Likewise.
38627         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38628         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38629         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38630         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38632 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38634         [BZ #16077]
38635         * nss/Versions (libnss_files): Add
38636         _nss_files_gethostbyname3_r.
38637         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38638         New function.
38639         (HOST_DB_LOOKUP): Remove macro.
38640         (_nss_files_gethostbyname_r): Implement function without the
38641         HOST_DB_LOOKUP macro.
38642         (_nss_files_gethostbyname2_r): Likewise.
38644 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
38646         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38648 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
38650         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38651         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38652         warning.
38654 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38656         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38657         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38658         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38659         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38660         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
38661         __fe_nomask_env_priv and attribute_hidden.
38662         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
38663         (libc_feupdateenv_test_ppc): Likewise.
38664         (libc_feresetround_ppc): Likewise.
38665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38666         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
38667         compat_symbol macro.
38668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38669         (__fe_nomask_env): Likewise.
38670         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
38672 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38674         * string/Makefile: Remove ifunc tests.
38675         * string/test-string.h: Define TEST_IFUNC.
38676         * string/test-bcopy-ifunc.c: Remove.
38677         * string/test-bzero-ifunc.c: Likewise.
38678         * string/test-memccpy-ifunc.c: Likewise.
38679         * string/test-memchr-ifunc.c: Likewise.
38680         * string/test-memcmp-ifunc.c: Likewise.
38681         * string/test-memcpy-ifunc.c: Likewise.
38682         * string/test-memmem-ifunc.c: Likewise.
38683         * string/test-memmove-ifunc.c: Likewise.
38684         * string/test-mempcpy-ifunc.c: Likewise.
38685         * string/test-memrchr-ifunc.c: Likewise.
38686         * string/test-memset-ifunc.c: Likewise.
38687         * string/test-rawmemchr-ifunc.c: Likewise.
38688         * string/test-stpcpy-ifunc.c: Likewise.
38689         * string/test-stpncpy-ifunc.c: Likewise.
38690         * string/test-strcasecmp-ifunc.c: Likewise.
38691         * string/test-strcasestr-ifunc.c: Likewise.
38692         * string/test-strcat-ifunc.c: Likewise.
38693         * string/test-strchr-ifunc.c: Likewise.
38694         * string/test-strchrnul-ifunc.c: Likewise.
38695         * string/test-strcmp-ifunc.c: Likewise.
38696         * string/test-strcpy-ifunc.c: Likewise.
38697         * string/test-strcspn-ifunc.c: Likewise.
38698         * string/test-strlen-ifunc.c: Likewise.
38699         * string/test-strncasecmp-ifunc.c: Likewise.
38700         * string/test-strncat-ifunc.c: Likewise.
38701         * string/test-strncmp-ifunc.c: Likewise.
38702         * string/test-strncpy-ifunc.c: Likewise.
38703         * string/test-strnlen-ifunc.c: Likewise.
38704         * string/test-strpbrk-ifunc.c: Likewise.
38705         * string/test-strrchr-ifunc.c: Likewise.
38706         * string/test-strspn-ifunc.c: Likewise.
38707         * string/test-strstr-ifunc.c: Likewise.
38709 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38711         * benchtests/Makefile: Remove ifunc tests.
38712         * benchtests/bench-string.h: Define TEST_IFUNC.
38713         * benchtests/bench-bcopy-ifunc.c: Remove.
38714         * benchtests/bench-bzero-ifunc.c: Likewise.
38715         * benchtests/bench-memccpy-ifunc.c: Likewise.
38716         * benchtests/bench-memchr-ifunc.c: Likewise.
38717         * benchtests/bench-memcmp-ifunc.c: Likewise.
38718         * benchtests/bench-memcpy-ifunc.c: Likewise.
38719         * benchtests/bench-memmem-ifunc.c: Likewise.
38720         * benchtests/bench-memmove-ifunc.c: Likewise.
38721         * benchtests/bench-mempcpy-ifunc.c: Likewise.
38722         * benchtests/bench-memrchr-ifunc.c: Likewise.
38723         * benchtests/bench-memset-ifunc.c: Likewise.
38724         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38725         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38726         * benchtests/bench-stpcpy-ifunc.c: Likewise.
38727         * benchtests/bench-stpncpy-ifunc.c: Likewise.
38728         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38729         * benchtests/bench-strcasestr-ifunc.c: Likewise.
38730         * benchtests/bench-strcat-ifunc.c: Likewise.
38731         * benchtests/bench-strchr-ifunc.c: Likewise.
38732         * benchtests/bench-strchrnul-ifunc.c: Likewise.
38733         * benchtests/bench-strcmp-ifunc.c: Likewise.
38734         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38735         * benchtests/bench-strcpy-ifunc.c: Likewise.
38736         * benchtests/bench-strcspn-ifunc.c: Likewise.
38737         * benchtests/bench-strlen-ifunc.c: Likewise.
38738         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38739         * benchtests/bench-strncat-ifunc.c: Likewise.
38740         * benchtests/bench-strncmp-ifunc.c: Likewise.
38741         * benchtests/bench-strncpy-ifunc.c: Likewise.
38742         * benchtests/bench-strnlen-ifunc.c: Likewise.
38743         * benchtests/bench-strpbrk-ifunc.c: Likewise.
38744         * benchtests/bench-strrchr-ifunc.c: Likewise.
38745         * benchtests/bench-strsep-ifunc.c: Likewise.
38746         * benchtests/bench-strspn-ifunc.c: Likewise.
38747         * benchtests/bench-strstr-ifunc.c: Likewise.
38749 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38751         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38753 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38755         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38756         * rt/aio.h: Likewise.
38757         * sysdeps/gnu/bits/utmp.h: Likewise.
38758         * sysdeps/gnu/bits/utmpx.h: Likewise.
38759         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38760         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38761         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38762         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38763         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38764         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38765         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38766         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38767         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38768         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38769         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38770         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38771         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38773         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38774         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38775         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38776         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38777         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38778         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38779         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38780         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38781         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38782         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38783         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38785         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38786         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38787         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38788         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38789         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38790         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38791         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38792         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38793         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38794         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38795         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38796         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38797         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38798         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38799         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38800         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38802 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38804         [BZ #16245]
38805         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38806         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38808 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38810         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38811         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38812         Likewise.
38814 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38816         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38817         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38818         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38819         (__fesetround): Remove define.
38820         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38821         rounding and exceptions handling.
38822         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38823         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38824         (__fe_nomask_env): Likewise.
38825         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38826         __fegetround instead of fegetround.
38827         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38828         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38830 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38832         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38833         it's there.
38835         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38837 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38839         [BZ #11157]
38840         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38841         (encrypt_r): Likewise.
38842         * malloc/obstack.h (obstack_free): Likewise.
38843         * posix/unistd.h (encrypt): Likewise.
38845 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38847         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38848         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38849         DL_CALL_DT_FINI() that call the functions directly.
38850         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38851         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38852         * elf/dl-fini.c: Likewise.
38854 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38856         * malloc/hooks.c (memalign_check): Add alignment rounding.
38857         * malloc/malloc.c (_mid_memalign): New function.
38858         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38859         Implement by calling _mid_memalign.
38860         * manual/probes.texi (Memory Allocation Probes): Remove
38861         memory_valloc_retry and memory_pvalloc_retry.
38863 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38865         * locale/programs/locarchive.c (open_archive): Add const
38866         qualifier to ARCHIVEFNAME and copy default fname to
38867         DEFAULT_FNAME.
38869         [BZ #15601]
38870         * libio/tst-widetext.input: Rename Oriya to Odia.
38871         * locale/iso-639.def: Likewise.
38873         * manual/probes.texi (Mathematical Function Probes): Add
38874         documentation for sin, cos, asin and acos probes.
38875         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38876         (__sin32): Add slowasin probe.
38877         (__cos32): Add slowacos probe.
38878         (__mpsin): Add slowsin probe.
38879         (__mpcos): Add slowcos probe.
38881 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38883         [BZ #15483]
38884         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38885         thread-local __sim_exceptions_thread and global
38886         __sim_exceptions_global.
38887         (__sim_disabled_exceptions): Change to thread-local
38888         __sim_disabled_exceptions_thread and global
38889         __sim_disabled_exceptions_global.
38890         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38891         and global __sim_round_mode_global.
38892         (__simulate_exceptions): Use thread-local floating-point state and
38893         set global state from it as needed.
38894         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38895         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38896         __sim_round_mode_thread.
38897         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38898         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38899         and global __sim_exceptions_global.
38900         (__sim_disabled_exceptions): Change to thread-local
38901         __sim_disabled_exceptions_thread and global
38902         __sim_disabled_exceptions_global.
38903         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38904         and global __sim_round_mode_global.
38905         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38906         (SIM_SET_GLOBAL): Likewise.
38907         * sysdeps/powerpc/soft-fp/sfp-machine.h
38908         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38909         __sim_round_mode_thread.
38910         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38911         __sim_disabled_exceptions_thread.
38912         (__sim_exceptions): Change to __sim_exceptions_thread.
38913         (__sim_disabled_exceptions): Change to
38914         __sim_disabled_exceptions_thread.
38915         (__sim_round_mode): Change to __sim_round_mode_thread.
38916         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38917         thread-local floating-point state and set global state from it as
38918         needed.
38919         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38920         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38921         (__sim_disabled_exceptions): Remove extern declaration.
38922         (feenableexcept): Use thread-local floating-point state and set
38923         global state from it as needed.
38924         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38925         extern declaration.
38926         (__sim_disabled_exceptions): Likewise.
38927         (__sim_round_mode): Likewise.
38928         (__fegetenv): Use thread-local floating-point state.
38929         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38930         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38931         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38932         floating-point state and set global state from it as needed.
38933         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38934         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38935         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38936         Likewise.
38937         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38938         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38939         Likewise.
38940         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38941         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38942         Use __sim_round_mode_thread.
38943         * math/test-fenv-tls.c: New file.
38944         * math/Makefile (tests): Add test-fenv-tls.
38945         ($(objpfx)test-fenv-tls): Depend on
38946         $(common-objpfx)nptl/libpthread.so.
38948 2013-11-19  Andreas Schwab  <schwab@suse.de>
38950         * locale/programs/locale.c (show_info): Decode wordarray elements.
38951         * locale/categories.def (LC_MONETARY): Add element for
38952         _NL_MONETARY_CRNCYSTR.
38953         * locale/C-monetary.c (conversion_rate): New variable.
38954         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38955         element.
38957 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38959         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38960         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38962 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38964         * elf/Makefile (tst-auxv): New test.
38965         * elf/tst-auxv.c: New
38966         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38968 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38970         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38971         (hidden_proto): Caller changed.
38972         (hidden_tls_proto): New macro.
38973         (libc_hidden_tls_proto): Likewise.
38974         (rtld_hidden_tls_proto): Likewise.
38975         (libm_hidden_tls_proto): Likewise.
38976         (libresolv_hidden_tls_proto): Likewise.
38977         (librt_hidden_tls_proto): Likewise.
38978         (libdl_hidden_tls_proto): Likewise.
38979         (libnss_files_hidden_tls_proto): Likewise.
38980         (libnsl_hidden_tls_proto): Likewise.
38981         (libnss_nisplus_hidden_tls_proto): Likewise.
38982         (libutil_hidden_tls_proto): Likewise.
38984 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38986         [BZ #10253]
38987         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38988         (decompose_rpath): Defer expansion to fillin_rpath.
38989         (_dl_init_paths): Pass linkmap to fillin_rpath.
38991 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38993         * benchtests/Makefile: Add strsep.
38994         * benchtests/bench-strsep.c: New file: strsep benchtest.
38995         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38997 2013-11-18  Andreas Schwab  <schwab@suse.de>
38999         * locale/programs/locale.c (show_info) [case byte]: Check for
39000         '\377' instead of '\177'.
39001         * locale/C-monetary.c (not_available): Always use "\377".
39002         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39003         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39004         detect unavailable sign_posn locale elements.
39005         * locale/localeconv.c (__localeconv): For grouping and
39006         mon_grouping handle "\177" and "\377" like no grouping.
39007         (INT_ELEM): New macro.  Use it to set all numeric members.
39008         * locale/programs/ld-monetary.c (monetary_read)
39009         <tok_mon_grouping>: Normalize single -1 to the empty string.
39010         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39011         Likewise.
39013 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39015         [BZ #16055]
39016         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39017         when we match (nil).
39018         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39020 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39022         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39023         (NO_TEST_INLINE): Update value.
39024         (ERRNO_UNCHANGED): Likewise.
39025         (ERRNO_EDOM): Likewise.
39026         (ERRNO_ERANGE): Likewise.
39027         (IGNORE_RESULT): Likewise.
39028         (check_float_internal): Check signs of NaN results if
39029         TEST_NAN_SIGN used.
39030         (check_complex): Pass TEST_NAN_SIGN flag through to second
39031         check_float_internal call.
39032         (copysign_test_data): Add tests with quiet NaNs as second
39033         argument.  Use TEST_NAN_SIGN.
39034         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39035         TEST_NAN_SIGN.
39036         (signbit_test_data): Add tests of quiet NaN argument.
39037         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39039         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39040         $ignore_result.
39041         (parse_args): Handle function results specified as IGNORE.
39042         * math/libm-test.inc (IGNORE_RESULT): New macro.
39043         (check_float_internal): Do not check numerical result if flag
39044         IGNORE_RESULT set.
39045         (check_complex): Pass through IGNORE_RESULT to second
39046         check_float_internal call.
39047         (check_int): Do not check numerical result if flag IGNORE_RESULT
39048         set.
39049         (check_long): Likewise.
39050         (check_bool): Likewise.
39051         (check_longlong): Likewise.
39052         (lrint_test_data): Add tests of infinite and NaN arguments.
39053         (lrint_tonearest_test_data): Likewise.
39054         (lrint_towardzero_test_data): Likewise.
39055         (lrint_downward_test_data): Likewise.
39056         (lrint_upward_test_data): Likewise.
39057         (llrint_test_data): Likewise.
39058         (llrint_tonearest_test_data): Likewise.
39059         (llrint_towardzero_test_data): Likewise.
39060         (llrint_downward_test_data): Likewise.
39061         (llrint_upward_test_data): Likewise.
39062         (lround_test_data): Likewise.
39063         (llround_test_data): Likewise.
39065         * math/libm-test.inc (NO_TEST_INLINE): New macro.
39066         (ERRNO_UNCHANGED): Update value.
39067         (ERRNO_EDOM): Likewise.
39068         (ERRNO_ERANGE): Likewise.
39069         (NO_TEST_INLINE_FLOAT): New macro.
39070         (NO_TEST_INLINE_DOUBLE): Likewise.
39071         (enable_test): New function.
39072         (RUN_TEST_f_f): Check enable_test before running test.
39073         (RUN_TEST_2_f): Likewise.
39074         (RUN_TEST_fff_f): Likewise.
39075         (RUN_TEST_c_f): Likewise.
39076         (RUN_TEST_f_f1): Likewise.
39077         (RUN_TEST_fF_f1): Likewise.
39078         (RUN_TEST_fI_f1): Likewise.
39079         (RUN_TEST_ffI_f1): Likewise.
39080         (RUN_TEST_c_c): Likewise.
39081         (RUN_TEST_cc_c): Likewise.
39082         (RUN_TEST_f_i): Likewise.
39083         (RUN_TEST_f_i_tg): Likewise.
39084         (RUN_TEST_ff_i_tg): Likewise.
39085         (RUN_TEST_f_b): Likewise.
39086         (RUN_TEST_f_b_tg): Likewise.
39087         (RUN_TEST_f_l): Likewise.
39088         (RUN_TEST_f_L): Likewise.
39089         (RUN_TEST_fFF_11): Likewise.
39090         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39091         conditionals.
39092         (cosh_test_data): Likewise.
39093         (exp_test_data): Likewise.
39094         (expm1_test_data): Likewise.
39095         (hypot_test_data): Likewise.
39096         (pow_test_data): Likewise.
39097         (sinh_test_data): Likewise.
39098         (tanh_test_data): Likewise.
39099         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39100         flags argument.
39102         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39103         tests with quiet NaN input and output.
39104         (acosh_test_data): Likewise.
39105         (asin_test_data): Likewise.
39106         (asinh_test_data): Likewise.
39107         (atan_test_data): Likewise.
39108         (atanh_test_data): Likewise.
39109         (atan2_test_data): Likewise.
39110         (cbrt_test_data): Likewise.
39111         (cos_test_data): Likewise.
39112         (cosh_test_data): Likewise.
39113         (erf_test_data): Likewise.
39114         (erfc_test_data): Likewise.
39115         (exp_test_data): Likewise.
39116         (exp10_test_data): Likewise.
39117         (exp2_test_data): Likewise.
39118         (expm1_test_data): Likewise.
39119         (hypot_test_data): Likewise.
39120         (j0_test_data): Likewise.
39121         (j1_test_data): Likewise.
39122         (jn_test_data): Likewise.
39123         (lgamma_test_data): Likewise.
39124         (log_test_data): Likewise.
39125         (log10_test_data): Likewise.
39126         (log1p_test_data): Likewise.
39127         (log2_test_data): Likewise.
39128         (pow_test_data): Likewise.
39129         (scalb_test_data): Likewise.
39130         (sin_test_data): Likewise.
39131         (sincos_test_data): Likewise.
39132         (sinh_test_data): Likewise.
39133         (tan_test_data): Likewise.
39134         (tanh_test_data): Likewise.
39135         (tgamma_test_data): Likewise.
39136         (y0_test_data): Likewise.
39137         (y1_test_data): Likewise.
39138         (yn_test_data): Likewise.
39140         [BZ #16167]
39141         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
39142         argument being NaN and avoid computations with second argument in
39143         that case.
39144         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39145         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39146         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39148 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
39150         * locale/iso-639.def: Add Chitwani Tharu (the).
39152 2013-11-14  Andreas Schwab  <schwab@suse.de>
39154         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
39155         word instead of empty string.
39157 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39160         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
39161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39162         (__fe_nomask_env): Likewise.
39164 2013-11-13  Steve Ellcey  <sellcey@mips.com>
39166         * benchtests/bench-timing.h: Include time.h.
39168 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
39170         [BZ #15997]
39171         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
39172         to 3.4.0 for x32.
39173         * sysdeps/unix/sysv/linux/configure: Regenerated.
39175 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
39177         [BZ #16151]
39178         * stdlib/strtod_l.c (round_and_return): Do not consider
39179         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
39180         exponent one less than half the least subnormal exponent.
39181         * stdlib/test-strtod-round-data: Add more tests.
39182         * stdlib/tst-strtod-round.c (tests): Regenerated.
39184 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39186         [BZ #14143]
39187         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
39188         (__fe_mask_env): Likewise.
39189         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39190         libm_hidden_proto and add function prototype.
39191         (__fe_mask_env): Add function prototype.
39192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39193         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
39194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39195         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
39196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39197         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
39199 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39201         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
39202         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
39204 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39206         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
39207         of htab_find_slot().
39209 2013-11-11  David S. Miller  <davem@davemloft.net>
39211         [BZ #16150]
39212         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
39213         symbol in the non-vis3 case in static builds.
39214         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
39215         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
39216         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
39217         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
39219 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
39221         [BZ #387]
39222         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
39223         it is empty.
39225 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39227         * benchtests/Makefile: Add bench-strtod.
39228         * benchtests/bench-strtod.c: New file: strtod benchtest
39230 2013-11-11  Andreas Schwab  <schwab@suse.de>
39232         [BZ #16153]
39233         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
39234         terminating NUL in key length.
39236 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39238         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39239         Add artificial ODP entry for vDSO symbol for PPC64.
39240         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
39241         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
39243 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39245         [BZ #15374]
39246         * nss/getent.c (services_keys): Recognize services starting with digit.
39248 2013-11-06  David S. Miller  <davem@davemloft.net>
39250         [BZ #15985]
39251         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
39252         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
39254 2013-11-06  Will Newton  <will.newton@linaro.org>
39256         * manual/memory.texi (Malloc Examples): Remove register
39257         keyword from examples.
39259 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
39261         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
39263 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
39265         [BZ #6981]
39266         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
39267         depending on [__GCC_IEC_559 > 0].
39268         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
39269         depending on [__GCC_IEC_559_COMPLEX > 0].
39271 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
39273         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
39274         to iso-639.def.
39276 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
39278         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
39280 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
39282         [BZ #16112]
39283         * malloc/malloc (malloc_info): Do not handle first bin as
39284         special case.
39286 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
39288         * locale/iso-639.def: Add Central Nahuatl (nhn).
39290 2013-11-01  Bruno Haible  <bruno@clisp.org>
39292         [BZ #7003]
39293         * manual/math.texi (BSD Random): Specify range upper bound as
39294         in POSIX.
39296 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
39298         * locale/iso-639.def: Add Meadow Mari (mhr).
39300 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
39302         [BZ #14752], [BZ #15763]
39303         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
39304         Validate name.
39305         * rt/tst_shm.c: Add test for escaping directory.
39307 2013-10-31  Andreas Schwab  <schwab@suse.de>
39309         [BZ #15917]
39310         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
39311         followed by 'x' as part of digit sequence.
39312         * stdio-common/tst-sscanf.c (double_tests2): New tests.
39314 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
39316         [BZ #16037]
39317         * configure.ac: allow GNU Make 4.0 and greater.
39318         * configure: Regenerated.
39320 2013-10-30  Will Newton  <will.newton@linaro.org>
39322         [BZ #16038]
39323         * malloc/hooks.c (memalign_check): Limit alignment to the
39324         maximum representable power of two.
39325         * malloc/malloc.c (__libc_memalign): Likewise.
39326         * malloc/tst-memalign.c (do_test): Add test for very
39327         large alignment values.
39328         * malloc/tst-posix_memalign.c (do_test): Likewise.
39330 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39332         [BZ #11087]
39333         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
39334         (munmap_chunk): Likewise.
39335         (mremap_chunk): Likewise.
39337 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39339         [BZ #15799]
39340         * stdlib/div.c (div): Remove obsolete code.
39341         * stdlib/ldiv.c (ldiv): Likewise.
39342         * stdlib/lldiv.c (lldiv): Likewise.
39344 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39346         [BZ #16071]
39347         * nss/nss_files/files-XXX.c (get_contents_ret): New
39348         enumerator.
39349         (get_contents): New function.
39350         (internal_getent): Use it.  Expand size of LINEBUFLEN.
39352 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
39354         * configure.in: Moved to ...
39355         * configure.ac: ... here. Change reference to configure.in
39356         to configure.ac.
39357         * sysdeps/arm/preconfigure.ac: ... here.
39358         configure.in to configure.ac.
39359         * sysdeps/gnu/configure.in: Moved to ...
39360         * sysdeps/gnu/configure.ac: ... here.
39361         * sysdeps/i386/configure.in: Moved to ...
39362         * sysdeps/i386/configure.ac: ... here.
39363         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
39364         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
39365         * sysdeps/mach/configure.in: Moved to ...
39366         * sysdeps/mach/configure.ac: ... here.
39367         * sysdeps/mach/hurd/configure.in: Moved to ...
39368         * sysdeps/mach/hurd/configure.ac: ... here.
39369         * sysdeps/powerpc/configure.in: Moved to ...
39370         * sysdeps/powerpc/configure.ac: ... here.
39371         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
39372         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
39373         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
39374         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
39375         * sysdeps/s390/s390-32/configure.in: Moved to ...
39376         * sysdeps/s390/s390-32/configure.ac: ... here.
39377         * sysdeps/s390/s390-64/configure.in: Moved to ...
39378         * sysdeps/s390/s390-64/configure.ac: ... here.
39379         * sysdeps/sh/configure.in: Moved to ...
39380         * sysdeps/sh/configure.ac: ... here.
39381         * sysdeps/sparc/configure.in: Moved to ...
39382         * sysdeps/sparc/configure.ac: ... here.
39383         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
39384         * sysdeps/unix/sysv/linux/configure.ac: ... here.
39385         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
39386         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
39387         * sysdeps/x86_64/configure.in: Moved to ...
39388         * sysdeps/x86_64/configure.ac: ... here.
39389         * sysdeps/x86_64/preconfigure.in: Moved to ...
39390         * sysdeps/x86_64/preconfigure.ac: ... here.
39391         * aclocal.m4: Change reference to configure.in to configure.ac.
39392         * config.h.in: Likewise.
39393         * manual/install.texi: Likewise.
39394         * manual/maint.texi: Likewise.
39395         * Makefile: Likewise.
39396         * malloc/Makefile: Likewise.
39397         * nscd/Makefile: Likewise.
39398         * Makeconfig: Change reference to configure.in and
39399         preconfigure.in to configure.ac and preconfigure.ac
39400         respectively.
39401         * INSTALL: Regenerated.
39402         * configure: Likewise.
39403         * sysdeps/gnu/configure: Likewise.
39404         * sysdeps/i386/configure: Likewise.
39405         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
39406         * sysdeps/mach/configure: Likewise.
39407         * sysdeps/mach/hurd/configure: Likewise.
39408         * sysdeps/powerpc/configure: Likewise.
39409         * sysdeps/powerpc/powerpc32/configure: Likewise.
39410         * sysdeps/powerpc/powerpc64/configure: Likewise.
39411         * sysdeps/s390/s390-32/configure: Likewise.
39412         * sysdeps/s390/s390-64/configure: Likewise.
39413         * sysdeps/sh/configure: Likewise.
39414         * sysdeps/sparc/configure: Likewise.
39415         * sysdeps/unix/sysv/linux/configure: Likewise.
39416         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
39417         * sysdeps/x86_64/configure: Likewise.
39418         * sysdeps/x86_64/preconfigure: Likewise.
39420 2013-10-29  Andreas Schwab  <schwab@suse.de>
39422         * stdio-common/Makefile (tst-swscanf-ENV): Define.
39424 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39426         * benchtests/pow-inputs: Add new inputs.
39428         * benchtests/exp-inputs: Add new inputs.
39430         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
39431         conditional check for return value.
39432         (__cos32): Likewise.
39434 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39436         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
39437         to provide a boost for large inputs with word alignment.
39438         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
39439         implementation based on optimized PPC64 strcpy.
39440         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
39441         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
39442         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
39443         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
39445 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39447         [BZ #2801]
39448         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
39450 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39452         [BZ #14876]
39453         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
39454         * time/tst-strptime.c (day_tests): Add testcase.
39456 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39458         [BZ #14029]
39459         * manual/pattern.texi: Acknowledge that fnmatch can fail.
39461 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
39463         [BZ #16074]
39464         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
39465         MAP_FAILED on error.
39467 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39469         [BZ #16072]
39470         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
39471         heap for large requests.
39473 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
39475         [BZ #9954]
39476         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
39477         result if the result has no associated interface.
39478         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
39479         interface for all 127.X.Y.Z addresses.
39481 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
39483         * locale/iso-639.def: Add Ligurian (lij)
39485 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
39487         [BZ #15825]
39488         * sunrpc/rpc_main.c: Document rpcgen -5.
39490 2013-10-19  Michael Stahl  <mstahl@redhat.com>
39492         * elf/rtld.c (do_preload): Print the reason why preloading failed.
39494 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39496         [BZ #10278]
39497         * posix/glob.c: Match only directories when trailing slash is present.
39498         * posix/tst-gnuglob.c (my_opendir): Do not open files.
39499         (main): Add testcase.
39501 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39503         [BZ #15670]
39504         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
39506 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
39508         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
39509         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
39510         AUTH_DES and cindex for FIPS 140-2.
39511         (DES Encryption): Add cindex FIPS 46-3.
39513         * locale/locarchive.h (struct locarhandle): Add fname.
39514         * locale/programs/localedef.c (main): Pass ARGV[remaining]
39515         if an optional argument was specified to --list-archive,
39516         otherwise NULL.
39517         * locale/programs/locarchive.c (show_archive_content): Take new
39518         argument fname and pass it via ah.fname to open_archive.
39519         * locale/programs/localedef.h: Update decl.
39520         (open_archive): If AH->fname is non-null, open that file
39521         rather than the default file name, and don't ignore ENOENT.
39522         (create_archive): Set AH.fname to NULL.
39523         (delete_locales_from_archive): Likewise.
39524         (add_locales_to_archive): Likewise.
39525         * locale/programs/locfile.c (write_all_categories): Likewise.
39527 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
39528             Aldy Hernandez  <aldyh@redhat.com>
39530         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
39531         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
39532         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
39533         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
39534         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
39535         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
39536         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
39537         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
39538         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
39539         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
39540         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
39541         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
39542         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
39543         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
39544         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
39545         Likewise.
39546         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
39547         Likewise.
39548         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
39549         Likewise.
39550         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
39551         Likewise.
39552         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
39553         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
39554         Likewise.
39555         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
39556         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
39557         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
39558         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
39559         Likewise.
39560         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
39561         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
39562         * sysdeps/powerpc/preconfigure: Likewise.
39563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
39564         Likewise.
39565         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
39566         Replace contents of file by #include of <fenv_libc.h>.
39567         * sysdeps/powerpc/soft-fp/sfp-machine.h
39568         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
39569         and <sys/prctl.h>.
39570         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
39571         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
39572         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
39573         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
39574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
39575         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
39576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
39577         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
39578         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
39579         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
39580         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
39581         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
39582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39583         Allow copysignl PLT reference to be missing.
39585 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
39586             Joseph Myers  <joseph@codesourcery.com
39588         [BZ #15948]
39589         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
39590         single character.
39591         (add_to_tablewc): Assert sequence of wide characters is nonempty.
39593 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39595         * elf/tst-tls-dlinfo.c: Don't include tls.h.
39596         * elf/tst-tls1.c: Likewise.
39597         * elf/tst-tls10.h: Likewise.
39598         * elf/tst-tls14.c: Likewise.
39599         * elf/tst-tls2.c: Likewise.
39600         * elf/tst-tls3.c: Likewise.
39601         * elf/tst-tls4.c: Likewise.
39602         * elf/tst-tls5.c: Likewise.
39603         * elf/tst-tls6.c: Likewise.
39604         * elf/tst-tls7.c: Likewise.
39605         * elf/tst-tls8.c: Likewise.
39606         * elf/tst-tls9.c: Likewise.
39607         * elf/tst-tlsmod1.c: Likewise.
39608         * elf/tst-tlsmod13.c: Likewise.
39609         * elf/tst-tlsmod13a.c: Likewise.
39610         * elf/tst-tlsmod14a.c: Likewise.
39611         * elf/tst-tlsmod16a.c: Likewise.
39612         * elf/tst-tlsmod16b.c: Likewise.
39613         * elf/tst-tlsmod2.c: Likewise.
39614         * elf/tst-tlsmod3.c: Likewise.
39615         * elf/tst-tlsmod4.c: Likewise.
39616         * elf/tst-tlsmod5.c: Likewise.
39617         * elf/tst-tlsmod6.c: Likewise.
39619 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
39621         [BZ #12486]
39622         * malloc/malloc.c: remove checks for statistics.
39624 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39626         [BZ #15277]
39627         * inet/inet_net.c (inet_network): Detect additional invalid strings.
39628         * inet/tst-network.c: Add testcase.
39630 2013-10-17  Andreas Schwab  <schwab@suse.de>
39632         [BZ #15218]
39633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39634         to determine canonical name.
39636 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39638         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39639         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39641         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39643         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39644         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39645         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39646         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39647         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39648         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39649         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39650         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39651         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39652         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39653         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39654         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39655         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39656         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39657         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39658         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39659         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39660         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39661         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
39662         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
39663         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39664         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39665         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
39666         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39667         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39668         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39669         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39670         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39671         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39672         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39673         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39674         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39675         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39676         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39677         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39678         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39679         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39680         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39681         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39682         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39683         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39684         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39685         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39686         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39687         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39688         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39689         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39690         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39691         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39692         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39693         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39694         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39695         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39697 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
39699         [BZ #16041]
39700         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
39701         make result into a quiet NaN.
39703 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
39705         * soft-fp/adddf3.c: Fix horizontal whitespace.
39706         * soft-fp/addsf3.c: Likewise.
39707         * soft-fp/addtf3.c: Likewise.
39708         * soft-fp/divdf3.c: Likewise.
39709         * soft-fp/divsf3.c: Likewise.
39710         * soft-fp/divtf3.c: Likewise.
39711         * soft-fp/double.h: Likewise.
39712         * soft-fp/eqdf2.c: Likewise.
39713         * soft-fp/eqsf2.c: Likewise.
39714         * soft-fp/eqtf2.c: Likewise.
39715         * soft-fp/extenddftf2.c: Likewise.
39716         * soft-fp/extended.h: Likewise.
39717         * soft-fp/extendsfdf2.c: Likewise.
39718         * soft-fp/extendsftf2.c: Likewise.
39719         * soft-fp/extendxftf2.c: Likewise.
39720         * soft-fp/fixdfdi.c: Likewise.
39721         * soft-fp/fixdfsi.c: Likewise.
39722         * soft-fp/fixdfti.c: Likewise.
39723         * soft-fp/fixsfdi.c: Likewise.
39724         * soft-fp/fixsfsi.c: Likewise.
39725         * soft-fp/fixsfti.c: Likewise.
39726         * soft-fp/fixtfdi.c: Likewise.
39727         * soft-fp/fixtfsi.c: Likewise.
39728         * soft-fp/fixtfti.c: Likewise.
39729         * soft-fp/fixunsdfdi.c: Likewise.
39730         * soft-fp/fixunsdfsi.c: Likewise.
39731         * soft-fp/fixunsdfti.c: Likewise.
39732         * soft-fp/fixunssfdi.c: Likewise.
39733         * soft-fp/fixunssfsi.c: Likewise.
39734         * soft-fp/fixunssfti.c: Likewise.
39735         * soft-fp/fixunstfdi.c: Likewise.
39736         * soft-fp/fixunstfsi.c: Likewise.
39737         * soft-fp/fixunstfti.c: Likewise.
39738         * soft-fp/floatdidf.c: Likewise.
39739         * soft-fp/floatdisf.c: Likewise.
39740         * soft-fp/floatditf.c: Likewise.
39741         * soft-fp/floatsidf.c: Likewise.
39742         * soft-fp/floatsisf.c: Likewise.
39743         * soft-fp/floatsitf.c: Likewise.
39744         * soft-fp/floattidf.c: Likewise.
39745         * soft-fp/floattisf.c: Likewise.
39746         * soft-fp/floattitf.c: Likewise.
39747         * soft-fp/floatundidf.c: Likewise.
39748         * soft-fp/floatundisf.c: Likewise.
39749         * soft-fp/floatunditf.c: Likewise.
39750         * soft-fp/floatunsidf.c: Likewise.
39751         * soft-fp/floatunsisf.c: Likewise.
39752         * soft-fp/floatunsitf.c: Likewise.
39753         * soft-fp/floatuntidf.c: Likewise.
39754         * soft-fp/floatuntisf.c: Likewise.
39755         * soft-fp/floatuntitf.c: Likewise.
39756         * soft-fp/fmadf4.c: Likewise.
39757         * soft-fp/fmasf4.c: Likewise.
39758         * soft-fp/fmatf4.c: Likewise.
39759         * soft-fp/gedf2.c: Likewise.
39760         * soft-fp/gesf2.c: Likewise.
39761         * soft-fp/getf2.c: Likewise.
39762         * soft-fp/ledf2.c: Likewise.
39763         * soft-fp/lesf2.c: Likewise.
39764         * soft-fp/letf2.c: Likewise.
39765         * soft-fp/muldf3.c: Likewise.
39766         * soft-fp/mulsf3.c: Likewise.
39767         * soft-fp/multf3.c: Likewise.
39768         * soft-fp/negdf2.c: Likewise.
39769         * soft-fp/negsf2.c: Likewise.
39770         * soft-fp/negtf2.c: Likewise.
39771         * soft-fp/op-1.h: Likewise.
39772         * soft-fp/op-2.h: Likewise.
39773         * soft-fp/op-4.h: Likewise.
39774         * soft-fp/op-8.h: Likewise.
39775         * soft-fp/op-common.h: Likewise.
39776         * soft-fp/quad.h: Likewise.
39777         * soft-fp/single.h: Likewise.
39778         * soft-fp/soft-fp.h: Likewise.
39779         * soft-fp/sqrtdf2.c: Likewise.
39780         * soft-fp/sqrtsf2.c: Likewise.
39781         * soft-fp/sqrttf2.c: Likewise.
39782         * soft-fp/subdf3.c: Likewise.
39783         * soft-fp/subsf3.c: Likewise.
39784         * soft-fp/subtf3.c: Likewise.
39785         * soft-fp/truncdfsf2.c: Likewise.
39786         * soft-fp/trunctfdf2.c: Likewise.
39787         * soft-fp/trunctfsf2.c: Likewise.
39788         * soft-fp/trunctfxf2.c: Likewise.
39789         * soft-fp/unorddf2.c: Likewise.
39790         * soft-fp/unordsf2.c: Likewise.
39791         * soft-fp/unordtf2.c: Likewise.
39793 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39795         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39796         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39798 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39800         * elf/dl-libc.c: Clear initfini list after freeing.
39802 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39804         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39805         * soft-fp/addsf3.c: Likewise.
39806         * soft-fp/addtf3.c: Likewise.
39807         * soft-fp/divdf3.c: Likewise.
39808         * soft-fp/divsf3.c: Likewise.
39809         * soft-fp/divtf3.c: Likewise.
39810         * soft-fp/double.h: Likewise.
39811         * soft-fp/eqdf2.c: Likewise.
39812         * soft-fp/eqsf2.c: Likewise.
39813         * soft-fp/eqtf2.c: Likewise.
39814         * soft-fp/extenddftf2.c: Likewise.
39815         * soft-fp/extended.h: Likewise.
39816         * soft-fp/extendsfdf2.c: Likewise.
39817         * soft-fp/extendsftf2.c: Likewise.
39818         * soft-fp/extendxftf2.c: Likewise.
39819         * soft-fp/fixdfdi.c: Likewise.
39820         * soft-fp/fixdfsi.c: Likewise.
39821         * soft-fp/fixdfti.c: Likewise.
39822         * soft-fp/fixsfdi.c: Likewise.
39823         * soft-fp/fixsfsi.c: Likewise.
39824         * soft-fp/fixsfti.c: Likewise.
39825         * soft-fp/fixtfdi.c: Likewise.
39826         * soft-fp/fixtfsi.c: Likewise.
39827         * soft-fp/fixtfti.c: Likewise.
39828         * soft-fp/fixunsdfdi.c: Likewise.
39829         * soft-fp/fixunsdfsi.c: Likewise.
39830         * soft-fp/fixunsdfti.c: Likewise.
39831         * soft-fp/fixunssfdi.c: Likewise.
39832         * soft-fp/fixunssfsi.c: Likewise.
39833         * soft-fp/fixunssfti.c: Likewise.
39834         * soft-fp/fixunstfdi.c: Likewise.
39835         * soft-fp/fixunstfsi.c: Likewise.
39836         * soft-fp/fixunstfti.c: Likewise.
39837         * soft-fp/floatdidf.c: Likewise.
39838         * soft-fp/floatdisf.c: Likewise.
39839         * soft-fp/floatditf.c: Likewise.
39840         * soft-fp/floatsidf.c: Likewise.
39841         * soft-fp/floatsisf.c: Likewise.
39842         * soft-fp/floatsitf.c: Likewise.
39843         * soft-fp/floattidf.c: Likewise.
39844         * soft-fp/floattisf.c: Likewise.
39845         * soft-fp/floattitf.c: Likewise.
39846         * soft-fp/floatundidf.c: Likewise.
39847         * soft-fp/floatundisf.c: Likewise.
39848         * soft-fp/floatunsidf.c: Likewise.
39849         * soft-fp/floatunsisf.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-14   Ondřej Bílka  <neleai@seznam.cz>
39892         [BZ #15672]
39893         * misc/error.c (error_tail): Fix possible buffer overflow.
39895 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39897         [BZ #13028]
39898         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39899         address.
39901 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39903         [BZ #832]
39904         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39905         testing pipefail option.
39907 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39909         * soft-fp/double.h: Indent preprocessor directives inside #if.
39910         * soft-fp/extended.h: Likewise.
39911         * soft-fp/op-2.h: Likewise.
39912         * soft-fp/op-4.h: Likewise.
39913         * soft-fp/op-common.h: Likewise.
39914         * soft-fp/quad.h: Likewise.
39915         * soft-fp/single.h: Likewise.
39916         * soft-fp/soft-fp.h: Likewise.
39918 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39920         * iconv/iconv_prog.c: Fix typos.
39921         * stdio-common/psiginfo-data.h: Likewise.
39923 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39925         [BZ #15764]
39926         * locale/setlocale.c: Fix typo.
39928 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39930         [BZ #16036]
39931         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39932         signaling NaN arguments.
39933         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39934         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39936         [BZ #14910]
39937         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39938         unordered operands.
39939         * soft-fp/gesf2.c (__gesf2): Likewise.
39940         * soft-fp/getf2.c (__getf2): Likewise.
39941         * soft-fp/ledf2.c (__ledf2): Likewise.
39942         * soft-fp/lesf2.c (__lesf2): Likewise.
39943         * soft-fp/letf2.c (__letf2): Likewise.
39945         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39946         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39947         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39948         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39949         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39950         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39951         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39952         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39953         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39954         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39955         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39956         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39957         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39958         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39959         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39960         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39961         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39962         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39963         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39964         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39965         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39966         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39967         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39968         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39969         * soft-fp/floattidf.c (__floattidf): Likewise.
39970         * soft-fp/floattisf.c (__floattisf): Likewise.
39971         * soft-fp/floattitf.c (__floattitf): Likewise.
39972         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39973         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39974         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39975         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39976         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39977         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39978         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39979         * soft-fp/gesf2.c (__gesf2): Likewise.
39980         * soft-fp/getf2.c (__getf2): Likewise.
39981         * soft-fp/ledf2.c (__ledf2): Likewise.
39982         * soft-fp/lesf2.c (__lesf2): Likewise.
39983         * soft-fp/letf2.c (__letf2): Likewise.
39985         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39986         Undefine and redefine.
39987         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39988         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39989         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39990         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39991         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39992         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39993         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39994         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39995         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39996         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39997         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39998         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39999         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40000         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40001         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40003         [BZ #16032]
40004         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40005         without decrementing exponent if mantissa >= that for the
40006         denominator, not >.
40007         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40008         denominator, not >.  Decrement exponent in < case instead of
40009         incrementing in >= case.
40010         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40011         without decrementing exponent if mantissa >= that for the
40012         denominator, not >.
40014         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40015         computing saturated result for unsigned overflow.
40017 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40018             Jeff Law  <law@redhat.com>
40020         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40021         (atan2Mp): Add systemtap probe marker.
40022         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40023         (__ieee754_log): Add systemtap probe marker.
40024         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40025         (atanMp): Add systemtap probe marker.
40026         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40027         (tanMp): Add systemtap probe marker.
40028         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40029         (__slowexp): Add systemtap probe marker.
40030         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40031         (__slowpow): Add systemtap probe marker.
40032         * manual/probes.texi: Document probes.
40034 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40036         [BZ #15362]
40037         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40038         written.
40039         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40040         written.
40041         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40042         written to buffer but not flushed.
40043         * libio/iofwrite_u.c:  Likewise.
40044         * libio/iopadn.c:  Return bytes returned even if EOF was
40045         encountered.
40046         * libio/iowpadn.c:  Likewise.
40047         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40048         if _IO_padn does not write the whole buffer.
40049         [!COMPILE_WPRINTF] (PAD): Likewise.
40051 2013-10-10  David S. Miller  <davem@davemloft.net>
40053         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40054         directory block.
40056 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40058         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40059         instead of FSF address.
40060         * soft-fp/fixdfti.c: Likewise.
40061         * soft-fp/fixsfti.c: Likewise.
40062         * soft-fp/fixtfti.c: Likewise.
40063         * soft-fp/fixunsdfti.c: Likewise.
40064         * soft-fp/fixunssfti.c: Likewise.
40065         * soft-fp/fixunstfti.c: Likewise.
40066         * soft-fp/floattidf.c: Likewise.
40067         * soft-fp/floattisf.c: Likewise.
40068         * soft-fp/floattitf.c: Likewise.
40069         * soft-fp/floatuntidf.c: Likewise.
40070         * soft-fp/floatuntisf.c: Likewise.
40071         * soft-fp/floatuntitf.c: Likewise.
40072         * soft-fp/trunctfxf2.c: Likewise.
40074         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
40075         * soft-fp/fixdfti.c: Likewise.
40076         * soft-fp/fixsfti.c: Likewise.
40077         * soft-fp/fixtfti.c: Likewise.
40078         * soft-fp/fixunsdfti.c: Likewise.
40079         * soft-fp/fixunssfti.c: Likewise.
40080         * soft-fp/fixunstfti.c: Likewise.
40081         * soft-fp/floattidf.c: Likewise.
40082         * soft-fp/floattisf.c: Likewise.
40083         * soft-fp/floattitf.c: Likewise.
40084         * soft-fp/floatuntidf.c: Likewise.
40085         * soft-fp/floatuntisf.c: Likewise.
40086         * soft-fp/floatuntitf.c: Likewise.
40087         * soft-fp/trunctfxf2.c: Likewise.
40089 2013-10-10  David S. Miller  <davem@davemloft.net>
40091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40093 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
40095         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40096         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40097         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40098         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40099         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40100         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40101         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40103         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40104         for NaNs before doing comparisons on argument.
40105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40106         Likewise.
40108 2013-10-10  Will Newton  <will.newton@linaro.org>
40110         * malloc/hooks.c (memalign_check): Ensure the value of bytes
40111         passed to _int_memalign does not overflow.
40113 2013-10-10  Torvald Riegel  <triegel@redhat.com>
40115         * scripts/bench.pl: Add include-sources directive.
40116         * benchtests/README: Update documentation.
40118 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40120         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40121         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40122         instead of FP_INIT_ROUNDMODE.
40123         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40124         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40126         [BZ #16034]
40127         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
40128         copy class of input value.
40129         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
40130         not handle exceptions.
40131         * soft-fp/negsf2.c (__negsf2): Likewise.
40132         * soft-fp/negtf2.c (__negtf2): Likewise.
40133         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
40135 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
40137         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
40138         semicolon.  From Linux kernel.
40140 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
40142         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
40144 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
40146         [BZ #156]
40147         * manual/socket.texi: Added statement about buffer
40148         for gethostbyname2_r.
40150 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
40152         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
40153         Use .p2align directive instead, throughout.
40154         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40155         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40156         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
40157         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40158         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40159         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
40160         * sysdeps/x86_64/strchr.S: Likewise.
40161         * sysdeps/x86_64/strrchr.S: Likewise.
40163 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40165         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
40167         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
40169         * sysdeps/generic/math_private.h (__mpsin1): Remove
40170         declaration.
40171         (__mpcos1): Likewise.
40172         (__mpsin): New argument __range_reduce.
40173         (__mpcos): Likewise.
40174         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40175         (slow): Use __mpsin and __mpcos.
40176         (slow1): Likewise.
40177         (slow2): Likewise.
40178         (sloww): Likewise.
40179         (sloww1): Likewise.
40180         (sloww2): Likewise.
40181         (bsloww): Likewise.
40182         (bsloww1): Likewise.
40183         (bsloww2): Likewise.
40184         (cslow2): Likewise.
40185         (csloww): Likewise.
40186         (csloww1): Likewise.
40187         (csloww2): Likewise.
40188         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40189         range_reduce.  Merge in __mpsin1.
40190         (__mpcos): Likewise.
40191         (__mpsin1): Remove.
40192         (__mpcos1): Likewise.
40194 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
40196         * locale/loadlocale.c (_nl_intern_locale_data): Use
40197         LOCFILE_ALIGNED_P.
40198         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
40199         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
40200         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
40201         obstack data is appropriately aligned.
40202         (obstack_int32_grow_fast): Likewise.
40203         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40204         * locale/programs/locfile.c (add_locale_uint32): Likewise.
40205         (add_locale_uint32_array): Likewise.
40207 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40209         * benchtests/Makefile: Remove ARGLIST and RET variables.
40210         ($(objpfx)bench-%.c): Pass only function name to the script.
40211         * benchtests/README: Update documentation.
40212         * benchtests/acos-inputs: Add new directives.
40213         * benchtests/acosh-inputs: Likewise.
40214         * benchtests/asin-inputs: Likewise.
40215         * benchtests/asinh-inputs: Likewise.
40216         * benchtests/atan-inputs: Likewise.
40217         * benchtests/atanh-inputs: Likewise.
40218         * benchtests/cos-inputs: Likewise.
40219         * benchtests/cosh-inputs: Likewise.
40220         * benchtests/exp-inputs: Likewise.
40221         * benchtests/log-inputs: Likewise.
40222         * benchtests/pow-inputs: Likewise.
40223         * benchtests/rint-inputs: Likewise.
40224         * benchtests/sin-inputs: Likewise.
40225         * benchtests/sinh-inputs: Likewise.
40226         * benchtests/tan-inputs: Likewise.
40227         * benchtests/tanh-inputs: Likewise.
40228         * scripts/bench.pl: Add support for new directives.
40230 2013-10-07  Alan Modra  <amodra@gmail.com>
40232         * README: Fix careless merge.
40234 2013-10-05  Alan Modra  <amodra@gmail.com>
40236         * NEWS: Mention powerpc64le support and bugs fixed.
40237         * README: Both big-endian and little-endian powerpc64 supported.
40239 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40241         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
40242         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
40243         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
40244         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
40246 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
40248         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
40249         match prototype.
40251 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
40253         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
40254         Move -mhard-float appending from
40255         ports/sysdeps/powerpc/powerpc32/Makefile.
40256         [$(with-fp) = yes] (ASFLAGS): Likewise.
40257         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
40258         * sysdeps/powerpc/nofpu: Move directory from
40259         ports/sysdeps/powerpc/nofpu.
40260         * sysdeps/powerpc/soft-fp: Move directory from
40261         ports/sysdeps/powerpc/soft-fp.
40262         * sysdeps/powerpc/powerpc32/405: Move directory from
40263         ports/sysdeps/powerpc/powerpc32/405.
40264         * sysdeps/powerpc/powerpc32/440: Move directory from
40265         ports/sysdeps/powerpc/powerpc32/440.
40266         * sysdeps/powerpc/powerpc32/464: Move directory from
40267         ports/sysdeps/powerpc/powerpc32/464.
40268         * sysdeps/powerpc/powerpc32/476: Move directory from
40269         ports/sysdeps/powerpc/powerpc32/476.
40270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
40271         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
40272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
40273         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
40274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
40275         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
40276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
40277         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
40278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
40279         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
40280         * README: Update for powerpc-*-linux-gnu software floating point
40281         support in libc.
40283         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
40284         case to powerpc/powerpc32*.
40285         * sysdeps/unix/sysv/linux/configure: Regenerated.
40287         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
40288         (_FPU_MASK_OM): Define as 0x04.
40289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
40290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
40291         0x00c10080.
40292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
40293         0x0000003c.
40294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
40296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
40297         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40298         getcontext_e500.
40299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
40300         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40301         setcontext_e500.
40302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
40303         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
40304         and setcontext_e500.
40306 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
40308         * locale/iso-3166.def: Update iso-1366.def and related occurrences
40310 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40312         * manual/threads.texi (Default Thread Attributes): Fix typo.
40314 2013-10-04  Will Newton  <will.newton@linaro.org>
40316         * malloc/Makefile: Add tst-memalign.
40317         * malloc/tst-memalign.c: New file.
40319         * malloc/tst-posix_memalign.c: Add comments.
40320         (do_test): Add comments and call free on all potentially
40321         allocated pointers. Add space after cast.
40323         * malloc/tst-pvalloc.c: Add comments.
40324         (do_test): Add comments and call free on all potentially
40325         allocated pointers. Remove duplicate check for NULL pointer.
40326         Add space after cast.
40328         * malloc/tst-valloc.c: Add comments.
40329         (do_test): Add comments and call free on all potentially
40330         allocated pointers. Remove duplicate check for NULL pointer.
40331         Add space after cast.
40333 2013-10-04  Alan Modra  <amodra@gmail.com>
40335         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40336         Use stdint types in rather than __attribute__((mode())).
40337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40339 2013-10-04  Alan Modra  <amodra@gmail.com>
40341         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40342         Correct handling of unaligned relocs for little-endian.
40343         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40345 2013-10-04  Alan Modra  <amodra@gmail.com>
40347         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
40348         * configure: Regenerate.
40349         * nptl/shlib-versions: Powerpc*le starts at 2.18.
40350         * shlib-versions: Likewise.
40352 2013-10-04  Alan Modra  <amodra@gmail.com>
40354         * string/tester.c (test_memrchr): Increment reported test cycle.
40356 2013-10-04  Alan Modra  <amodra@gmail.com>
40358         * string/test-memcpy.c (do_one_test): When reporting errors, print
40359         string address and don't overrun end of string.
40361 2013-10-04  Alan Modra  <amodra@gmail.com>
40363         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
40364         insrdi.  Make better use of reg selection to speed exit slightly.
40365         Schedule entry path a little better.  Remove useless "are we done"
40366         checks on entry to main loop.  Handle wrapping around zero address.
40367         Correct main loop count.  Handle single left-over word from main
40368         loop inline rather than by using loop_small.  Remove extra word
40369         case in loop_small caused by wrong loop count.  Add little-endian
40370         support.
40371         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40372         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
40373         cache hint.
40374         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40375         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
40376         support.  Avoid rlwimi.
40377         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
40379 2013-10-04  Alan Modra  <amodra@gmail.com>
40381         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
40382         insrdi.  Formatting.
40383         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
40384         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40385         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40386         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40387         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40388         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
40390 2013-10-04  Alan Modra  <amodra@gmail.com>
40392         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
40393         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40394         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40395         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
40396         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40397         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40399         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40400         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
40401         use of regs.  Use power7 mtocrf.  Tidy function tails.
40403 2013-10-04  Alan Modra  <amodra@gmail.com>
40405         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
40406         Formatting.  Consistently use rXXX register defines or rN defines.
40407         Use early exit labels that avoid restoring unused non-volatile regs.
40408         Make cr field use more consistent with rWORDn compares.  Rename
40409         regs used as shift registers for unaligned loop, using rN defines
40410         for short lifetime/multiple use regs.
40411         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40412         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
40413         addi 1,1,64 to pop stack frame.  Simplify return value code.
40414         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40416 2013-10-04  Alan Modra  <amodra@gmail.com>
40418         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
40419         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
40420         rather than rlwimi.
40421         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
40422         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
40423         little-endian support.  Correct typos.
40424         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
40425         rather than rlwimi.
40426         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
40427         in loop and entry code to keep "and." results.
40428         (strchr): Add little-endian support.  Comment.  Move cntlzd
40429         earlier in tail.
40430         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
40432 2013-10-04  Alan Modra  <amodra@gmail.com>
40434         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
40435         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
40436         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
40437         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
40439 2013-10-04  Alan Modra  <amodra@gmail.com>
40441         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
40442         (rTMP): Define as r11.
40443         (strcmp): Add little-endian support.  Optimise tail.
40444         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
40445         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40446         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40447         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40448         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40449         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40450         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40452 2013-10-04  Alan Modra  <amodra@gmail.com>
40454         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
40455         little-endian support.  Remove unnecessary "are we done" tests.
40456         Handle "s" wrapping around zero and extremely large "size".
40457         Correct main loop count.  Handle single left-over word from main
40458         loop inline rather than by using small_loop.  Correct comments.
40459         Delete "zero" tail, use "end_max" instead.
40460         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
40462 2013-10-04  Alan Modra  <amodra@gmail.com>
40464         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
40465         support.  Don't branch over align.
40466         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
40467         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
40468         support.  Rearrange tmp reg use to suit.  Comment.
40469         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
40471 2013-10-04  Alan Modra  <amodra@gmail.com>
40473         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
40475 2013-10-04  Alan Modra  <amodra@gmail.com>
40477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
40478         conditional form of branch and link when obtaining pc.
40479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40481 2013-10-04  Alan Modra  <amodra@gmail.com>
40483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
40484         HIWORD/LOWORD.
40485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
40486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
40488 2013-10-04  Alan Modra  <amodra@gmail.com>
40490         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
40491         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
40492         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40493         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
40494         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40495         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40496         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
40497         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40498         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40499         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
40501 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40502             Alistair Popple <alistair@ozlabs.au.ibm.com>
40503             Alan Modra <amodra@gmail.com>
40505         [BZ #15723]
40506         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
40507         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
40508         _dl_hwcap access for little-endian.
40509         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
40510         destroy vmx regs when saving unaligned.
40511         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
40512         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
40513         destroy vmx regs when saving unaligned.
40515 2013-10-04  Alan Modra  <amodra@gmail.com>
40517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
40518         Don't use a union to pack hi/low value.
40520 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40522         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
40523         for little-endian.
40524         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40525         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
40526         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40527         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40528         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40530 2013-10-04  Alan Modra  <amodra@gmail.com>
40532         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
40533         constants to usual value for .cst8 section, and remove redundant
40534         high address load.
40535         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
40536         constant for 0x1p52.  Load little-endian words of double from
40537         correct stack offsets.
40539 2013-10-04  Alan Modra  <amodra@gmail.com>
40541         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
40542         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
40543         words of double from correct stack offsets.
40544         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40545         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
40546         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40547         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40548         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40549         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40550         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40551         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40552         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40553         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40554         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40555         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40556         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40557         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40558         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40559         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
40560         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40562 2013-10-04  Alan Modra  <amodra@gmail.com>
40564         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
40565         64-bit int/double union.
40566         (_FPU_SETCW): Likewise.
40567         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
40568         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
40570 2013-10-04  Alan Modra  <amodra@gmail.com>
40572         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
40573         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
40575 2013-10-04  Alan Modra  <amodra@gmail.com>
40577         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
40578         use vector int constants.
40579         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
40581 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40583         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
40584         array with long long.
40585         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
40586         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
40587         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
40588         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
40589         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
40590         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
40591         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
40592         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
40593         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
40594         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
40595         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
40596         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
40597         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
40599 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40601         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
40602         (__signbit): Likewise.  Correct for little-endian.
40603         (__signbitl): Call __signbit.
40604         (lrint): Correct for little-endian.
40605         (lrintf): Call lrint.
40607 2013-10-04  Alan Modra  <amodra@gmail.com>
40609         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
40610         union 32-bit int array member with 64-bit int array.
40611         (t515, tm256): Double rather than long double.
40612         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
40614 2013-10-04  Alan Modra  <amodra@gmail.com>
40616         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40617         Delete.
40618         (IEEE854_LONG_DOUBLE_BIAS): Delete.
40619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40620         version of math_ldbl.h.
40622 2013-10-04  Alan Modra  <amodra@gmail.com>
40624         [BZ #15734], [BZ #15735]
40625         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40626         all uses of ieee875 long double macros and unions.  Simplify test
40627         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
40628         ldbl_extract_mantissa value for ix,iy exponents.  Properly
40629         normalize after ldbl_extract_mantissa, and don't add hidden bit
40630         already handled.  Don't treat low word of ieee854 mantissa like
40631         low word of IBM long double and mask off bit when testing for
40632         zero.
40633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40634         all uses of ieee875 long double macros and unions.  Simplify tests
40635         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
40636         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
40637         two1022, instead use their values.  Recognise that tests for large
40638         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
40639         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40640         Rewrite all uses of ieee875 long double macros and unions.  Simplify
40641         test for 0.0L and nan.  Correct negation.
40642         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40643         ieee875 long double macros and unions.  Correct output for large
40644         magnitude x.  Correct absolute value calculation.
40645         (__erfcl): Likewise.
40646         * math/libm-test.inc: Add tests for errors discovered in IBM long
40647         double versions of fmodl, remainderl, erfl and erfcl.
40649 2013-10-04  Alan Modra  <amodra@gmail.com>
40651         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40652         all uses of ieee854 long double macros and unions.  Simplify tests
40653         for long doubles that are fully specified by the high double.
40654         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40655         Likewise.
40656         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40657         Remove dead code too.
40658         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40659         (__ieee754_ynl): Likewise.
40660         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40661         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
40662         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
40663         Remove dead code too.
40664         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
40665         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
40666         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
40667         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
40668         Simplify.
40669         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
40670         Simplify.
40671         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
40672         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
40673         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
40674         Comment on variable precision.
40675         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
40676         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40677         Likewise.
40678         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
40679         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40680         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40681         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
40682         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
40684 2013-10-04  Alan Modra  <amodra@gmail.com>
40686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
40687         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40688         all uses of ieee854 long double macros and unions.
40689         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
40690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40691         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
40692         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
40693         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
40694         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40695         Likewise.
40696         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
40697         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40698         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
40699         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40700         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
40701         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
40702         Simplify sign and nan test too.
40703         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40704         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40705         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40706         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40707         Likewise.
40708         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40709         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40710         Likewise.
40711         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40712         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40713         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40714         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40715         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40716         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40718 2013-10-04  Alan Modra  <amodra@gmail.com>
40720         * stdio-common/printf_size.c (__printf_size): Don't use
40721         union ieee854_long_double in fpnum union.
40722         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
40723         signbit macro to retrieve sign from long double.
40724         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40725         retrieve sign from long double.
40726         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40727         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40728         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40729         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40730         * math/test-misc.c (main): Don't use union ieee854_long_double.
40732 2013-10-04  Alan Modra  <amodra@gmail.com>
40734         [BZ #15680]
40735         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40736         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40737         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40738         calculation.  Remove unnecessary test for denormal exponent.
40739         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40740         Correct handling of denormals.  Avoid undefined shift behaviour.
40741         Correct normalisation of low mantissa when low double is denormal.
40742         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40743         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
40744         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40745         Correct normalisation of low mantissa.  Test for overflow of high
40746         mantissa and normalise.
40747         (ldbl_nearbyint): Use more readable constant for two52.
40748         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40749         (__mpn_construct_long_double): Fix test for overflow of high
40750         mantissa and correct normalisation.  Avoid undefined shift.
40752 2013-10-04  Alan Modra  <amodra@gmail.com>
40754         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40755         (union ibm_extended_long_double): Define as an array of ieee754_double.
40756         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40757         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40758         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40759         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40761         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40763         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40764         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40765         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40766         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40768 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40770         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40771         page size instead of calling getpagesize.
40773         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40774         (LOCFILE_ALIGN_MASK): Likewise.
40775         (LOCFILE_ALIGN_UP): Likewise.
40776         (LOCFILE_ALIGNED_P): Likewise.
40777         * locale/programs/ld-collate.c (collate_output): Use the new
40778         macros instead of __alignof__ (int32_t).
40779         * locale/weight.h (findidx): Likewise.
40781 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40783         [BZ #431]
40784         * manual/string.texi: Fix strncat and wcsncat.
40786 2013-10-03  Brooks Moses  <bmoses@google.com>
40788         [BZ #15915]
40789         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40790         * Makerules: ...here, and adjust associated comments.
40792 2013-10-02  Will Newton  <will.newton@linaro.org>
40794         * malloc/Makefile: Add tst-pvalloc.
40795         * malloc/tst-pvalloc.c: New file.
40797 2013-10-02  Will Newton  <will.newton@linaro.org>
40799         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40800         improve test coverage.
40802 2013-10-02  Will Newton  <will.newton@linaro.org>
40804         * malloc/Makefile: Add tst-posix_memalign.
40805         * malloc/tst-posix_memalign.c: New file.
40807 2013-10-01  Eric Blake  <eblake@redhat.com>
40809         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40810         Use __THROWNL rather than __THROW on static functions.
40812 2013-09-30  Petr Machata  <pmachata@redhat.com>
40814         * elf/elf.h (R_AARCH64_ABS16): New macro.
40815         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40816         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40817         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40818         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40819         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40820         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40821         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40822         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40823         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40824         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40825         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40826         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40827         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40828         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40829         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40830         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40831         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40832         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40833         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40834         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40835         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40836         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40837         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40838         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40839         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40840         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40841         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40842         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40843         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40844         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40845         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40846         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40847         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40848         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40849         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40850         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40851         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40852         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40853         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40854         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40855         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40856         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40857         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40858         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40859         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40860         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40861         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40862         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40863         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40864         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40865         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40866         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40867         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40868         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40869         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40870         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40871         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40872         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40873         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40874         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40875         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40876         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40877         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40878         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40879         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40880         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40881         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40882         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40883         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40884         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40885         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40886         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40887         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40888         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40889         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40890         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40891         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40892         (R_AARCH64_TLSDESC_LDR): Likewise.
40893         (R_AARCH64_TLSDESC_ADD): Likewise.
40894         (R_AARCH64_TLSDESC_CALL): Likewise.
40896 2013-09-30  Andreas Schwab  <schwab@suse.de>
40898         [BZ #15048]
40899         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40900         the nss database lookup.
40901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40904 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40906         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40908 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40910         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40911         ${Bash-specific parameter/pattern/string} parameter expansion.
40912         * sysdeps/unix/make-syscalls.sh: Likewise.
40914 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40916         * sysdeps/sh/stackguard-macros.h: New file.
40918 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40922         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40923         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40924         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40925         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40927 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40929         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40930         Fix thread ID register.
40932 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40934         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40935         [POSIX || UNIX98]: Require rather than permitting all symbols from
40936         <time.h>.
40937         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40938         element of struct sched_param.
40939         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40940         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40941         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40942         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40943         constant.
40945 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40947         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40948         argument calculation.
40950 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40952         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40953         Expect macro.
40954         [POSIX] (pthread_attr_t): Do not require type.
40955         [POSIX] (pthread_cond_t): Likewise.
40956         [POSIX] (pthread_condattr_t): Likewise.
40957         [POSIX] (pthread_key_t): Likewise.
40958         [POSIX] (pthread_mutex_t): Likewise.
40959         [POSIX] (pthread_mutexattr_t): Likewise.
40960         [POSIX] (pthread_once_t): Likewise.
40961         [POSIX] (pthread_t): Likewise.
40962         [POSIX-based standards] (pthread_atfork): Expect function.
40964 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40965             Richard Sandiford  <richard@codesourcery.com>
40967         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40968         (swap_endianness_p): New extern variable.
40969         (set_big_endian): New inline function.
40970         (maybe_swap_uint32): Likewise.
40971         (maybe_swap_uint32_array): Likewise.
40972         (maybe_swap_uint32_obstack): Likewise.
40973         * locale/programs/locfile.c: Include <stdbool.h>.
40974         (swap_endianness_p): New variable.
40975         (add_locale_uint32): Call maybe_swap_uint32.
40976         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40977         (write_locale_data): Call maybe_swap_uint32_array.
40978         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40979         maybe_swap_uint32.
40980         (obstack_int32_grow_fast): Likewise.
40981         (output_weightwc): Call maybe_swap_uint32_obstack.
40982         (collate_output): Likewise.
40983         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40984         (OPT_LITTLE_ENDIAN): Likewise.
40985         (options): Add --little-endian and --big-endian options.
40986         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40987         * locale/programs/locarchive.c: Include "locfile.h".
40988         (GET): New macro.
40989         (SET): Likewise.
40990         (INC): Likewise.
40991         (create_archive): Use the new macros to access fields of
40992         structures directly mapped from or written to locale archives.
40993         (oldlocrecentcmp): Likewise.
40994         (enlarge_archive): Likewise.
40995         (insert_name): Likewise.
40996         (add_alias): Likewise.
40997         (add_locale): Likewise.
40998         (delete_locales_from_archive): Likewise.
40999         (show_archive_content): Likewise.
41000         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41001         locale data.
41003 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41005         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41006         http://www.gnu.org/doc/freemanuals.texi.
41007         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41009 2013-09-24  Will Newton  <will.newton@linaro.org>
41011         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41012         macro.
41014 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41016         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41017         unsigned char.
41019 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41021         * manual/threads.texi (POSIX Threads): Fix a typo.
41023 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41025         [BZ #14547]
41026         * string/tst-strcoll-overflow.c: New test case.
41027         * string/Makefile (xtests): Add tst-strcoll-overflow.
41028         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41029         cache if string sizes may cause integer overflow.
41031         [BZ #14547]
41032         * string/strcoll_l.c (coll_seq): New members rule, idx,
41033         save_idx and back_us.
41034         (get_next_seq_nocache): New function.
41035         (do_compare_nocache): New function.
41036         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41037         when malloc fails.
41039 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41041         [BZ #15754]
41042         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41043         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41044         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41046         [BZ #15754]
41047         * elf/Makefile (tests): Add tst-ptrguard1.
41048         (tests-static): Add tst-ptrguard1-static.
41049         (tst-ptrguard1-ARGS): Define.
41050         (tst-ptrguard1-static-ARGS): Define.
41051         * elf/tst-ptrguard1.c: New file.
41052         * elf/tst-ptrguard1-static.c: New file.
41053         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41054         * sysdeps/i386/stackguard-macros.h: Likewise.
41055         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41056         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41057         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41058         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41059         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41060         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41062 2013-09-23  Hector Marco  <hecmargi@upv.es>
41063             Ismael Ripoll  <iripoll@disca.upv.es>
41064             Carlos O'Donell  <carlos@redhat.com>
41066         [BZ #15754]
41067         * sysdeps/generic/stackguard-macros.h: Define
41068         __pointer_chk_guard_local and POINTER_CHK_GUARD.
41069         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41070         Define __pointer_chk_guard_local.
41071         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41072         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41074 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
41076         [BZ #15859]
41077         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41079 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
41081         * include/string.h (__ffs): Declare as hidden.
41082         * string/ffs.c (__ffs): Define as hidden.
41083         * sysdeps/i386/ffs.c (__ffs): Likewise.
41084         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41085         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41086         * sysdeps/s390/ffs.c (__ffs): Likewise.
41087         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41089 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
41091         * NEWS: Mention malloc probes.
41093         * malloc/arena.c (new_heap): New memory_heap_new probe.
41094         (grow_heap): New memory_heap_more probe.
41095         (shrink_heap): New memory_heap_less probe.
41096         (heap_trim): New memory_heap_free probe.
41097         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41098         (systrim): New memory_sbrk_less probe.
41099         * manual/probes.texi: Document them.
41101         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41102         * manual/probes.texi: Document it.
41104         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41105         (__libc_realloc): Add memory_realloc_retry probe.
41106         (__libc_memalign): Add memory_memalign_retry probe.
41107         (__libc_valloc): Add memory_valloc_retry probe.
41108         (__libc_pvalloc): Add memory_pvalloc_retry probe.
41109         (__libc_calloc): Add memory_calloc_retry probe.
41110         * manual/probes.texi: Document them.
41112         * malloc/arena.c (get_free_list): Add probe
41113         memory_arena_reuse_free_list.
41114         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41115         and memory_arena_reuse.
41116         (arena_get2) [!PER_THREAD]: Likewise.
41117         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41118         memory_arena_reuse_realloc.
41119         * manual/probes.texi: Document them.
41121         * malloc/malloc.c (__libc_free): Add
41122         memory_mallopt_free_dyn_thresholds probe.
41123         (__libc_mallopt): Add multiple memory_mallopt probes.
41124         * manual/probes.texi: Document them.
41126         * malloc/malloc.c: Include stap-probe.h.
41127         (__libc_mallopt): Add memory_mallopt probe.
41128         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41129         * manual/probes.texi: New.
41130         * manual/Makefile (chapters): Add probes.
41131         * manual/threads.texi: Set next node.
41133 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
41135         [BZ #15963, #13985]
41136         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
41137         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
41138         Add `Chinese' to `nan' entry name.
41140 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41142         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
41143         (POLYNOMIAL): Likewise.
41144         (TAYLOR_SINCOS): Likewise.
41145         (TAYLOR_SLOW): Likewise.
41146         (__sin): Use TAYLOR_SINCOS.
41147         (__cos): Likewise.
41148         (slow): Use TAYLOR_SLOW.
41149         (sloww): Likewise.
41150         (bsloww): Likewise.
41151         (csloww): Likewise.
41153 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41155         * stdlib/strtod_l.c: Fix buffer overrun.
41157 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41159         * benchtests/Makefile (bench): Add sincos.
41160         * benchtests/bench-sincos.c: New file.
41162         * math/libm-test.inc (cos_test_data): New test inputs.
41163         (sin_test_data): Likewise.
41165         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
41166         macro.
41167         (__sin): Use it.
41168         (__cos): Likewise.
41169         (slow1): Likewise.
41170         (slow2): Likewise.
41171         (sloww1): Likewise.
41172         (sloww2): Likewise.
41173         (bsloww1): Likewise.
41174         (bsloww2): Likewise.
41175         (cslow2): Likewise.
41176         (csloww1): Likewise.
41177         (csloww2): Likewise.
41179         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41180         function.
41181         (__sin): Use it.
41182         (__cos): Likewise.
41184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
41185         gotos.
41186         (__cos): Likewise.
41188 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
41190         * config.h.in (HAVE_MIPS_NAN2008): New macro.
41191         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
41192         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
41193         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
41194         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
41195         * elf/cache.c (print_entry): Handle the new cache flags.
41197 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41198             Aldy Hernandez  <aldyh@redhat.com>
41200         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
41201         Change condition to [_SOFT_FLOAT].
41202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
41204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
41205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
41206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
41207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
41208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
41209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
41210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
41211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
41212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
41213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
41214         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
41215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
41216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
41217         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
41218         declaration.
41220 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41222         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
41223         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41224         (__longjmp): Use LOAD_GP to load saved GPRs.
41225         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
41226         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41227         (__sigsetjmp): Use SAVE_GP to save GPRs.
41229         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
41230         Do not append -msoft-float.
41231         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
41233 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41235         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
41237 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
41239         [BZ #15966]
41240         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
41241         (_FPU_GETCW): Use initial "__" on variable and field names but not
41242         on macro parameter name.
41243         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
41244         parentheses around reference to macro parameter.
41246 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
41248         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
41249         prototype.
41250         (ctype_startup): Use uint32_t in cast and sizeof for
41251         ctype->charnames.
41253 2013-09-11  Jia Liu  <proljc@gmail.com>
41255         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
41256         __daddr_t_defined.
41257         [__FreeBSD__]: Likewise.
41259 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
41261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
41262         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
41263         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
41264         (strchr): Remove __strchr_sse42 ifunc selection.
41265         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
41266         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
41268 2013-09-11  Will Newton  <will.newton@linaro.org>
41270         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
41271         parameter to RES. Remove hardcoded 1000 value.
41272         * benchtests/bench-skeleton.c (main): Pass RES parameter
41273         to TIMING_INIT and multiply result by 1000.
41275 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41279 2013-09-11  Andreas Schwab  <schwab@suse.de>
41281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
41282         if not defined.
41283         (O_TMPFILE) [__USE_GNU]: Define.
41284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
41285         Define.
41287 2013-09-11  Will Newton  <will.newton@linaro.org>
41289         [BZ #15857]
41290         * malloc/malloc.c (__libc_memalign): Check the value of bytes
41291         does not overflow.
41293 2013-09-11  Will Newton  <will.newton@linaro.org>
41295         [BZ #15856]
41296         * malloc/malloc.c (__libc_valloc): Check the value of bytes
41297         does not overflow.
41299 2013-09-11  Will Newton  <will.newton@linaro.org>
41301         [BZ #15855]
41302         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
41303         does not overflow.
41305 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
41307         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
41308         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41309         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41310         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41311         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41313 2013-09-10  Allan McRae  <allan@archlinux.org>
41315         [BZ #15748]
41316         * manual/arith.texi (Parsing of Floats): Clarify
41317         cross-reference.
41319         [BZ #15849]
41320         * manual/install.texi (Running make install): Mention
41321         --enable-pt-chown.
41322         * INSTALL: Regenerated.
41324 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
41326         * csu/init-first.c (_init): Remove the !SHARED condition around
41327         FPU control word initialization.
41328         * elf/dl-support.c (_dl_fpu_control): New variable.
41329         (_dl_aux_init) <AT_FPUCW>: Initialize it.
41330         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
41331         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
41332         * math/test-fpucw-static.c: New file.
41333         * math/test-fpucw-ieee.c: New file.
41334         * math/test-fpucw-ieee-static.c: New file.
41335         * math/Makefile (tests): Add `test-fpucw-ieee' and
41336         `$(tests-static)'.
41337         (tests-static): New variable.
41338         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
41339         dependency to...
41340         [($(build-shared),yes)]
41341         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41342         ... this.
41343         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
41344         New dependency.
41346 2013-09-09  Allan McRae  <allan@archlinux.org>
41348         [BZ #15939]
41349         * manual/string.texi (Collation Functions): Fix typo in
41350         strcoll example.
41351         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
41353         [BZ #15893]
41354         * stdlib/isomac.c (get_null_defines): Fix memory leak.
41356         [BZ #15892]
41357         * libio/memstream.c (open_memstream): Fix memory leak.
41358         * libio/wmemstream.c (open_wmemstream): Likewise.
41360         [BZ #15895]
41361         * nscd/netgroupcache.c: Fix nesting of ifdefs.
41363 2013-09-09  Will Newton  <will.newton@linaro.org>
41365         * malloc/Makefile: Add tst-realloc to tests.
41366         * malloc/tst-realloc.c: New file.
41368 2013-09-09  Allan McRae  <allan@archlinux.org>
41370         [BZ #15844]
41371         * COPYING: Update from GNU website to fix FSF address.
41372         * COPYING.LIB: Likewise.
41374 2013-09-06  David S. Miller  <davem@davemloft.net>
41376         * po/zh_TW.po: Update Chinese (traditional) translation from
41377         translation project.
41379 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
41380             Joseph Myers  <joseph@codesourcery.com>
41382         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
41383         "localeinfo.h".
41384         (obstack_chunk_alloc): New macro.
41385         (obstack_chunk_free): Likewise.
41386         (record_offset): New function.
41387         (init_locale_data): Likewise.
41388         (align_locale_data): Likewise.
41389         (add_locale_empty): Likewise.
41390         (add_locale_raw_data): Likewise.
41391         (add_locale_raw_obstack): Likewise.
41392         (add_locale_string): Likewise.
41393         (add_locale_wstring): Likewise.
41394         (add_locale_uint32): Likewise.
41395         (add_locale_uint32_array): Likewise.
41396         (add_locale_char): Likewise.
41397         (start_locale_structure): Likewise.
41398         (end_locale_structure): Likewise.
41399         (start_locale_prelude): Likewise.
41400         (end_locale_prelude): Likewise.
41401         (write_locale_data): Take locale_file structure rather than an
41402         iovec.
41403         * locale/programs/locfile.h: Include "obstack.h".
41404         (struct locale_file): Change to store locale file contents instead
41405         of header.
41406         (init_locale_data): New prototype.
41407         (align_locale_data): Likewise.
41408         (add_locale_empty): Likewise.
41409         (add_locale_raw_data): Likewise.
41410         (add_locale_raw_obstack): Likewise.
41411         (add_locale_string): Likewise.
41412         (add_locale_wstring): Likewise.
41413         (add_locale_uint32): Likewise.
41414         (add_locale_uint32_array): Likewise.
41415         (add_locale_char): Likewise.
41416         (start_locale_structure): Likewise.
41417         (end_locale_structure): Likewise.
41418         (start_locale_prelude): Likewise.
41419         (end_locale_prelude): Likewise.
41420         (write_locale_data): Update prototype.
41421         * locale/programs/3level.h (struct TABLE): Remove result field.
41422         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
41423         Use new locale_file interface.
41424         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
41425         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
41426         * locale/programs/ld-address.c (address_output): Use new
41427         locale_file interface.
41428         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
41429         NO_ADD_LOCALE.
41430         (collate_finish): Don't call collseq_table_finalize.
41431         (collate_output): Use new locale_file interface.
41432         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
41433         in file.
41434         (NO_FINALIZE): Change to NO_ADD_LOCALE.
41435         (TABLE): Move defines earlier in file.
41436         (ELEMENT): Likewise.
41437         (DEFAULT): Likewise.
41438         (wctrans_table_add): Move macro and inline function earlier in
41439         file.
41440         (struct wctype_table): Move type earlier in file.
41441         (add_locale_wctype_table): New static prototype.
41442         (struct locale_ctype_t): Use logical types instead of struct iovec
41443         pointers for members.
41444         (ctype_output): Use new locale_file interface.
41445         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
41446         new locale_file interface.
41447         (allocate_arrays): Update for use of new locale_file interface.
41448         * locale/programs/ld-identification.c (identification_output): Use
41449         new locale_file interface.
41450         * locale/programs/ld-measurement.c (measurement_output): Likewise.
41451         * locale/programs/ld-messages.c (messages_output): Likewise.
41452         * locale/programs/ld-monetary.c (monetary_output): Likewise.
41453         * locale/programs/ld-name.c (name_output): Likewise.
41454         * locale/programs/ld-numeric.c (numeric_output): Likewise.
41455         * locale/programs/ld-paper.c (paper_output): Likewise.
41456         * locale/programs/ld-telephone.c (telephone_output): Likewise.
41457         * locale/programs/ld-time.c (time_output): Likewise.
41459 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41461         * benchtests/Makefile: Add memrchr benchmark.
41462         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
41463         benchmark as memrchr.
41464         * benchtests/bench-memrchr-ifunc.c: New file.
41465         * benchtests/bench-memrchr.c: New file.
41467 2013-09-06   Will Newton  <will.newton@linaro.org>
41469         * benchtests/Makefile (string-bench): Add memcpy.
41471 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
41472             Cong Wang  <amwang@redhat.com>
41474         [BZ #15850]
41475         * sysdeps/unix/sysv/linux/bits/in.h
41476         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
41477         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
41478         before __USE_KERNEL_IPV6_DEFS uses.
41479         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
41480         IPPROTO_BEETPH.
41481         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
41482         sockaddr_in6, or ipv6_mreq.
41484 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41486         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
41487         memory access for final bytes in some large inputs.
41488         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
41490 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41492         * string/test-memrchr.c: New file.
41493         * string/test-memrchr-ifunc.c: New file.
41494         * string/Makefile: Add new memrchr testcase.
41496 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
41498         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
41499         fanotify_init returns EPERM.
41501 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41503         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
41504         errors.
41505         (top level): Treat second token from macro or constant entries for
41506         allowed headers as allowed.
41507         * include/complex.h: Condition internal declarations on
41508         [!_ISOMAC].
41509         * include/fenv.h: Condition include of <stdbool.h> and internal
41510         declarations on [!_ISOMAC].
41512 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
41514         [BZ #15923]
41515         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
41517 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41519         * configure.in (--enable-versioning): Remove configure option.
41520         (libc_cv_asm_symver_directive): Remove configure test.
41521         (libc_cv_ld_version_script_option): Likewise.
41522         (VERSIONING): Remove variable and AC_SUBST.
41523         (DO_VERSIONING): Remove AC_DEFINE.
41524         * configure: Regenerated.
41525         * config.h.in (DO_VERSIONING): Remove macro.
41526         * Makerules [$(versioning) = yes]: Change conditionals to
41527         [$(build-shared) = yes].
41528         * config.make.in (versioning): Remove variable.
41529         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
41530         [$(build-shared) = yes].
41531         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
41532         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
41533         * elf/Makefile [$(versioning) = yes]: Change conditionals to
41534         [$(build-shared) = yes].
41535         * extra-lib.mk [$(versioning) = yes]: Likewise.
41536         * hurd/Makefile [$(versioning) = yes]: Likewise.
41537         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
41538         [SHARED].
41539         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
41540         [SHARED].
41541         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41542         [SHARED && !NO_HIDDEN].
41543         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
41544         [SHARED].
41545         [SHARED && DO_VERSIONING]: Likewise..
41546         * libio/Makefile [$(versioning) = yes]: Change conditionals to
41547         [$(build-shared) = yes].
41548         * manual/install.texi (--disable-versioning): Remove
41549         documentation.
41550         * INSTALL: Regenerated.
41551         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
41552         to [SHARED].
41553         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
41554         [$(build-shared) = yes].
41555         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
41556         * sysdeps/i386/i686/multiarch/strstr-c.c
41557         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41558         [SHARED && !NO_HIDDEN].
41559         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
41560         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
41561         * sysdeps/powerpc/powerpc32/dl-machine.c
41562         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
41563         * sysdeps/powerpc/powerpc32/sysdep.h
41564         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
41565         to [SHARED && PIC && !NO_HIDDEN].
41566         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
41567         conditional to [SHARED].
41569 2013-09-04   Will Newton  <will.newton@linaro.org>
41571         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
41572         * benchtests/bench-string.h: Include bench-timing.h instead
41573         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
41574         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
41575         call to HP_TIMING_DIFF_INIT.
41576         * benchtests/bench-memccpy.c: Use bench-timing.h macros
41577         instead of hp-timing.h macros.
41578         * benchtests/bench-memchr.c: Likewise.
41579         * benchtests/bench-memcmp.c: Likewise.
41580         * benchtests/bench-memcpy.c: Likewise.
41581         * benchtests/bench-memmem.c: Likewise.
41582         * benchtests/bench-memmove.c: Likewise.
41583         * benchtests/bench-memset.c: Likewise.
41584         * benchtests/bench-rawmemchr.c: Likewise.
41585         * benchtests/bench-strcasecmp.c: Likewise.
41586         * benchtests/bench-strcasestr.c: Likewise.
41587         * benchtests/bench-strcat.c: Likewise.
41588         * benchtests/bench-strchr.c: Likewise.
41589         * benchtests/bench-strcmp.c: Likewise.
41590         * benchtests/bench-strcpy.c: Likewise.
41591         * benchtests/bench-strcpy_chk.c: Likewise.
41592         * benchtests/bench-strlen.c: Likewise.
41593         * benchtests/bench-strncasecmp.c: Likewise.
41594         * benchtests/bench-strncat.c: Likewise.
41595         * benchtests/bench-strncmp.c: Likewise.
41596         * benchtests/bench-strncpy.c: Likewise.
41597         * benchtests/bench-strnlen.c: Likewise.
41598         * benchtests/bench-strpbrk.c: Likewise.
41599         * benchtests/bench-strrchr.c: Likewise.
41600         * benchtests/bench-strspn.c: Likewise.
41601         * benchtests/bench-strstr.c: Likewise.
41603 2013-09-04  Will Newton  <will.newton@linaro.org>
41605         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
41607 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
41609         [BZ #15427]
41610         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
41611         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
41612         * math/libm-test.inc (lgamma_test_data): Add more tests.
41613         * sysdeps/i386/fpu/libm-test-ulps: Update.
41614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41616 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
41618         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41620         Add ifunc.
41621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41622         Add strcmp-sse2-unaligned
41623         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41625 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41627         * Versions.def (libc): Add GLIBC_2.19.
41629 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41631         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41632         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41634 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
41636         [BZ #14155]
41637         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41638         intermediate calculations in recurrence.
41639         (__ieee754_ynf): Likewise.
41640         * math/libm-test.inc (jn_test_data): Do not allow spurious
41641         underflow exception.  Add more tests.
41642         (yn_test_data): Add more tests.
41643         * sysdeps/i386/fpu/libm-test-ulps: Update.
41644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41646 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
41648         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41650 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41652         * csu/init-first.c: Fix then/than typos.
41653         * locale/programs/ld-collate.c: Likewise.
41654         * locale/programs/linereader.h: Likewise.
41655         * manual/charset.texi: Likewise.
41656         * manual/filesys.texi: Likewise.
41657         * manual/stdio.texi: Likewise.
41658         * manual/string.texi: Likewise.
41659         * stdlib/fmtmsg.c: Likewise.
41660         * sysdeps/i386/stpncpy.S: Likewise.
41661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41662         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41663         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41664         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41666 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41668         * elf/dl-open.c: Fix typos.
41669         * iconvdata/gbbig5.c: Likewise.
41670         * iconvdata/iso-2022-jp.c: Likewise.
41671         * iconv/gconv_int.h: Likewise.
41672         * iconv/loop.c: Likewise.
41673         * nis/rpcsvc/nis.h: Likewise.
41674         * resolv/ns_name.c: Likewise.
41675         * stdio-common/vfscanf.c: Likewise.
41676         * streams/stropts.h: Likewise.
41677         * sunrpc/rpc_thread.c: Likewise.
41678         * sysdeps/i386/strpbrk.S: Likewise.
41679         * sysdeps/ieee754/k_standard.c: Likewise.
41680         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41682         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
41683         * sysdeps/mach/hurd/profil.c: Likewise.
41684         * sysdeps/s390/dl-procinfo.h: Likewise.
41685         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
41686         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41687         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
41688         * sysdeps/x86_64/dl-trampoline.S: Likewise.
41689         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41691 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
41693         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
41694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
41696 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
41698         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
41699         aix specific files.
41700         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
41701         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
41702         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
41703         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41704         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41705         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41706         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41707         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41709 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41710             Roland McGrath  <roland@hack.frob.com>
41712         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41713         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41715 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41717         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41718         __executable_start symbol instead of _start.
41720 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41722         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41723         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41724         Move macros to...
41725         * sysdeps/gnu/ldsodefs.h: ... this new file.
41727         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41728         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41729         instead of ELFOSABI_LINUX.
41731         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41732         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41733         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41734         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41735         Likewise.
41736         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41737         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41738         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41739         Likewise.
41740         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41741         (ibm_extended_long_double): Add ieee_nan member.
41742         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41743         (do_test): New function.
41745         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41746         TEST_TRUNC.
41747         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41748         functions, renamed from truncdfsf_test, trunctfsf_test,
41749         trunctfdf_test.
41750         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41751         functions.
41752         (do_test): Run all these.
41754 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41756         * argp/argp-help.c: Fix typos.
41757         * argp/argp-parse.c: Likewise.
41758         * debug/backtracesyms.c: Likewise.
41759         * elf/elf.h: Likewise.
41760         * malloc/malloc.c: Likewise.
41761         * nis/nis_print.c: Likewise.
41762         * resolv/res_comp.c: Likewise.
41763         * stdlib/stdlib.h: Likewise.
41764         * sunrpc/clnt_tcp.c: Likewise.
41765         * sunrpc/clnt_udp.c: Likewise.
41766         * sunrpc/clnt_unix.c: Likewise.
41767         * sysdeps/unix/bsd/ptsname.c: Likewise.
41768         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41769         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41771         Likewise.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41773         Likewise.
41774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41775         Likewise.
41776         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41778 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41780         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41783 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41785         [BZ #15897]
41786         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41787         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41788         ($(objpfx)bug-dl-leaf): New rule.
41789         ($(objpfx)bug-dl-leaf.so): Likewise.
41790         ($(objpfx)bug-dl-leaf.out): Likewise.
41791         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41792         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41793         * dlfcn/bug-dl-leaf.c: New test.
41794         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41795         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41796         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41797         (dlclose): Likewise.
41798         (dlmopen): Likewise.
41800 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41802         * include/netdb.h [!_ISOMAC]:
41803         Don't include <tls.h>.
41804         (h_errno, __libc_h_errno): Move declaration and macros out of
41805         [_LIBC_REENTRANT].
41807         * include/resolv.h [_RESOLV_H_]:
41808         Don't include <tls.h>.
41809         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41810         * resolv/res_libc.c: Don't include <tls.h>.
41811         (_res): Use __attribute__ ((nocommon)) in place of
41812         __attribute__ ((section (".bss"))).
41814         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41815         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41817         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41819         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41820         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41822         * resolv/res_mkquery.c: Include <sys/time.h>.
41824         * inet/ifreq.c: Moved to ...
41825         * sysdeps/unix/ifreq.c: ... here.
41826         * inet/ifreq.c: New file, true stub version.
41828         * socket/sa_len.c: New file.
41829         * socket/Makefile (aux): Add it.
41830         * sysdeps/unix/sysv/linux/Makefile
41831         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41832         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41833         and #include <socket/sa_len.c>.
41834         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41835         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41837         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41838         * bits/socket.h: ... here.
41840         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41841         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41842         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41844 2013-08-27  Andreas Schwab  <schwab@suse.de>
41846         [BZ #15736]
41847         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41848         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41849         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41850         * string/test-strcasecmp.c (test_main): Run tests in several
41851         locales.
41852         * string/test-strncasecmp.c (test_main): Likewise.
41854         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41855         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41856         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41858         (__strncasecmp_ssse3) [PIC]: Likewise.
41860 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41862         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41864         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41865         instead of explicitly declaring xdecrypt.
41866         * nis/nss_nis/nis-publickey.c: Likewise.
41868 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41870         [BZ #15890]
41871         * nscd/aicache.c: Include res_hconf.h.
41872         (addhstaiX): Initialize res_hconf.
41874 2013-08-26  Andreas Schwab  <schwab@suse.de>
41876         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41877         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41879 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41881         * nscd/aicache.c (addhstaiX): Fix indentation.
41883 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41885         * configure.ac: Quote $build_pt_chown test.
41886         * configure: Regenerated.
41888 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41890         [BZ #15532]
41891         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41892         * math/s_cexpf.c (__cexpf): Likewise.
41893         * math/s_cexpl.c (__cexpl): Likewise.
41894         * math/libm-test.inc (cexp_test_data): Correct expected return
41895         value for NaN + i0.  Add another test.
41897 2013-08-22  David S. Miller  <davem@davemloft.net>
41899         * po/ca.po: Update Catalan translation from translation project.
41900         * po/uk.po: Add Ukrainian translations from translation project.
41902 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41904         [BZ #15797]
41905         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41906         is infinite, not alongside NaN test.
41907         * math/s_fdimf.c (__fdimf): Likewise.
41908         * math/s_fdiml.c (__fdiml): Likewise.
41909         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41910         errno is unchanged.
41912 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41914         * argp/argp-help.c: Fix typos.
41915         * crypt/speeds.c: Likewise.
41916         * csu/check_fds.c: Likewise.
41917         * elf/dl-load.c: Likewise.
41918         * elf/dl-open.c: Likewise.
41919         * elf/reldep3.c: Likewise.
41920         * elf/reldep.c: Likewise.
41921         * elf/sprof.c: Likewise.
41922         * iconv/iconv_charmap.c: Likewise.
41923         * iconv/skeleton.c: Likewise.
41924         * iconv/strtab.c: Likewise.
41925         * io/lockf64.c: Likewise.
41926         * libio/libioP.h: Likewise.
41927         * resolv/gai_notify.c: Likewise.
41928         * resolv/ns_name.c: Likewise.
41929         * resolv/ns_samedomain.c: Likewise.
41930         * resolv/res_send.c: Likewise.
41931         * stdlib/random.c: Likewise.
41932         * sunrpc/rpc/xdr.h: Likewise.
41933         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41934         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41935         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41936         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41937         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41938         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41940         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41941         * sysdeps/mach/hurd/check_fds.c: Likewise.
41942         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41943         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41944         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41945         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41946         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41947         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41948         * sysdeps/pthread/aio_notify.c: Likewise.
41949         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41950         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41951         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41952         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41953         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41955 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41957         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41958         version if bit_Slow_SSE4_2 is set.
41959         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41960         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41962 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41964         [BZ #15867]
41965         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41966         trampoline stack frame information.
41967         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41968         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41969         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41970         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41971         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41972         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41973         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41974         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41975         sa_flags value.
41976         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41977         interrupting a syscall and set with option SA_SIGINFO.
41979 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41981         [BZ #15531]
41982         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41983         argument is infinite.
41984         * math/s_cprojf.c (__cprojf): Likewise.
41985         * math/s_cprojl.c (__cprojl): Likewise.
41986         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41987         * math/libm-test.inc (cproj_test_data): Add more tests.
41989         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41991         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41992         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41993         size.  Use __ffs to determine corresponding shift.
41995 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41996             Roland McGrath  <roland@hack.frob.com>
41998         * Makefile (INSTALL): Remove trailing blank lines from output of
41999         makeinfo.
42001 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42003         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42004         Align 32 bit compat elf_greg to 8 bytes.
42006 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42008         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42010 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42012         * string/strcoll_l.c (coll_seq): New structure.
42013         (get_next_seq_cached): New function.
42014         (get_next_seq): New function.
42015         (do_compare): New function.
42016         (STRCOLL): Use GNU style definition.  Simplify implementation
42017         by using get_next_seq, get_next_seq_cached and do_compare.
42019 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42021         [BZ #14699]
42022         CVE-2013-4237
42023         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42024         member.
42025         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42026         member.
42027         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42028         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42029         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
42030         conditional.
42031         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42032         GETDENTS_64BIT_ALIGNED.
42033         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42034         * manual/filesys.texi (Reading/Closing Directory): Document
42035         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42036         strongly.
42037         * manual/conf.texi (Limits for Files): Add portability note to
42038         NAME_MAX, PATH_MAX.
42039         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42041 2013-08-13  Andreas Schwab  <schwab@suse.de>
42043         [BZ #15749]
42044         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42045         of fabs.
42046         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42047         LDBL_MAX_EXP >= 16384]: Add tests for it.
42049 2013-08-12  David S. Miller  <davem@davemloft.net>
42051         * version.h (RELEASE): Set to "development".
42052         (VERSION): Set to "2.18.90".
42053         * NEWS: Add 2.19 section.
42055 2013-08-03  David S. Miller  <davem@davemloft.net>
42057         * po/ko.po: Update Korean translation from translation project.
42059 2013-08-01  David S. Miller  <davem@davemloft.net>
42061         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42062         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42063         Bilka.
42065 2013-07-30  David S. Miller  <davem@davemloft.net>
42067         * po/fr.po: Update French translation from translation project.
42069 2013-07-28  David S. Miller  <davem@davemloft.net>
42071         * po/cs.po: Update Czech translation from translation project.
42073         * po/sv.po: Update Swedish translation from translation project.
42075 2013-07-27  David S. Miller  <davem@davemloft.net>
42077         * po/eo.po: Update Esperanto translation from translation project.
42079         * po/vi.po: Update Vietnamese translation from translation project.
42081         * po/de.po: Update German translation from translation project.
42083 2013-07-26  David S. Miller  <davem@davemloft.net>
42085         * po/bg.po: Update Bulgarian translation from translation project.
42087         * po/nl.po: Update Dutch translation from translation project.
42088         * po/pl.po: Update Polish translation from translation project.
42089         * po/ru.po: Update Russian translation from translation project.
42091 2013-07-24  David S. Miller  <davem@davemloft.net>
42093         * po/libc.pot: Update.
42095 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42097         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42098         variable page size.
42099         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42100         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42101         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42103 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42105         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42107 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42108             Andreas Schwab  <schwab@suse.de>
42109             Roland McGrath  <roland@hack.frob.com>
42110             Joseph Myers  <joseph@codesourcery.com>
42111             Carlos O'Donell  <carlos@redhat.com>
42113         [BZ #15755]
42114         * config.h.in: Define HAVE_PT_CHOWN.
42115         * config.make.in (build-pt-chown): New variable.
42116         * configure.in (--enable-pt_chown): New configure option.
42117         * configure: Regenerate.
42118         * login/Makefile: Include Makeconfig.  Build pt_chown only if
42119         build-pt-chown is enabled.
42120         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42121         pt_chown to fix pty ownership.
42122         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42123         CLOSE_ALL_FDS.
42124         * manual/install.texi (Configuring and compiling): Mention
42125         --enable-pt_chown. Add @findex for grantpt.
42126         * INSTALL: Regenerate.
42128 2013-07-20  David S. Miller  <davem@davemloft.net>
42130         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
42131         difference between 32-bit and 64-bit.
42133 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
42135         [BZ #15711]
42136         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
42137         Avoid system header dependency with -ffreestanding.
42138         ($(objpfx)bits/syscall%d): Likewise.
42140 2013-07-13  David S. Miller  <davem@davemloft.net>
42142         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
42143         underflows from atanl/atan2l due to bug 15319.
42144         (casinh_test_data): Likewise.
42146 2013-07-07  David S. Miller  <davem@davemloft.net>
42148         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
42150 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
42152         * sysdeps/i386/fpu/libm-test-ulps: Update.
42153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42155 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42157         * configure.in (--enable-lock-elision): Fix message text.
42158         * INSTALL: Regenerate.
42159         * configure: Regenerate.
42161 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42165 2013-07-03  Andreas Jaeger  <aj@suse.de>
42167         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
42168         define.
42169         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
42170         (ptrace_peeksiginfo_args): Add.
42171         (__ptrace_peeksiginfo_flags): Add.
42172         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42173         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42174         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42176 2013-07-03  Allan McRae  <allan@archlinux.org>
42178         * sysdeps/i386/fpu/libm-test-ulps: Update.
42180 2013-07-02  David S. Miller  <davem@davemloft.net>
42182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42184 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
42186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42188 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42190         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42193 2013-07-02  Andi Kleen <ak@linux.intel.com>
42195         * config.h.in (ENABLE_LOCK_ELISION): Add.
42196         * configure.in (--enable-lock-elision): Add option.
42197         * manual/install.texi: Document --enable lock elision.
42198         * configure: Regenerate
42199         * INSTALL: Regenerate.
42201 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
42203         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
42204         SSE4.2 strcasecmp for libc.a.
42205         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42207 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42209         [BZ #13304]
42210         * soft-fp/op-common.h (_FP_FMA): New macro.
42211         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
42212         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
42213         (_FP_MUL_MEAT_1_imm): ... here.
42214         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
42215         (_FP_MUL_MEAT_1_wide): ... here.
42216         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
42217         (_FP_MUL_MEAT_1_hard): ... here.
42218         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
42219         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
42220         (_FP_MUL_MEAT_2_wide): ... here.
42221         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
42222         (_FP_MUL_MEAT_2_wide_3mul): ... here.
42223         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
42224         (_FP_MUL_MEAT_2_gmp): ... here.
42225         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
42226         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
42227         (_FP_MUL_MEAT_4_wide): ... here.
42228         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
42229         (_FP_MUL_MEAT_4_gmp): ... here.
42230         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
42231         (_FP_WFRACBITS_DW_S): Likewise.
42232         (_FP_WFRACXBITS_DW_S): Likewise.
42233         (_FP_HIGHBIT_DW_S): Likewise.
42234         (FP_FMA_S): Likewise.
42235         (_FP_FRAC_HIGH_DW_S): Likewise.
42236         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
42237         (_FP_WFRACBITS_DW_D): Likewise.
42238         (_FP_WFRACXBITS_DW_D): Likewise.
42239         (_FP_HIGHBIT_DW_D): Likewise.
42240         (FP_FMA_D): Likewise.
42241         (_FP_FRAC_HIGH_DW_D): Likewise.
42242         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
42243         (_FP_WFRACBITS_DW_E): Likewise.
42244         (_FP_WFRACXBITS_DW_E): Likewise.
42245         (_FP_HIGHBIT_DW_E): Likewise.
42246         (FP_FMA_E): Likewise.
42247         (_FP_FRAC_HIGH_DW_E): Likewise.
42248         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
42249         (_FP_WFRACBITS_DW_Q): Likewise.
42250         (_FP_WFRACXBITS_DW_Q): Likewise.
42251         (_FP_HIGHBIT_DW_Q): Likewise.
42252         (FP_FMA_Q): Likewise.
42253         (_FP_FRAC_HIGH_DW_Q): Likewise.
42254         * soft-fp/fmasf4.c: New file.
42255         * soft-fp/fmadf4.c: Likewise.
42256         * soft-fp/fmatf4.c: Likewise.
42258 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42261         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
42262         Silvermont.
42263         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
42264         macro.
42265         (index_Slow_SSE4_2): Likewise.
42266         (index_Prefer_PMINUB_for_stringop): Likewise.
42267         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
42268         bit_Slow_SSE4_2 is set.
42269         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42270         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42272 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42274         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
42275         rtld_global._dl_hwcap2.
42276         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
42277         POWER8.
42278         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
42279         POWER8 feature descriptions defined in _dl_hwcap2.
42280         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
42281         string handling for POWER8 feature bits.
42282         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
42283         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
42284         _dl_powerpc_cap_flags.
42285         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
42286         * sysdeps/powerpc/rtld-global-offsets.sym
42287         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
42288         _dl_hwcap2 in the rtld_global_ro structure.
42290 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42292         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
42293         hardware capabilities in support of AT_HWCAP2.
42294         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
42295         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
42296         GLRO(dl_hwcap2).
42297         (_dl_show_auxv): Add support for calling _dl_procinfo to display
42298         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
42299         explicitly the unknown a_type display mechanism is used.
42300         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
42301         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
42302         struct member.
42303         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
42304         to macro prototype for AT_HWCAP2 support.
42305         * sysdeps/i386/dl-procinfo.h: Likewise.
42306         * sysdeps/s390/dl-procinfo.h: Likewise.
42307         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
42308         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
42309         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
42310         return -1 for unknown a_type display fallback.
42311         * sysdeps/sparc/dl-procinfo.h: Likewise.
42312         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
42313         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
42315 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
42317         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
42318         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
42320 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
42322         [BZ #12492]
42323         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
42324         mprotect making __stack_prot writable.
42326 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
42327             Joseph Myers  <joseph@codesourcery.com>
42329         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
42330         as being properly aligned.
42332 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
42334         * dlfcn/modstatic5.c: New file.
42335         * dlfcn/tststatic5.c: New file.
42336         * dlfcn/Makefile (tests): Add tststatic5.
42337         (tests-static): Likewise.
42338         (modules-names): Add modstatic5.
42339         (tststatic5-ENV): New variable.
42340         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
42342         [BZ #15022]
42343         * elf/dl-support.c (_dl_main_map): New variable.
42344         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
42345         (_dl_nns, _dl_load_adds): Set to 1.
42346         (_dl_initial_searchlist): Refer to _dl_main_map.
42347         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
42348         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
42349         call to _dl_get_origin.
42350         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
42351         around call_map.
42352         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
42353         * dlfcn/modstatic3.c: New file.
42354         * dlfcn/tststatic3.c: New file.
42355         * dlfcn/tststatic4.c: New file.
42356         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
42357         (tests-static): Likewise.
42358         (modules-names): Add modstatic3.
42359         (tststatic3-ENV, tststatic4-ENV): New variables.
42360         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
42361         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
42363 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
42365         * configure.in (CC): Require GCC version 4.4 or later.
42366         * configure: Regenerated.
42367         * manual/install.texi (Tools for Compilation): Update GCC version
42368         requirement.
42369         * INSTALL: Regenerated.
42371 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42373         [BZ #15674]
42374         * string/test-memcmp.c (check2): New.
42375         (main): Call check2.
42377         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
42379 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
42381         [BZ #15022]
42382         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
42383         over to...
42384         (dl_open_worker) [!SHARED]: ... here.
42386 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42388         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
42390 2013-06-25  Richard Henderson  <rth@redhat.com>
42392         * locale/programs/locarchive.c: Include <libc-internal.h>
42394 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
42396         * manual/texinfo.tex: Update to version 2013-06-21.17, with
42397         trailing whitespace removed.
42399 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42401         [BZ #10283]
42402         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
42403         * locale/programs/locarchive.c: Include libc-mmap.h.
42404         (prepare_address_space): Take two new outputs (the mmap base and len).
42405         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
42406         values.
42407         (create_archive): Declare new mmap base and len values for
42408         prepare_address_space, and store the result in ah.
42409         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
42410         (enlarge_archive): If ah->mmap_base is not NULL, use that and
42411         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42412         Declare new mmap base and len values for
42413         prepare_address_space, and store the result in new_ah.
42414         (open_archive): Declare new mmap base and len values for
42415         prepare_address_space, and store the result in ah.
42416         (close_archive): If ah->mmap_base is not NULL, use that and
42417         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42418         * sysdeps/generic/libc-mmap.h: New file.
42420 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42422         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
42423         (ALIGN_UP): Likewise.
42424         (PTR_ALIGN_DOWN): Likewise.
42425         (PTR_ALIGN_UP): Likewise.
42427 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42429         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
42430         entry mapped to PPC_PLATFORM_POWER8.
42431         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
42432         POWER8.
42433         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
42434         (_dl_string_platform): Add case for exporting platform position for
42435         POWER8.
42436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
42437         search path to sysdeps/powerpc/powerpc32/power8 directory.
42438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
42439         search path to sysdeps/powerpc/powerpc64/power8 directory.
42440         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
42441         power7 directories.
42442         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
42443         power7 directories.
42445 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42447         * INSTALL: Regenerate.
42449         * nscd/connections.c (nscd_init): Fix comment.
42451 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
42453         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
42455         [BZ #15667]
42456         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
42457         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
42459 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42461         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
42462         DL_DST_REQ_STATIC.
42463         (DL_DST_REQ_STATIC): Remove macro.
42465 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
42467         [BZ #7006]
42468         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
42469         with a shift of 0 bits.
42471 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42473         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
42474         $(tststatic-ENV).
42476 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42478         [BZ #15655]
42479         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
42481 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42483         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
42484         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
42485         accepts -fno-tree-loop-distribute-patterns.
42486         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
42487         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
42488         recursive call.
42489         * string/memset.c (memset): Likewise.
42490         * string/test-memmove.c (simple_memmove): Disable loop transformation
42491         to library calls.
42492         * string/test-memset.c (simple_memset): Likewise.
42493         * benchtests/bench-memmove.c (simple_memmove): Likewise.
42494         * benchtests/bench-memset.c (simple_memset): Likewise.
42495         * configure: Regenerated.
42497 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
42499         * math/test-misc.c (main): Ignore fesetround failure when failures
42500         of subsequent rounding tests would be ignored.
42502         [BZ #15654]
42503         * math/fedisblxcpt.c (fedisableexcept): Return 0.
42504         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
42505         * math/fegetenv.c (__fegetenv): Return 0.
42506         * math/fegetexcept.c (fegetexcept): Return 0.
42507         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
42508         FE_TONEAREST.
42509         * math/feholdexcpt.c (feholdexcept): Return 0.
42510         * math/fesetenv.c (__fesetenv): Return 0.
42511         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
42512         argument FE_TONEAREST.
42513         * math/feupdateenv.c (__feupdateenv): Return 0.
42514         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
42516 2013-06-18  Roland McGrath  <roland@hack.frob.com>
42518         * elf/rtld-Rules (rtld-compile-command.S): New variable.
42519         (rtld-compile-command.s, rtld-compile-command.c): New variables.
42520         ($(objpfx)rtld-%.os rules): Use them.
42522 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42524         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
42525         fields.
42527 2013-06-17  Roland McGrath  <roland@hack.frob.com>
42529         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
42530         length of target pattern, then descending length of dependency pattern.
42531         * configure.in (AWK): Require gawk 3.1.2 or newer.
42532         * manual/install.texi (Tools for Compilation): Say that we do.
42533         * configure: Regenerated.
42535         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
42536         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
42537         * scripts/sysd-rules.awk: ... this new script.
42538         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
42539         than a glob-style pattern.
42541 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
42543         * math/test-misc.c (main): Do not treat incorrectly rounded
42544         conversions as failure unless ROUNDING_TESTS passes.
42546 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
42548         [BZ #15631]
42549         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
42550         restore exception state around main square root computation, then
42551         check for inexactness explicitly.
42553         * math/libm-test.inc (fma_test_data): Add another test.
42555 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42557         * manual/threads.texi (Non-POSIX Extensions): New document
42558         node.  Document pthread_getattr_default_np and
42559         pthread_setattr_default_np.
42561         * Versions.def (libpthread): Add GLIBC_2.18.
42562         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
42563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42564         Likewise.
42565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42566         Likewise.
42567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42568         Likewise.
42569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42570         Likewise.
42571         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
42572         Likewise.
42573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42574         Likewise.
42575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42576         Likewise.
42577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42578         Likewise.
42579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42580         Likewise.
42582 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42585         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
42587 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42588             H.J. Lu  <hjl.tools@gmail.com>
42590         [BZ #15627]
42591         * sysdeps/x86_64/rtld-memset.c: Remove file.
42592         * sysdeps/x86_64/rtld-memset.S: New file.
42594 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
42596         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
42597         (test_in_one_mode): Take arguments for whether the rounding mode
42598         is supported for each floating-point type.
42599         (do_test): Pass new arguments to test_in_one_mode using
42600         ROUNDING_TESTS.
42602 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42604         * posix/tst-waitid.c (do_test): Distinguish different instances of
42605         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
42606         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
42607         before entering the kernel for waitpid.
42609 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42611         * NEWS: Fix note on clock function precision.  Text by Roland
42612         McGrath.
42614 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42616         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
42617         it into place only when and if the sanity check passes.
42619 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
42621         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42622         output for whether conversion result is exact.  Take argument
42623         indicating whether type is IBM long double.
42624         (round_for_all): Change need_exact field to ibm_ld.
42625         * stdlib/tst-strtod-round.c (struct exactness): New type.
42626         (struct test): Change bool ld_ok field to struct exactness exact.
42627         (TEST): Update all definitions for change to field.
42628         (tests): Regenerate array contents.
42629         (test_in_one_mode): Take pointer to new field instead of old ld_ok
42630         field value.  Check for IBM long double here.
42631         (do_test): Update calls to test_in_one_mode.
42633 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42635         [BZ #12515]
42636         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42637         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42639 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42641         [BZ #15605]
42642         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42643         generated by the compiler on loop optimizations.
42644         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42645         general definitions.
42647 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
42649         * math/bug-nextafter.c: Include <math-tests.h>.
42650         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42651         the relevant type.
42652         * math/bug-nexttoward.c: Include <math-tests.h>.
42653         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42654         the relevant type.
42655         * math/test-misc.c: Include <math-tests.h>.
42656         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42657         the relevant type.
42659 2013-06-12  Andreas Jaeger  <aj@suse.de>
42661         * po/ia.po: Update Interlingua translation from translation
42662         project.
42664 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42666         * include/fenv.h: Include stdbool.h.
42667         (struct rm_ctx): New structure.
42668         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
42669         Define macro.
42670         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
42671         (SET_RESTORE_ROUNDF): Likewise.
42672         (SET_RESTORE_ROUNDL): Likewise.
42673         (SET_RESTORE_ROUND_NOEX): Likewise.
42674         (SET_RESTORE_ROUND_NOEXF): Likewise.
42675         (SET_RESTORE_ROUND_NOEXL): Likewise.
42676         (SET_RESTORE_ROUND_53BIT): Likewise.
42677         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
42678         (libc_feresetround_noexf_ctx): Likewise.
42679         (libc_feresetround_noexl_ctx): Likewise.
42680         (libc_feholdsetround_53bit_ctx): Likewise.
42681         (libc_feresetround_53bit_ctx): Likewise.
42682         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
42683         (libc_feholdexcept_setround_sse_ctx): New function.
42684         (libc_fesetenv_sse_ctx): Likewise.
42685         (libc_feupdateenv_sse_ctx): Likewise.
42686         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
42687         (libc_feholdexcept_setround_387_ctx): Likewise.
42688         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
42689         (libc_feholdsetround_387_prec_ctx): Likewise.
42690         (libc_feholdsetround_387_ctx): Likewise.
42691         (libc_feholdsetround_387_53bit_ctx): Likewise.
42692         (libc_feholdsetround_sse_ctx): Likewise.
42693         (libc_feresetround_sse_ctx): Likewise.
42694         (libc_feresetround_387_ctx): Likewise.
42695         (libc_feupdateenv_387_ctx): Likewise.
42696         (libc_feholdexcept_setroundf_ctx): Define macro.
42697         (libc_fesetenvf_ctx): Likewise.
42698         (libc_feupdateenvf_ctx): Likewise.
42699         (libc_feholdsetroundf_ctx): Likewise.
42700         (libc_feresetroundf_ctx): Likewise.
42701         (libc_feholdexcept_setround_ctx): Likewise.
42702         (libc_fesetenv_ctx): Likewise.
42703         (libc_feupdateenv_ctx): Likewise.
42704         (libc_feholdsetround_ctx): Likewise.
42705         (libc_feresetround_ctx): Likewise.
42706         (libc_feholdexcept_setroundl_ctx): Likewise.
42707         (libc_feupdateenvl_ctx): Likewise.
42708         (libc_feholdsetroundl_ctx): Likewise.
42709         (libc_feresetroundl_ctx): Likewise.
42710         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42711         (libc_feresetround_53bit_ctx): Likewise.
42713 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42715         * locale/iso-639.def: Convert to UTF-8.
42717 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
42719         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42720         (EXCEPTION_TESTS_double): Likewise.
42721         (EXCEPTION_TESTS_long_double): Likewise.
42722         (EXCEPTION_TESTS): Likewise.
42723         * math/libm-test.inc (test_exceptions): Only test exceptions if
42724         EXCEPTION_TESTS (FLOAT).
42726 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42728         * benchtests/Makefile (string-bench): Add strcpy_chk and
42729         stpcpy_chk.
42730         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42731         * benchtests/bench-stpcpy_chk.c: New file.
42732         * benchtests/bench-strcpy_chk-ifunc.c: New file.
42733         * benchtests/bench-strcpy_chk.c: New file.
42734         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42735         code.
42736         (do_test): Likewise.
42738 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42740         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42741         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42742         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42743         with tabs where appropriate.
42744         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42745         dl-procinfo.h.
42746         [PPC_PLATFORM_PPC440]: Likewise.
42747         [PPC_PLATFORM_PPC464]: Likewise.
42748         [PPC_PLATFORM_PPC476]: Likewise.
42749         (_dl_string_platform): Add support for detecting ppc405, ppc440,
42750         ppc464, and ppc476 platform strings merging from ports/
42751         dl-procinfo.h.
42753 2013-06-11  Andreas Schwab  <schwab@suse.de>
42755         [BZ #14991]
42756         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42757         (from_ucs4_idx): Regenerate.
42758         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42759         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42760         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42761         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42762         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42763         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42764         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42765         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42766         from FROM_LOOP and TO_LOOP specific macros.
42767         (BODY): Handle combining characters.
42768         * iconvdata/BIG5HKSCS.irreversible: Update.
42769         * iconvdata/BIG5HKSCS.precomposed: New file.
42770         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42771         characters.
42772         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42774 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42776         * include/sys/time.h: Fix indentation and add copyright header.
42778         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42779         (do_test): Likewise.
42780         * string/test-memchr.c (do_one_test): Likewise.
42781         (do_test): Likewise.
42782         * string/test-memcmp.c (do_one_test): Likewise.
42783         (do_test): Likewise.
42784         * string/test-memcpy.c (do_one_test): Likewise.
42785         (do_test): Likewise.
42786         * string/test-memmem.c (do_one_test): Likewise.
42787         (do_test): Likewise.
42788         (do_random_tests): Likewise.
42789         * string/test-memmove.c (do_one_test): Likewise.
42790         (do_test): Likewise.
42791         * string/test-memset.c (do_one_test): Likewise.
42792         (do_test): Likewise.
42793         * string/test-rawmemchr.c (do_one_test): Likewise.
42794         (do_test): Likewise.
42795         * string/test-strcasecmp.c (do_one_test): Likewise.
42796         (do_test): Likewise.
42797         * string/test-strcasestr.c (do_one_test): Likewise.
42798         (do_test): Likewise.
42799         * string/test-strcat.c (do_one_test): Likewise.
42800         (do_test): Likewise.
42801         * string/test-strchr.c (do_one_test): Likewise.
42802         (do_test): Likewise.
42803         * string/test-strcmp.c (do_one_test): Likewise.
42804         (do_test): Likewise.
42805         * string/test-strcpy.c (do_one_test): Likewise.
42806         (do_test): Likewise.
42807         * string/test-string.h: Likewise.
42808         (test_init): Likewise.
42809         * string/test-strlen.c (do_one_test): Likewise.
42810         (do_test): Likewise.
42811         * string/test-strncasecmp.c (do_one_test): Likewise.
42812         (do_test): Likewise.
42813         * string/test-strncat.c (do_one_test): Likewise.
42814         (do_test): Likewise.
42815         * string/test-strncmp.c (do_one_test): Likewise.
42816         (do_test_limit): Likewise.
42817         (do_test): Likewise.
42818         * string/test-strncpy.c (do_one_test): Likewise.
42819         (do_test): Likewise.
42820         * string/test-strnlen.c (do_one_test): Likewise.
42821         (do_test): Likewise.
42822         * string/test-strpbrk.c (do_one_test): Likewise.
42823         (do_test): Likewise.
42824         * string/test-strrchr.c (do_one_test): Likewise.
42825         (do_test): Likewise.
42826         * string/test-strspn.c (do_one_test): Likewise.
42827         (do_test): Likewise.
42828         * string/test-strstr.c (do_one_test): Likewise.
42829         (do_test): Likewise.
42831         * benchtests/Makefile (string-bench): Add string benchmarks.
42832         * benchtests/bench-bcopy-ifunc.c: New file.
42833         * benchtests/bench-bcopy.c: New file.
42834         * benchtests/bench-bzero-ifunc.c: New file.
42835         * benchtests/bench-bzero.c: New file.
42836         * benchtests/bench-memccpy-ifunc.c: New file.
42837         * benchtests/bench-memccpy.c: New file.
42838         * benchtests/bench-memchr-ifunc.c: New file.
42839         * benchtests/bench-memchr.c: New file.
42840         * benchtests/bench-memcmp-ifunc.c: New file.
42841         * benchtests/bench-memcmp.c: New file.
42842         * benchtests/bench-memmem-ifunc.c: New file.
42843         * benchtests/bench-memmem.c: New file.
42844         * benchtests/bench-memmove-ifunc.c: New file.
42845         * benchtests/bench-memmove.c: New file.
42846         * benchtests/bench-mempcpy-ifunc.c: New file.
42847         * benchtests/bench-mempcpy.c: New file.
42848         * benchtests/bench-memset-ifunc.c: New file.
42849         * benchtests/bench-memset.c: New file.
42850         * benchtests/bench-rawmemchr-ifunc.c: New file.
42851         * benchtests/bench-rawmemchr.c: New file.
42852         * benchtests/bench-stpcpy-ifunc.c: New file.
42853         * benchtests/bench-stpcpy.c: New file.
42854         * benchtests/bench-stpncpy-ifunc.c: New file.
42855         * benchtests/bench-stpncpy.c: New file.
42856         * benchtests/bench-strcasecmp-ifunc.c: New file.
42857         * benchtests/bench-strcasecmp.c: New file.
42858         * benchtests/bench-strcasestr-ifunc.c: New file.
42859         * benchtests/bench-strcasestr.c: New file.
42860         * benchtests/bench-strcat-ifunc.c: New file.
42861         * benchtests/bench-strcat.c: New file.
42862         * benchtests/bench-strchr-ifunc.c: New file.
42863         * benchtests/bench-strchr.c: New file.
42864         * benchtests/bench-strchrnul-ifunc.c: New file.
42865         * benchtests/bench-strchrnul.c: New file.
42866         * benchtests/bench-strcmp-ifunc.c: New file.
42867         * benchtests/bench-strcmp.c: New file.
42868         * benchtests/bench-strcpy-ifunc.c: New file.
42869         * benchtests/bench-strcpy.c: New file.
42870         * benchtests/bench-strcspn-ifunc.c: New file.
42871         * benchtests/bench-strcspn.c: New file.
42872         * benchtests/bench-strlen-ifunc.c: New file.
42873         * benchtests/bench-strlen.c: New file.
42874         * benchtests/bench-strncasecmp-ifunc.c: New file.
42875         * benchtests/bench-strncasecmp.c: New file.
42876         * benchtests/bench-strncat-ifunc.c: New file.
42877         * benchtests/bench-strncat.c: New file.
42878         * benchtests/bench-strncmp-ifunc.c: New file.
42879         * benchtests/bench-strncmp.c: New file.
42880         * benchtests/bench-strncpy-ifunc.c: New file.
42881         * benchtests/bench-strncpy.c: New file.
42882         * benchtests/bench-strnlen-ifunc.c: New file.
42883         * benchtests/bench-strnlen.c: New file.
42884         * benchtests/bench-strpbrk-ifunc.c: New file.
42885         * benchtests/bench-strpbrk.c: New file.
42886         * benchtests/bench-strrchr-ifunc.c: New file.
42887         * benchtests/bench-strrchr.c: New file.
42888         * benchtests/bench-strspn-ifunc.c: New file.
42889         * benchtests/bench-strspn.c: New file.
42890         * benchtests/bench-strstr-ifunc.c: New file.
42891         * benchtests/bench-strstr.c: New file.
42893         * benchtests/Makefile: Disable parallel execution of targets.
42894         (string-bench): Add memcpy.
42895         (benchset): New variable to store a list of benchmark sets.
42896         (bench-func): Renamed from bench.
42897         (bench-set): New target.
42898         (bench): Depend on bench-func and bench-set.
42899         * benchtests/README: Add section on benchmark sets.
42900         * benchtests/bench-memcpy-ifunc.c: New file.
42901         * benchtests/bench-memcpy.c: New file.
42902         * benchtests/bench-string.h: New file.
42904 2013-06-11  Andreas Schwab  <schwab@suse.de>
42906         [BZ #15577]
42907         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42908         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42909         values in the triple.
42910         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42911         terminator in the group key.
42913 2013-06-11  Andreas Jaeger  <aj@suse.de>
42915         * po/zh_TW.po: Update Chinese (traditional) translation from
42916         translation project.
42918 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42920         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42921         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42922         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42923         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42924         (clock_getcpuclockid): Likewise.
42925         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42926         Add weak_alias and libc_hidden_def.
42927         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42928         * rt/clock_gettime.c (clock_gettime): Rename to
42929         __clock_gettime.  Add weak_alias and libc_hidden_def.
42930         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42931         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42932         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42933         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42934         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42935         Likewise.
42936         * rt/clock_settime.c (clock_settime): Rename to
42937         __clock_settime.  Add weak_alias and libc_hidden_def.
42938         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42940 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42942         * mach/err_boot.sub: Remove trailing whitespace.
42943         * mach/err_ipc.sub: Likewise.
42944         * mach/err_mach.sub: Likewise.
42946         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42947         (ROUNDING_TESTS_double): Likewise.
42948         (ROUNDING_TESTS_long_double): Likewise.
42949         (ROUNDING_TESTS): Likewise.
42950         * math/libm-test.inc: Include <math-tests.h>.
42951         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42952         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42953         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42954         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42956 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42958         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42959         of assigning.
42961 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42963         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42964         otherwise empty TRANS lines.
42965         * sysdeps/gnu/errlist.c: Regenerated.
42967         * catgets/gencat.c (error_print): Use (void) in function
42968         definition.
42969         * crypt/crypt_util.c (__init_des): Likewise.
42970         * crypt/speeds.c (Stop): Likewise.
42971         (main): Likewise.
42972         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42973         * inet/ruserpass.c (token): Likewise.
42974         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42975         * intl/localealias.c (extend_alias_table): Likewise.
42976         * intl/plural-exp.c (init_germanic_plural): Likewise.
42977         * libio/fcloseall.c (__fcloseall): Likewise.
42978         * libio/genops.c (_IO_flush_all): Likewise.
42979         (_IO_flush_all_linebuffered): Likewise.
42980         (_IO_cleanup): Likewise.
42981         (_IO_iter_begin): Likewise.
42982         (_IO_iter_end): Likewise.
42983         (_IO_list_lock): Likewise.
42984         (_IO_list_unlock): Likewise.
42985         (_IO_list_resetlock): Likewise.
42986         * libio/getchar.c (getchar): Likewise.
42987         * libio/getchar_u.c (getchar_unlocked): Likewise.
42988         * libio/getwchar.c (getwchar): Likewise.
42989         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42990         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42991         * login/getpt.c (__getpt): Likewise.
42992         * login/tst-utmp.c (main): Likewise.
42993         * malloc/hooks.c (__malloc_check_init): Likewise.
42994         * malloc/malloc.c (__malloc_stats): Likewise.
42995         * malloc/mtrace.c (tr_break): Likewise.
42996         (mtrace): Likewise.
42997         (muntrace): Likewise.
42998         * misc/fstab.c (endfsent): Likewise.
42999         * misc/getclktck.c (__getclktck): Likewise.
43000         * misc/getdtsz.c (__getdtablesize): Likewise.
43001         * misc/gethostid.c (gethostid): Likewise.
43002         * misc/getpagesize.c (__getpagesize): Likewise.
43003         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43004         (__get_nprocs): Likewise.
43005         (__get_phys_pages): Likewise.
43006         (__get_avphys_pages): Likewise.
43007         * misc/getttyent.c (getttyent): Likewise.
43008         (setttyent): Likewise.
43009         (endttyent): Likewise.
43010         * misc/getusershell.c (getusershell): Likewise.
43011         (endusershell): Likewise.
43012         (setusershell): Likewise.
43013         (initshells): Likewise.
43014         * misc/hsearch.c (__hdestroy): Likewise.
43015         * misc/sync.c (sync): Likewise.
43016         * misc/syslog.c (closelog_internal): Likewise.
43017         (closelog): Likewise.
43018         * misc/ttyslot.c (ttyslot): Likewise.
43019         * misc/vhangup.c (vhangup): Likewise.
43020         * posix/fork.c (__fork): Likewise.
43021         * posix/getegid.c (__getegid): Likewise.
43022         * posix/geteuid.c (__geteuid): Likewise.
43023         * posix/getgid.c (__getgid): Likewise.
43024         * posix/getpid.c (__getpid): Likewise.
43025         * posix/getppid.c (__getppid): Likewise.
43026         * posix/getuid.c (__getuid): Likewise.
43027         * posix/pause.c (pause): Likewise.
43028         * posix/setpgrp.c (setpgrp): Likewise.
43029         * posix/setsid.c (__setsid): Likewise.
43030         * posix/test-vfork.c (noop): Likewise.
43031         * resolv/gethnamaddr.c (_endhtent): Likewise.
43032         (_gethtent): Likewise.
43033         (ht_endhostent): Likewise.
43034         (gethostent): Likewise.
43035         (dns_service): Likewise.
43036         * stdlib/drand48.c (drand48): Likewise.
43037         * stdlib/lrand48.c (lrand48): Likewise.
43038         * stdlib/mrand48.c (mrand48): Likewise.
43039         * stdlib/rand.c (rand): Likewise.
43040         * stdlib/random.c (__random): Likewise.
43041         * stdlib/setenv.c (clearenv): Likewise.
43042         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43043         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43044         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43045         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43046         (__get_nprocs): Likewise.
43047         (__get_phys_pages): Likewise.
43048         (__get_avphys_pages): Likewise.
43049         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43050         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43051         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43052         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43053         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43054         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43055         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43056         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43057         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43058         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43059         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43060         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43061         * sysdeps/posix/clock.c (clock): Likewise.
43062         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43063         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43064         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43065         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43066         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43067         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43068         (__get_nprocs_conf): Likewise.
43069         (__get_phys_pages): Likewise.
43070         (__get_avphys_pages): Likewise.
43071         * time/clock.c (clock): Likewise.
43072         * time/tzset.c (__tzname_max): Likewise.
43074 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
43076         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43077         (__bswap_32): Do not use "register".
43078         * crypt/crypt.c (_ufc_doit_r): Likewise.
43079         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43080         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43081         * gmon/gmon.c (__monstartup): Likewise.
43082         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43083         * hurd/hurdmalloc.c (more_memory): Likewise.
43084         (malloc): Likewise.
43085         (free): Likewise.
43086         (realloc): Likewise.
43087         (malloc_fork_prepare): Likewise.
43088         (malloc_fork_parent): Likewise.
43089         (malloc_fork_child): Likewise.
43090         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43091         (_svcauth_des): Likewise.
43092         * inet/inet_lnaof.c (inet_lnaof): Likewise.
43093         * inet/inet_net.c (inet_network): Likewise.
43094         * inet/inet_netof.c (inet_netof): Likewise.
43095         * inet/rcmd.c (__validuser2_sa): Likewise.
43096         * io/fts.c (fts_open): Likewise.
43097         (fts_load): Likewise.
43098         (fts_close): Likewise.
43099         (fts_read): Likewise.
43100         (fts_children): Likewise.
43101         (fts_build): Likewise.
43102         (fts_stat): Likewise.
43103         (fts_sort): Likewise.
43104         (fts_alloc): Likewise.
43105         (fts_lfree): Likewise.
43106         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43107         (_IO_file_xsgetn): Likewise.
43108         (_IO_file_xsgetn_mmap): Likewise.
43109         * libio/iofopncook.c (_IO_cookie_read): Likewise.
43110         (_IO_cookie_write): Likewise.
43111         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43112         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43113         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43114         * malloc/obstack.c (_obstack_begin): Likewise.
43115         (_obstack_begin_1): Likewise.
43116         (_obstack_newchunk): Likewise.
43117         (_obstack_allocated_p): Likewise.
43118         (obstack_free): Likewise.
43119         (_obstack_memory_used): Likewise.
43120         * misc/getttyent.c (getttynam): Likewise.
43121         (getttyent): Likewise.
43122         (skip): Likewise.
43123         (value): Likewise.
43124         * misc/getusershell.c (initshells): Likewise.
43125         * misc/syslog.c (__vsyslog_chk): Likewise.
43126         * misc/ttyslot.c (ttyslot): Likewise.
43127         * nis/nis_hash.c (__nis_hash): Likewise.
43128         * posix/fnmatch_loop.c (FCT): Likewise.
43129         * posix/getconf.c (print_all): Likewise.
43130         (main): Likewise.
43131         * posix/getopt.c (exchange): Likewise.
43132         * posix/glob.c (globfree): Likewise.
43133         (prefix_array): Likewise.
43134         (__glob_pattern_type): Likewise.
43135         * resolv/arpa/nameser.h (NS_GET16): Likewise.
43136         (NS_GET32): Likewise.
43137         (NS_PUT16): Likewise.
43138         (NS_PUT32): Likewise.
43139         * resolv/gethnamaddr.c (getanswer): Likewise.
43140         (gethostbyname2): Likewise.
43141         (gethostbyaddr): Likewise.
43142         (_gethtent): Likewise.
43143         (_gethtbyname2): Likewise.
43144         (_gethtbyaddr): Likewise.
43145         * resolv/ns_print.c (dst_s_get_int16): Likewise.
43146         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
43147         * resolv/res_init.c (__res_vinit): Likewise.
43148         (net_mask): Likewise.
43149         * resolv/res_mkquery.c (outchar): Likewise.
43150         (PRINT): Likewise.
43151         * stdio-common/printf_fp.c (outchar): Likewise.
43152         (PRINT): Likewise.
43153         * stdio-common/printf_fphex.c (outchar): Likewise.
43154         (PRINT): Likewise.
43155         * stdio-common/printf_size.c (outchar): Likewise.
43156         (PRINT): Likewise.
43157         * stdio-common/test_rdwr.c (main): Likewise.
43158         * stdio-common/tfformat.c (matches): Likewise.
43159         * stdio-common/vfprintf.c (outchar): Likewise.
43160         (printf_unknown): Likewise.
43161         (buffered_vfprintf): Likewise.
43162         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43163         * stdio-common/xbug.c (AppendToBuffer): Likewise.
43164         (ReadFile): Likewise.
43165         * stdlib/qsort.c (SWAP): Likewise.
43166         (_quicksort): Likewise.
43167         * stdlib/setenv.c (__add_to_environ): Likewise.
43168         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43169         * stdlib/strtol_l.c (__strtol_l): Likewise.
43170         * stdlib/tst-strtod.c (main): Likewise.
43171         * stdlib/tst-strtol.c (main): Likewise.
43172         * stdlib/tst-strtoll.c (main): Likewise.
43173         * string/bits/string2.h (__strcmp_cc): Likewise.
43174         (__strcmp_cg): Likewise.
43175         (__strcspn_c1): Likewise.
43176         (__strcspn_c2): Likewise.
43177         (__strcspn_c3): Likewise.
43178         (__strspn_c1): Likewise.
43179         (__strspn_c2): Likewise.
43180         (__strspn_c3): Likewise.
43181         (__strsep_1c): Likewise.
43182         (__strsep_2c): Likewise.
43183         (__strsep_3c): Likewise.
43184         * string/memccpy.c (__memccpy): Likewise.
43185         * string/stpcpy.c (__stpcpy): Likewise.
43186         * string/strcmp.c (strcmp): Likewise.
43187         * string/strrchr.c (strrchr): Likewise.
43188         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
43189         Likewise.
43190         * sysdeps/mach/hurd/getcwd.c
43191         (_hurd_canonicalize_directory_name_internal): Likewise.
43192         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
43193         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
43194         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
43195         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
43196         Likewise, in both definitions.
43197         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
43198         definitions.
43199         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
43200         64] (__bswap_64): Likewise.
43201         * time/test_time.c (main): Likewise.
43202         * time/tzfile.c (__tzfile_read): Likewise.
43203         (__tzfile_compute): Likewise.
43204         * time/tzset.c (__tzset_parse_tz): Likewise.
43205         (tzset_internal): Likewise.
43206         (compute_change): Likewise.
43207         * wcsmbs/wcscat.c (__wcscat): Likewise.
43208         * wcsmbs/wcschr.c (wcschr): Likewise.
43209         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
43210         * wcsmbs/wcscspn.c (wcscspn): Likewise.
43211         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
43212         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
43213         * wcsmbs/wcsspn.c (wcsspn): Likewise.
43214         * wcsmbs/wcsstr.c (wcsstr): Likewise.
43215         * wcsmbs/wmemchr.c (wmemchr): Likewise.
43216         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43217         * wcsmbs/wmemset.c (wmemset): Likewise.
43219 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
43221         * scripts/config.guess: Update to version 2013-05-16.
43222         * scripts/config.sub: Update to version 2013-04-24.
43223         * scripts/install-sh: Update to version 2011-11-20.07.
43224         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
43225         * scripts/move-if-change: Update to version 2012-01-06 07:23.
43227 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
43229         * debug/fgetws_u_chk.c: Fix leading whitespaces.
43230         * elf/sln.c: Likewise.
43231         * hurd/hurd/ioctl.h: Likewise.
43232         * hurd/hurdmalloc.c: Likewise.
43233         * hurd/xattr.c: Likewise.
43234         * include/shlib-compat.h: Likewise.
43235         * inet/ruserpass.c: Likewise.
43236         * libio/iofgets_u.c: Likewise.
43237         * libio/iofgetws_u.c: Likewise.
43238         * locale/programs/ld-identification.c: Likewise.
43239         * locale/programs/ld-time.c: Likewise.
43240         * mach/msg-destroy.c: Likewise.
43241         * nss/nss_files/files-netgrp.c: Likewise.
43242         * resolv/res_data.c: Likewise.
43243         * soft-fp/op-1.h: Likewise.
43244         * soft-fp/op-2.h: Likewise.
43245         * soft-fp/op-4.h: Likewise.
43246         * soft-fp/op-common.h: Likewise.
43247         * stdio-common/printf_fphex.c: Likewise.
43248         * stdlib/strtod_l.c: Likewise.
43249         * sunrpc/rpc/clnt.h: Likewise.
43250         * sysdeps/generic/framestate.c: Likewise.
43251         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43252         * sysdeps/i386/bsd-setjmp.S: Likewise.
43253         * sysdeps/i386/__longjmp.S: Likewise.
43254         * sysdeps/i386/setjmp.S: Likewise.
43255         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43256         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43257         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43258         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43259         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43260         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43261         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43262         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43263         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43264         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43265         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43266         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43267         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43268         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43269         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43270         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43271         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43272         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
43273         * sysdeps/ieee754/support.c: Likewise.
43274         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43275         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
43276         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
43277         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
43278         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
43279         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
43280         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
43281         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
43282         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
43283         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
43284         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
43285         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
43286         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
43287         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
43288         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
43289         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
43290         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43293 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
43295         * posix/transbug.c: Remove executable mode.
43297 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
43299         * crypt/speeds.c: Remove trailing whitespace.
43300         * dlfcn/default.c: Likewise.
43301         * elf/ifuncdep2.c: Likewise.
43302         * elf/ifuncmain1.c: Likewise.
43303         * elf/ifuncmain1vis.c: Likewise.
43304         * elf/testobj.h: Likewise.
43305         * elf/tst-stackguard1.c: Likewise.
43306         * gmon/sys/gmon.h: Likewise.
43307         * hurd/hurdmsg.c: Likewise.
43308         * hurd/new-fd.c: Likewise.
43309         * hurd/ports-get.c: Likewise.
43310         * iconvdata/ibm1008_420.c: Likewise.
43311         * inet/tst-getni1.c: Likewise.
43312         * inet/tst-getni2.c: Likewise.
43313         * libio/ioungetc.c: Likewise.
43314         * libio/wfiledoalloc.c: Likewise.
43315         * manual/libm-err-tab.pl: Likewise.
43316         * math/w_dremf.c: Likewise.
43317         * misc/ftruncate.c: Likewise.
43318         * posix/bug-glob2.c: Likewise.
43319         * posix/tst-pcre.c: Likewise.
43320         * posix/wait4.c: Likewise.
43321         * resolv/README: Likewise.
43322         * resolv/res_debug.h: Likewise.
43323         * resolv/tst-inet_ntop.c: Likewise.
43324         * setjmp/bug269-setjmp.c: Likewise.
43325         * soft-fp/extended.h: Likewise.
43326         * soft-fp/op-1.h: Likewise.
43327         * soft-fp/op-2.h: Likewise.
43328         * soft-fp/op-4.h: Likewise.
43329         * soft-fp/op-8.h: Likewise.
43330         * soft-fp/testit.c: Likewise.
43331         * stdio-common/bug16.c: Likewise.
43332         * stdlib/random.c: Likewise.
43333         * sunrpc/rpcsvc/rquota.x: Likewise.
43334         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43335         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43336         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43337         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43338         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43339         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43340         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43341         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43342         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43343         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43344         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43345         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43346         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43347         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43348         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43349         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43350         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43351         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43352         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43353         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43354         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43355         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43356         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
43357         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43358         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43359         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43360         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43361         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43362         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43363         * sysdeps/ieee754/s_lib_version.c: Likewise.
43364         * sysdeps/mach/hurd/check_fds.c: Likewise.
43365         * sysdeps/mach/hurd/getsockname.c: Likewise.
43366         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
43367         * sysdeps/mach/hurd/recvfrom.c: Likewise.
43368         * sysdeps/powerpc/bits/link.h: Likewise.
43369         * sysdeps/powerpc/dl-procinfo.c: Likewise.
43370         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
43371         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
43372         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
43373         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43374         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43375         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
43376         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43377         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
43378         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43379         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43380         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43381         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
43382         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43383         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43384         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43385         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43388         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43389         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43390         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
43391         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43392         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43393         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
43394         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43395         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43396         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43397         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43398         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43399         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43400         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43401         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43402         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43403         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
43404         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43405         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
43406         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43407         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43408         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
43409         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
43410         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
43411         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
43412         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
43413         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43414         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
43415         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
43416         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43417         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
43418         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
43419         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43420         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43421         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43422         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43423         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
43424         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43425         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43426         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43427         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
43428         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43429         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
43430         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
43431         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
43432         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43433         * sysdeps/powerpc/sysdep.h: Likewise.
43434         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43435         * sysdeps/s390/s390-64/sub_n.S: Likewise.
43436         * sysdeps/sh/dl-trampoline.S: Likewise.
43437         * sysdeps/sh/memset.S: Likewise.
43438         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
43439         * sysdeps/sh/strlen.S: Likewise.
43440         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
43441         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
43442         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
43443         * sysdeps/sparc/sparc32/rem.S: Likewise.
43444         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
43445         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
43446         * sysdeps/sparc/sparc32/strchr.S: Likewise.
43447         * sysdeps/sparc/sparc32/udiv.S: Likewise.
43448         * sysdeps/sparc/sparc32/urem.S: Likewise.
43449         * sysdeps/sparc/sparc64/add_n.S: Likewise.
43450         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43451         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
43452         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
43453         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
43454         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
43455         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
43456         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
43457         * sysdeps/unix/bsd/times.c: Likewise.
43458         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
43459         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
43460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43463         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
43464         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43465         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
43466         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
43467         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
43468         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
43469         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43470         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
43471         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43472         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43473         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
43474         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43475         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
43476         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
43477         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
43478         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
43479         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
43480         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43481         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
43482         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
43483         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43484         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
43485         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43486         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
43487         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
43488         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
43489         * sysdeps/x86_64/strcspn.S: Likewise.
43491 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43493         * locale/C-translit.h: Revert #include <stdint.h> because this is a
43494         generated file.  Regenerate properly from gen-translit.pl.
43495         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
43496         locale/C-translit.h.
43498 2013-06-05  Andreas Schwab  <schwab@suse.de>
43500         [BZ #15100]
43501         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
43502         week as 6 instead of -1.
43503         * time/tst-strptime.c (day_tests): Add test case.
43505 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43507         * sysdeps/generic/math_private.h
43508         (libc_feholdexcept_setround_53bit): Replace with
43509         libc_feholdsetround_53bit.
43510         (libc_feupdateenv_53bit): Replace with
43511         libc_feresetround_53bit.
43512         (SET_RESTORE_ROUND_53BIT): Adjust.
43514 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43516         * string/test-strchrnul.c: Add copyright header.
43518         * posix/tst-getaddrinfo4.c: Increase test timeout.
43520 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
43522         [BZ #15536]
43523         * math/libm-test.inc (MAX_EXP): Remove
43524         (MIN_EXP): Define.
43525         (ulp): Use MIN_EXP - MANT_DIG.
43526         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
43528 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
43530         * po/be.po: Revert last change.
43531         * po/zh_CN.po: Likewise.
43532         * po/header.pot: Likewise.
43534 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
43536         * Makefile ($(common-objpfx)linkobj/libc.so): Define
43537         link-libc-deps to empty as target-specific variable.
43538         * Makerules (link-libc-args): New variable.
43539         (libc-for-link): Likewise.
43540         (link-libc-deps): Likewise.
43541         (lib%.so): Depend on $(link-libc-deps).  Link with
43542         $(link-libc-args).
43543         (build-module): Link with $(link-libc-args).
43544         (build-module-asneeded): Likewise.
43545         (build-module-helper-objlist): Filter out $(link-libc-deps) from
43546         list of objects.
43547         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
43548         target-specific variable.
43549         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
43550         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
43551         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
43552         libc.
43553         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
43554         libc and ld.so.
43555         ($(objpfx)libpcprofile.so): Likewise.
43556         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
43557         libc_nonshared.a.
43558         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
43559         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
43560         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
43561         $(link-libc-deps).
43562         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
43563         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
43564         * login/Makefile ($(objpfx)libutil.so): Likewise.
43565         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
43566         * math/Makefile ($(objpfx)libm.so): Likewise.
43567         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
43568         $(objpfx)libnsl.so): Define libc-for-link as target-specific
43569         variable instead of depending directly on libc.
43570         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
43571         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
43572         $(link-libc-deps).
43573         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
43574         libc.
43575         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
43576         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
43577         ($(objpfx)libanl.so): Likewise.
43578         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
43579         ld.so.
43580         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
43581         $(link-libc-deps).
43582         * sysdeps/i386/fpu/Makefile: Remove file.
43583         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
43584         ($(objpfx)libm.so): Remove dependency on ld.so.
43586 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
43588         [BZ # 15553]
43589         * nis/yp_xdr.c (XDRMAXNAME): Define.
43590         (XDRMAXRECORD): Define.
43591         (xdr_domainname): Use XDRMAXNAME.
43592         (xdr_mapname): Likewise.
43593         (xdr_peername): Likewise.
43594         (xdr_keydat): Use XDRMAXRECORD.
43595         (xdr_valdat): Likewise.
43597 2013-05-30  Jeff Law  <law@redhat.com>
43599         [BZ #14256]
43600         * manual/errno.texi (ESTALE): Update to account for more than
43601         just NFS file systems.
43602         * sysdeps/gnu/errlist.c: Regenerated.
43604 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43606         [BZ #15465]
43607         * elf/Makefile (tests): Add tst-null-argv.
43608         (modules-names):  Add tst-null-argv-lib.
43609         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
43610         (tst-null-argv-ENV): Set environment for tst-null-argv.
43611         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
43612         (RTLD_PROGNAME): New macro.
43613         * elf/tst-null-argv.c: New test case.
43614         * elf/tst-null-argv-lib.c: Library for test case.
43615         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
43616         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
43617         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43618         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43619         * elf/dl-init.c (call_init): Likewise.
43620         (_dl_init): Likewise.
43621         * elf/dl-load.c (print_search_path): Likewise.
43622         (_dl_map_object): Likewise.
43623         * elf/dl-lookup.c (do_lookup_x): Likewise.
43624         (add_dependency): Likewise.
43625         (_dl_lookup_symbol_x): Likewise.
43626         (_dl_debug_bindings): Likewise.
43627         * elf/dl-open.c (_dl_show_scope): Likewise.
43628         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43629         * elf/dl-version.c (match_symbol): Likewise.
43630         (_dl_check_map_versions): Likewise.
43631         * elf/rtld.c (dl_main): Likewise.
43632         (print_unresolved): Use RTLD_PROGNAME.
43633         (print_missing_version): Likewise.
43634         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43635         (elf_machine_rela): Likewise.
43636         * sysdeps/powerpc/powerpc32/dl-machine.c
43637         (__process_machine_rela): Likewise.
43638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43639         Likewise.
43640         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43641         Likewise.
43642         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43643         Likewise.
43644         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43645         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43646         Likewise.
43647         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43648         Likewise.
43649         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43651 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
43653         * po/be.po: Add descriptive title.
43654         * po/zh_CN.po: Likewise.
43655         * po/header.pot: Likewise.
43657 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
43659         * locale/programs/locarchive.c (create_archive): Inlucde fname in
43660         error message.
43661         (enlarge_archive): Likewise.
43663 2013-05-28  Ben North  <ben@redfrontdoor.org>
43665         * manual/arith.texi (frexp): It is the magnitude of the return
43666         value which lies in [0.5, 1), not the return value itself.
43668 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43672 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
43674         * stdio-common/bug26.c (main): Correct fscanf template.
43676         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
43677         declare _dl_skip_args.
43679         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
43680         Don't declare.
43682         * manual/platform.texi: Add missing @end deftypefun.
43684 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43686         [BZ #15529]
43687         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
43688         bit of mantissa of 2^16382.
43689         * math/libm-test.inc (hypot_test_data): Add more tests.
43691         * math/libm-test.inc: Add drem and pow10 to list of tested
43692         functions.
43693         (pow10_test): New function.
43694         (drem_test): Likewise.
43695         (drem_test_tonearest): Likewise.
43696         (drem_test_towardzero): Likewise.
43697         (drem_test_downward): Likewise.
43698         (drem_test_upward): Likewise.
43699         (main): Call the new functions.
43701         * math/libm-test.inc (finite_test_data): Remove.
43702         (finite_test): Run tests from isfinite_test_data.
43703         (gamma_test_data): Remove.
43704         (gamma_test): Run tests from lgamma_test_data.
43705         * sysdeps/i386/fpu/libm-test-ulps: Update.
43706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43708 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43710         * manual/platform.texi: Add PowerPC PPR function set documentation.
43711         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43712         implementation.
43714 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
43716         * math/libm-test.inc (MAX_EXP): Define.
43717         (ULPDIFF): Define.
43718         (ulp): New function.
43719         (check_float_internal): Use ULPDIFF.
43720         (cpow_test): Disable failing test.
43721         (check_ulp): Test ulp() implemetnation.
43722         (main): Call check_ulp before starting tests.
43724 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43726         * math/gen-libm-test.pl (generate_testfile): Do not handle
43727         START_DATA and END_DATA.
43728         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43729         END_DATA.
43730         (acos_tonearest_test_data): Likewise.
43731         (acos_towardzero_test_data): Likewise.
43732         (acos_downward_test_data): Likewise.
43733         (acos_upward_test_data): Likewise.
43734         (acosh_test_data): Likewise.
43735         (asin_test_data): Likewise.
43736         (asin_tonearest_test_data): Likewise.
43737         (asin_towardzero_test_data): Likewise.
43738         (asin_downward_test_data): Likewise.
43739         (asin_upward_test_data): Likewise.
43740         (asinh_test_data): Likewise.
43741         (atan_test_data): Likewise.
43742         (atanh_test_data): Likewise.
43743         (atan2_test_data): Likewise.
43744         (cabs_test_data): Likewise.
43745         (cacos_test_data): Likewise.
43746         (cacosh_test_data): Likewise.
43747         (carg_test_data): Likewise.
43748         (casin_test_data): Likewise.
43749         (casinh_test_data): Likewise.
43750         (catan_test_data): Likewise.
43751         (catanh_test_data): Likewise.
43752         (cbrt_test_data): Likewise.
43753         (ccos_test_data): Likewise.
43754         (ccosh_test_data): Likewise.
43755         (ceil_test_data): Likewise.
43756         (cexp_test_data): Likewise.
43757         (cimag_test_data): Likewise.
43758         (clog_test_data): Likewise.
43759         (clog10_test_data): Likewise.
43760         (conj_test_data): Likewise.
43761         (copysign_test_data): Likewise.
43762         (cos_test_data): Likewise.
43763         (cos_tonearest_test_data): Likewise.
43764         (cos_towardzero_test_data): Likewise.
43765         (cos_downward_test_data): Likewise.
43766         (cos_upward_test_data): Likewise.
43767         (cosh_test_data): Likewise.
43768         (cosh_tonearest_test_data): Likewise.
43769         (cosh_towardzero_test_data): Likewise.
43770         (cosh_downward_test_data): Likewise.
43771         (cosh_upward_test_data): Likewise.
43772         (cpow_test_data): Likewise.
43773         (cproj_test_data): Likewise.
43774         (creal_test_data): Likewise.
43775         (csin_test_data): Likewise.
43776         (csinh_test_data): Likewise.
43777         (csqrt_test_data): Likewise.
43778         (ctan_test_data): Likewise.
43779         (ctan_tonearest_test_data): Likewise.
43780         (ctan_towardzero_test_data): Likewise.
43781         (ctan_downward_test_data): Likewise.
43782         (ctan_upward_test_data): Likewise.
43783         (ctanh_test_data): Likewise.
43784         (ctanh_tonearest_test_data): Likewise.
43785         (ctanh_towardzero_test_data): Likewise.
43786         (ctanh_downward_test_data): Likewise.
43787         (ctanh_upward_test_data): Likewise.
43788         (erf_test_data): Likewise.
43789         (erfc_test_data): Likewise.
43790         (exp_test_data): Likewise.
43791         (exp_tonearest_test_data): Likewise.
43792         (exp_towardzero_test_data): Likewise.
43793         (exp_downward_test_data): Likewise.
43794         (exp_upward_test_data): Likewise.
43795         (exp10_test_data): Likewise.
43796         (exp2_test_data): Likewise.
43797         (expm1_test_data): Likewise.
43798         (fabs_test_data): Likewise.
43799         (fdim_test_data): Likewise.
43800         (finite_test_data): Likewise.
43801         (floor_test_data): Likewise.
43802         (fma_test_data): Likewise.
43803         (fma_towardzero_test_data): Likewise.
43804         (fma_downward_test_data): Likewise.
43805         (fma_upward_test_data): Likewise.
43806         (fmax_test_data): Likewise.
43807         (fmin_test_data): Likewise.
43808         (fmod_test_data): Likewise.
43809         (fpclassify_test_data): Likewise.
43810         (frexp_test_data): Likewise.
43811         (gamma_test_data): Likewise.
43812         (hypot_test_data): Likewise.
43813         (ilogb_test_data): Likewise.
43814         (isfinite_test_data): Likewise.
43815         (isgreater_test_data): Likewise.
43816         (isgreaterequal_test_data): Likewise.
43817         (isinf_test_data): Likewise.
43818         (isless_test_data): Likewise.
43819         (islessequal_test_data): Likewise.
43820         (islessgreater_test_data): Likewise.
43821         (isnan_test_data): Likewise.
43822         (isnormal_test_data): Likewise.
43823         (issignaling_test_data): Likewise.
43824         (isunordered_test_data): Likewise.
43825         (j0_test_data): Likewise.
43826         (j1_test_data): Likewise.
43827         (jn_test_data): Likewise.
43828         (ldexp_test_data): Likewise.
43829         (lgamma_test_data): Likewise.
43830         (lrint_test_data): Likewise.
43831         (lrint_tonearest_test_data): Likewise.
43832         (lrint_towardzero_test_data): Likewise.
43833         (lrint_downward_test_data): Likewise.
43834         (lrint_upward_test_data): Likewise.
43835         (llrint_test_data): Likewise.
43836         (llrint_tonearest_test_data): Likewise.
43837         (llrint_towardzero_test_data): Likewise.
43838         (llrint_downward_test_data): Likewise.
43839         (llrint_upward_test_data): Likewise.
43840         (log_test_data): Likewise.
43841         (log10_test_data): Likewise.
43842         (log1p_test_data): Likewise.
43843         (log2_test_data): Likewise.
43844         (logb_test_data): Likewise.
43845         (logb_downward_test_data): Likewise.
43846         (lround_test_data): Likewise.
43847         (llround_test_data): Likewise.
43848         (modf_test_data): Likewise.
43849         (nearbyint_test_data): Likewise.
43850         (nextafter_test_data): Likewise.
43851         (nexttoward_test_data): Likewise.
43852         (pow_test_data): Likewise.
43853         (pow_tonearest_test_data): Likewise.
43854         (pow_towardzero_test_data): Likewise.
43855         (pow_downward_test_data): Likewise.
43856         (pow_upward_test_data): Likewise.
43857         (remainder_test_data): Likewise.
43858         (remainder_tonearest_test_data): Likewise.
43859         (remainder_towardzero_test_data): Likewise.
43860         (remainder_downward_test_data): Likewise.
43861         (remainder_upward_test_data): Likewise.
43862         (remquo_test_data): Likewise.
43863         (rint_test_data): Likewise.
43864         (rint_tonearest_test_data): Likewise.
43865         (rint_towardzero_test_data): Likewise.
43866         (rint_downward_test_data): Likewise.
43867         (rint_upward_test_data): Likewise.
43868         (round_test_data): Likewise.
43869         (scalb_test_data): Likewise.
43870         (scalbn_test_data): Likewise.
43871         (scalbln_test_data): Likewise.
43872         (signbit_test_data): Likewise.
43873         (sin_test_data): Likewise.
43874         (sin_tonearest_test_data): Likewise.
43875         (sin_towardzero_test_data): Likewise.
43876         (sin_downward_test_data): Likewise.
43877         (sin_upward_test_data): Likewise.
43878         (sincos_test_data): Likewise.
43879         (sinh_test_data): Likewise.
43880         (sinh_tonearest_test_data): Likewise.
43881         (sinh_towardzero_test_data): Likewise.
43882         (sinh_downward_test_data): Likewise.
43883         (sinh_upward_test_data): Likewise.
43884         (sqrt_test_data): Likewise.
43885         (tan_test_data): Likewise.
43886         (tan_tonearest_test_data): Likewise.
43887         (tan_towardzero_test_data): Likewise.
43888         (tan_downward_test_data): Likewise.
43889         (tan_upward_test_data): Likewise.
43890         (tanh_test_data): Likewise.
43891         (tgamma_test_data): Likewise.
43892         (trunc_test_data): Likewise.
43893         (y0_test_data): Likewise.
43894         (y1_test_data): Likewise.
43895         (yn_test_data): Likewise.
43896         (significand_test_data): Likewise.
43898         * math/gen-libm-test.pl (@functions): Remove variable.
43899         (generate_testfile): Don't handle START and END lines.
43900         * math/libm-test.inc (START): New macro.
43901         (END): Likewise.
43902         (END_COMPLEX): Likewise.
43903         (acos_test): Use END macro without arguments.
43904         (acos_test_tonearest): Likewise.
43905         (acos_test_towardzero): Likewise.
43906         (acos_test_downward): Likewise.
43907         (acos_test_upward): Likewise.
43908         (acosh_test): Likewise.
43909         (asin_test): Likewise.
43910         (asin_test_tonearest): Likewise.
43911         (asin_test_towardzero): Likewise.
43912         (asin_test_downward): Likewise.
43913         (asin_test_upward): Likewise.
43914         (asinh_test): Likewise.
43915         (atan_test): Likewise.
43916         (atanh_test): Likewise.
43917         (atan2_test): Likewise.
43918         (cabs_test): Likewise.
43919         (cacos_test): Use END_COMPLEX macro without arguments.
43920         (cacosh_test): Likewise.
43921         (carg_test): Use END macro without arguments.
43922         (casin_test): Use END_COMPLEX macro without arguments.
43923         (casinh_test): Likewise.
43924         (catan_test): Likewise.
43925         (catanh_test): Likewise.
43926         (cbrt_test): Use END macro without arguments.
43927         (ccos_test): Use END_COMPLEX macro without arguments.
43928         (ccosh_test): Likewise.
43929         (ceil_test): Use END macro without arguments.
43930         (cexp_test): Use END_COMPLEX macro without arguments.
43931         (cimag_test): Use END macro without arguments.
43932         (clog_test): Use END_COMPLEX macro without arguments.
43933         (clog10_test): Likewise.
43934         (conj_test): Likewise.
43935         (copysign_test): Use END macro without arguments.
43936         (cos_test): Likewise.
43937         (cos_test_tonearest): Likewise.
43938         (cos_test_towardzero): Likewise.
43939         (cos_test_downward): Likewise.
43940         (cos_test_upward): Likewise.
43941         (cosh_test): Likewise.
43942         (cosh_test_tonearest): Likewise.
43943         (cosh_test_towardzero): Likewise.
43944         (cosh_test_downward): Likewise.
43945         (cosh_test_upward): Likewise.
43946         (cpow_test): Use END_COMPLEX macro without arguments.
43947         (cproj_test): Likewise.
43948         (creal_test): Use END macro without arguments.
43949         (csin_test): Use END_COMPLEX macro without arguments.
43950         (csinh_test): Likewise.
43951         (csqrt_test): Likewise.
43952         (ctan_test): Likewise.
43953         (ctan_test_tonearest): Likewise.
43954         (ctan_test_towardzero): Likewise.
43955         (ctan_test_downward): Likewise.
43956         (ctan_test_upward): Likewise.
43957         (ctanh_test): Likewise.
43958         (ctanh_test_tonearest): Likewise.
43959         (ctanh_test_towardzero): Likewise.
43960         (ctanh_test_downward): Likewise.
43961         (ctanh_test_upward): Likewise.
43962         (erf_test): Use END macro without arguments.
43963         (erfc_test): Likewise.
43964         (exp_test): Likewise.
43965         (exp_test_tonearest): Likewise.
43966         (exp_test_towardzero): Likewise.
43967         (exp_test_downward): Likewise.
43968         (exp_test_upward): Likewise.
43969         (exp10_test): Likewise.
43970         (exp2_test): Likewise.
43971         (expm1_test): Likewise.
43972         (fabs_test): Likewise.
43973         (fdim_test): Likewise.
43974         (finite_test): Likewise.
43975         (floor_test): Likewise.
43976         (fma_test): Likewise.
43977         (fma_test_towardzero): Likewise.
43978         (fma_test_downward): Likewise.
43979         (fma_test_upward): Likewise.
43980         (fmax_test): Likewise.
43981         (fmin_test): Likewise.
43982         (fmod_test): Likewise.
43983         (fpclassify_test): Likewise.
43984         (frexp_test): Likewise.
43985         (gamma_test): Likewise.
43986         (hypot_test): Likewise.
43987         (ilogb_test): Likewise.
43988         (isfinite_test): Likewise.
43989         (isgreater_test): Likewise.
43990         (isgreaterequal_test): Likewise.
43991         (isinf_test): Likewise.
43992         (isless_test): Likewise.
43993         (islessequal_test): Likewise.
43994         (islessgreater_test): Likewise.
43995         (isnan_test): Likewise.
43996         (isnormal_test): Likewise.
43997         (issignaling_test): Likewise.
43998         (isunordered_test): Likewise.
43999         (j0_test): Likewise.
44000         (j1_test): Likewise.
44001         (jn_test): Likewise.
44002         (ldexp_test): Likewise.
44003         (lgamma_test): Likewise.
44004         (lrint_test): Likewise.
44005         (lrint_test_tonearest): Likewise.
44006         (lrint_test_towardzero): Likewise.
44007         (lrint_test_downward): Likewise.
44008         (lrint_test_upward): Likewise.
44009         (llrint_test): Likewise.
44010         (llrint_test_tonearest): Likewise.
44011         (llrint_test_towardzero): Likewise.
44012         (llrint_test_downward): Likewise.
44013         (llrint_test_upward): Likewise.
44014         (log_test): Likewise.
44015         (log10_test): Likewise.
44016         (log1p_test): Likewise.
44017         (log2_test): Likewise.
44018         (logb_test): Likewise.
44019         (logb_test_downward): Likewise.
44020         (lround_test): Likewise.
44021         (llround_test): Likewise.
44022         (modf_test): Likewise.
44023         (nearbyint_test): Likewise.
44024         (nextafter_test): Likewise.
44025         (nexttoward_test): Likewise.
44026         (pow_test): Likewise.
44027         (pow_test_tonearest): Likewise.
44028         (pow_test_towardzero): Likewise.
44029         (pow_test_downward): Likewise.
44030         (pow_test_upward): Likewise.
44031         (remainder_test): Likewise.
44032         (remainder_test_tonearest): Likewise.
44033         (remainder_test_towardzero): Likewise.
44034         (remainder_test_downward): Likewise.
44035         (remainder_test_upward): Likewise.
44036         (remquo_test): Likewise.
44037         (rint_test): Likewise.
44038         (rint_test_tonearest): Likewise.
44039         (rint_test_towardzero): Likewise.
44040         (rint_test_downward): Likewise.
44041         (rint_test_upward): Likewise.
44042         (round_test): Likewise.
44043         (scalb_test): Likewise.
44044         (scalbn_test): Likewise.
44045         (scalbln_test): Likewise.
44046         (signbit_test): Likewise.
44047         (sin_test): Likewise.
44048         (sin_test_tonearest): Likewise.
44049         (sin_test_towardzero): Likewise.
44050         (sin_test_downward): Likewise.
44051         (sin_test_upward): Likewise.
44052         (sincos_test): Likewise.
44053         (sinh_test): Likewise.
44054         (sinh_test_tonearest): Likewise.
44055         (sinh_test_towardzero): Likewise.
44056         (sinh_test_downward): Likewise.
44057         (sinh_test_upward): Likewise.
44058         (sqrt_test): Likewise.
44059         (tan_test): Likewise.
44060         (tan_test_tonearest): Likewise.
44061         (tan_test_towardzero): Likewise.
44062         (tan_test_downward): Likewise.
44063         (tan_test_upward): Likewise.
44064         (tanh_test): Likewise.
44065         (tgamma_test): Likewise.
44066         (trunc_test): Likewise.
44067         (y0_test): Likewise.
44068         (y1_test): Likewise.
44069         (yn_test): Likewise.
44070         (significand_test): Likewise.
44072 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
44074         [BZ #15381]
44075         * libio/genops.c (_IO_no_init): Initialize wide struct info.
44077 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44079         [BZ #14894]
44080         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44081         __ppc_mdoio and __ppc_mdoom.
44082         * manual/platform.texi: Document new functions __ppc_yield,
44083         __ppc_mdoio and __ppc_mdoom.
44085 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
44087         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44088         (main): Mention "tls" pseudo-hwcap is legacy.
44089         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44091 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44093         * math/gen-libm-test.pl (parse_args): Output only string of
44094         arguments as text for test name, not full call or descriptions of
44095         tests for extra outputs.
44096         (generate_testfile): Do not pass function name to parse_args.
44097         Generate this_func variable from START.
44098         * math/libm-test.inc (struct test_f_f_data): Rename test_name
44099         field to arg_str.
44100         (struct test_ff_f_data): Likewise.
44101         (test_ff_f_data_nexttoward): Likewise.
44102         (struct test_fi_f_data): Likewise.
44103         (struct test_fl_f_data): Likewise.
44104         (struct test_if_f_data): Likewise.
44105         (struct test_fff_f_data): Likewise.
44106         (struct test_c_f_data): Likewise.
44107         (struct test_f_f1_data): Likewise.  Remove field extra_name.
44108         (struct test_fF_f1_data): Likewise.
44109         (struct test_ffI_f1_data): Likewise.
44110         (struct test_c_c_data): Rename test_name field to arg_str.
44111         (struct test_cc_c_data): Likewise.
44112         (struct test_f_i_data): Likewise.
44113         (struct test_ff_i_data): Likewise.
44114         (struct test_f_l_data): Likewise.
44115         (struct test_f_L_data): Likewise.
44116         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
44117         and extra2_name.
44118         (COMMON_TEST_SETUP): New macro.
44119         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44120         (COMMON_TEST_CLEANUP): Likewise.
44121         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44122         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
44123         macros.
44124         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44125         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
44126         macros.
44127         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44128         (RUN_TEST_fff_f): Take argument string.  Call new setup and
44129         cleanup macros.
44130         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
44131         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
44132         macros.
44133         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
44134         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
44135         macros.
44136         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44137         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
44138         cleanup macros.
44139         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44140         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
44141         cleanup macros.
44142         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44143         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
44144         cleanup macros.
44145         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44146         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
44147         macros.
44148         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
44149         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
44150         macros.
44151         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
44152         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
44153         macros.
44154         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
44155         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
44156         cleanup macros.
44157         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
44158         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
44159         cleanup macros.
44160         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
44161         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
44162         macros.
44163         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
44164         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
44165         cleanup macros.
44166         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
44167         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
44168         macros.
44169         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
44170         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
44171         macros.
44172         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
44173         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
44174         cleanup macros.
44175         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
44177 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
44179         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
44180         to _sifields.sigfault.
44181         (si_addr_lsb): Define new macro.
44182         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44183         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44184         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
44186 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
44188         [BZ #15441]
44189         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
44190         returns -1.
44191         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
44192         null return -1.
44193         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
44194         loading the domain.
44196 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44198         * math/gen-libm-test.pl (parse_args): Do not include expected
44199         result in test name.
44200         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
44201         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44202         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44203         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44204         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44207 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44209         * benchtests/Makefile: Sort function entries.
44211         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
44212         tanh, asinh, acosh, atanh.
44213         * benchtests/acos-inputs: New file.
44214         * benchtests/acosh-inputs: New file.
44215         * benchtests/asin-inputs: New file.
44216         * benchtests/asinh-inputs: New file.
44217         * benchtests/atanh-inputs: New file.
44218         * benchtests/cosh-inputs: New file.
44219         * benchtests/log-inputs: New file.
44220         * benchtests/sinh-inputs: New file.
44221         * benchtests/tanh-inputs: New file.
44223 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
44225         [BZ #15339]
44226         * posix/tst-getaddrinfo4.c: New test.
44227         * posix/Makefile (tests): Add it.
44229 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44231         [BZ #15339]
44232         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
44233         when no services were used.
44234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
44235         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
44237 2013-05-21  Andreas Schwab  <schwab@suse.de>
44239         [BZ #15014]
44240         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
44241         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
44242         successful.
44243         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
44244         redundant variable declarations and reallocation of buffer when
44245         parsing as IPv6 address.  Always set NSS status when called from
44246         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
44247         buffer too small.  Correct computation of needed size.
44248         * nss/Makefile (tests): Add test-digits-dots.
44249         * nss/test-digits-dots.c: New test.
44251 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44253         * benchtests/Makefile: Remove instructions for adding
44254         benchmark tests.
44255         * benchtests/README: New file to explain how to execute and
44256         enhance the benchmark tests.
44258 2013-05-21  Andreas Schwab  <schwab@suse.de>
44260         [BZ #15493]
44261         * setjmp/Makefile (tests): Add tst-sigsetjmp.
44262         * setjmp/tst-sigsetjmp.c: New test.
44264 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44266         * sysdeps/x86_64/memset.S (memset): New implementation.
44267         (__bzero): Likewise.
44268         (__memset_tail): New function.
44270 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44272         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
44273         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
44274         __memcpy_sse2_unaligned ifunc selection.
44275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44276         Add memcpy-sse2-unaligned.S.
44277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44278         Add: __memcpy_sse2_unaligned.
44280 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
44282         [BZ #15490]
44283         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44284         math_force_eval before restoring floating-point envrionment.
44285         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
44286         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
44287         Likewise.
44288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
44289         <math_private.h>.
44290         (__nearbyintl): Use math_force_eval before restoring
44291         floating-point environment.
44292         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
44294         * math/gen-libm-test.pl (special_functions): Remove.
44295         (parse_args): Don't handle TEST_extra.  Handle functions with no
44296         return value.
44297         * math/libm-test.inc (struct test_sincos_data): Replace with
44298         struct test_fFF_11_data.
44299         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
44300         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
44301         (sincos_test_data): Change element type to struct
44302         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
44303         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
44304         RUN_TEST_LOOP_sincos.
44305         * math/README.libm-test: Don't mention special handling of
44306         individual functions.
44307         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
44308         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44309         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44310         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44311         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44314         * math/gen-libm-test.pl (get_variable): Remove function.
44315         (parse_args): Don't show pointer parameters to call in test
44316         names.  Use "extra output N" in test names for extra outputs
44317         rather than naming variables.
44319 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
44321         [BZ #15488]
44322         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
44323         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
44324         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
44325         double tests.
44326         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
44327         disable.
44328         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
44329         check_long_double.
44331         * math/gen-libm-test.pl (@tests): Remove variable.
44332         ($count): Likewise.
44333         (new_test): Remove function.
44334         (show_exceptions): New function.
44335         (special_functions): Use show_exceptions instead of new_test.
44336         (parse_args): Likewise.
44337         (generate_testfile): Pass only function name in generated call to
44338         print_max_error or print_complex_max_error.
44339         (get_ulps): Do not handle complex tests specially.
44340         (output_test): Rename to ...
44341         (get_all_ulps_for_test): ... this.  Return a string rather than
44342         printing to a file.  Require ulps to be present.
44343         (output_ulps): Generate arrays rather than #defines.
44344         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
44345         (struct ulp_data): New type.
44346         (BUILD_COMPLEX_ULP): Remove macro.
44347         (compare_ulp_data): New function.
44348         (find_ulps): Likewise.
44349         (find_test_ulps): Likewise.
44350         (find_function_ulps): Likewise.
44351         (find_complex_function_ulps): Likewise.
44352         (print_max_error): Determine allowed ulps using
44353         find_function_ulps.
44354         (print_complex_max_error): Determine allowed ulps using
44355         find_complex_function_ulps.
44356         (check_float_internal): Determine max ulps using find_test_ulps.
44357         (check_float): Do not take max_ulp parameter.  Update call to
44358         check_float_internal.
44359         (check_complex): Likewise.
44360         (check_int): Do not take max_ulp parameter.
44361         (check_long): Likewise.
44362         (check_bool): Likewise.
44363         (check_longlong): Likewise.
44364         (struct test_f_f_data): Remove max_ulp field.
44365         (struct test_ff_f_data): Likewise.
44366         (struct test_ff_f_data_nexttoward): Likewise.
44367         (struct test_fi_f_data): Likewise.
44368         (struct test_fl_f_data): Likewise.
44369         (struct test_if_f_data): Likewise.
44370         (struct test_fff_f_data): Likewise.
44371         (struct test_c_f_data): Likewise.
44372         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
44373         (struct test_fF_f1_data): Likewise.
44374         (struct test_ffI_f1_data): Likewise.
44375         (struct test_c_c_data): Remove max_ulp field.
44376         (struct test_cc_c_data): Likewise.
44377         (struct test_f_i_data): Likewise.
44378         (struct test_ff_i_data): Likewise.
44379         (struct test_f_l_data): Likewise.
44380         (struct test_f_L_data): Likewise.
44381         (struct test_sincos_data): Likewise.
44382         (RUN_TEST_f_f): Do not handle ulps.
44383         (RUN_TEST_LOOP_f_f): Likewise.
44384         (RUN_TEST_2_f): Likewise.
44385         (RUN_TEST_LOOP_2_f): Likewise.
44386         (RUN_TEST_fff_f): Likewise.
44387         (RUN_TEST_LOOP_fff_f): Likewise.
44388         (RUN_TEST_c_f): Likewise.
44389         (RUN_TEST_LOOP_c_f): Likewise.
44390         (RUN_TEST_f_f1): Likewise.
44391         (RUN_TEST_LOOP_f_f1): Likewise.
44392         (RUN_TEST_fF_f1): Likewise.
44393         (RUN_TEST_LOOP_fF_f1): Likewise.
44394         (RUN_TEST_fI_f1): Likewise.
44395         (RUN_TEST_LOOP_fI_f1): Likewise.
44396         (RUN_TEST_ffI_f1): Likewise.
44397         (RUN_TEST_LOOP_ffI_f1): Likewise.
44398         (RUN_TEST_c_c): Likewise.
44399         (RUN_TEST_LOOP_c_c): Likewise.
44400         (RUN_TEST_cc_c): Likewise.
44401         (RUN_TEST_LOOP_cc_c): Likewise.
44402         (RUN_TEST_f_i): Likewise.
44403         (RUN_TEST_LOOP_f_i): Likewise.
44404         (RUN_TEST_f_i_tg): Likewise.
44405         (RUN_TEST_LOOP_f_i_tg): Likewise.
44406         (RUN_TEST_ff_i_tg): Likewise.
44407         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44408         (RUN_TEST_f_b): Likewise.
44409         (RUN_TEST_LOOP_f_b): Likewise.
44410         (RUN_TEST_f_b_tg): Likewise.
44411         (RUN_TEST_LOOP_f_b_tg): Likewise.
44412         (RUN_TEST_f_l): Likewise.
44413         (RUN_TEST_LOOP_f_l): Likewise.
44414         (RUN_TEST_f_L): Likewise.
44415         (RUN_TEST_LOOP_f_L): Likewise.
44416         (RUN_TEST_sincos): Likewise.
44417         (RUN_TEST_LOOP_sincos): Likewise.
44419 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
44421         [BZ #15480]
44422         [BZ #15485]
44423         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
44424         main case of finite arguments, set rounding mode to FE_TONEAREST
44425         and discard exceptions.
44426         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
44427         exceptions.
44428         (remainder_tonearest_test_data): New variable.
44429         (remainder_test_tonearest): New function.
44430         (remainder_towardzero_test_data): New variable.
44431         (remainder_test_towardzero): New function.
44432         (remainder_downward_test_data): New variable.
44433         (remainder_test_downward): New function.
44434         (remainder_upward_test_data): New variable.
44435         (remainder_test_upward): New function.
44436         (main): Call the new test functions.
44438         * math/libm-test.inc (struct test_f_f1_data): Remove field
44439         extra_init.
44440         (struct test_fF_f1_data): Likewise.
44441         (struct test_ffI_f1_data): Likewise.
44442         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
44443         based on value of EXTRA_EXPECTED.
44444         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44445         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
44446         EXTRA_VAR based on value of EXTRA_EXPECTED.
44447         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44448         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
44449         EXTRA_VAR based on value of EXTRA_EXPECTED.
44450         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44451         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
44452         EXTRA_VAR based on value of EXTRA_EXPECTED.
44453         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44454         * math/gen-libm-test.pl (parse_args): Don't output initializers
44455         for extra output values.
44457         * math/libm-test.inc (check_int): Expect result to be exactly
44458         equal to expected value and do not handle ulps.
44459         (check_long): Likewise.
44460         (check_longlong): Likewise.
44462         * math/libm-test.inc (ceil_test_data): Test for "inexact"
44463         exceptions.
44464         (cimag_test_data): Likewise.
44465         (conj_test_data): Likewise.
44466         (copysign_test_data): Likewise.
44467         (cproj_test_data): Likewise.
44468         (creal_test_data): Likewise.
44469         (fabs_test_data): Likewise.
44470         (fdim_test_data): Likewise.
44471         (finite_test_data): Likewise.
44472         (floor_test_data): Likewise.
44473         (fmax_test_data): Likewise.
44474         (fmin_test_data): Likewise.
44475         (fmod_test_data): Likewise.
44476         (fpclassify_test_data): Likewise.
44477         (frexp_test_data): Likewise.
44478         (ilogb_test_data): Likewise.
44479         (isfinite_test_data): Likewise.
44480         (isgreater_test_data): Likewise.
44481         (isgreaterequal_test_data): Likewise.
44482         (isinf_test_data): Likewise.
44483         (isless_test_data): Likewise.
44484         (islessequal_test_data): Likewise.
44485         (islessgreater_test_data): Likewise.
44486         (isnan_test_data): Likewise.
44487         (isnormal_test_data): Likewise.
44488         (issignaling_test_data): Likewise.
44489         (isunordered_test_data): Likewise.
44490         (ldexp_test_data): Likewise.
44491         (lrint_test_data): Likewise.
44492         (lrint_test_data) [TEST_FLOAT]: Disable one test.
44493         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
44494         (lrint_tonearest_test_data): Test for "inexact" exceptions.
44495         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44496         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
44497         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44498         test input.
44499         (lrint_towardzero_test_data): Test for "inexact" exceptions.
44500         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44501         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
44502         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
44503         that test input.
44504         (lrint_downward_test_data): Test for "inexact" exceptions.
44505         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44506         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
44507         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44508         test input.
44509         (lrint_upward_test_data): Test for "inexact" exceptions.
44510         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
44511         test input.
44512         (llrint_test_data): Test for "inexact" exceptions.
44513         (llrint_test_data) [TEST_FLOAT]: Disable one test.
44514         (llrint_tonearest_test_data): Test for "inexact" exceptions.
44515         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44516         (llrint_towardzero_test_data): Test for "inexact" exceptions.
44517         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44518         (llrint_downward_test_data): Test for "inexact" exceptions.
44519         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44520         (llrint_upward_test_data): Test for "inexact" exceptions.
44521         (logb_test_data): Likewise.
44522         (logb_downward_test_data): Likewise.
44523         (nextafter_test_data): Likewise.
44524         (nexttoward_test_data): Likewise.
44525         (remainder_test_data): Likewise.
44526         (remquo_test_data): Likewise.
44527         (scalbn_test_data): Likewise.
44528         (scalbln_test_data): Likewise.
44529         (signbit_test_data): Likewise.
44530         (sqrt_test_data): Likewise.
44531         (significand_test_data): Likewise.
44533 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44535         [BZ #15424]
44536         * benchtests/bench-modf.c (struct args): Mark arg0 as
44537         volatile.
44538         * scripts/bench.pl: Mark members of struct args as volatile.
44540 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44542         [BZ # 15497]
44543         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
44544         negative infinity on POWER6 or lower.
44545         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
44547 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44549         [BZ #15442]
44550         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
44551         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
44552         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
44553         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
44554         (_FP_SETQNAN): New macro.
44555         (_FP_SETQNAN_SEMIRAW): Likewise.
44556         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
44557         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
44558         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
44559         (FP_EXTEND): Use _FP_FRAC_SNANP.
44560         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
44561         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
44562         into account.
44563         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44564         New macro.
44565         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44566         Likewise.
44568 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44570         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
44571         with DIVIDE_BY_ZERO_EXCEPTION.
44572         (gamma_test_data): Likewise.
44573         (lgamma_test_data): Likewise.
44574         (log_test_data): Likewise.
44575         (log10_test_data): Likewise.
44576         (log2_test_data): Likewise.
44577         (tgamma_test_data): Likewise.
44579         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
44580         (acos_test_tonearest): Likewise.
44581         (acos_test_towardzero): Likewise.
44582         (acos_test_downward): Likewise.
44583         (acos_test_upward): Likewise.
44584         (acosh_test): Likewise.
44585         (asin_test): Likewise.
44586         (asin_test_tonearest): Likewise.
44587         (asin_test_towardzero): Likewise.
44588         (asin_test_downward): Likewise.
44589         (asin_test_upward): Likewise.
44590         (asinh_test): Likewise.
44591         (atan_test): Likewise.
44592         (atanh_test): Likewise.
44593         (atan2_test): Likewise.
44594         (cabs_test): Likewise.
44595         (cacos_test): Likewise.
44596         (cacosh_test): Likewise.
44597         (casin_test): Likewise.
44598         (casinh_test): Likewise.
44599         (catan_test): Likewise.
44600         (catanh_test): Likewise.
44601         (cbrt_test): Likewise.
44602         (ccos_test): Likewise.
44603         (ccosh_test): Likewise.
44604         (cexp_test): Likewise.
44605         (clog_test): Likewise.
44606         (clog10_test): Likewise.
44607         (cos_test): Likewise.
44608         (cos_test_tonearest): Likewise.
44609         (cos_test_towardzero): Likewise.
44610         (cos_test_downward): Likewise.
44611         (cos_test_upward): Likewise.
44612         (cosh_test): Likewise.
44613         (cosh_test_tonearest): Likewise.
44614         (cosh_test_towardzero): Likewise.
44615         (cosh_test_downward): Likewise.
44616         (cosh_test_upward): Likewise.
44617         (cpow_test): Likewise.
44618         (csin_test): Likewise.
44619         (csinh_test): Likewise.
44620         (csqrt_test): Likewise.
44621         (ctan_test): Likewise.
44622         (ctan_test_tonearest): Likewise.
44623         (ctan_test_towardzero): Likewise.
44624         (ctan_test_downward): Likewise.
44625         (ctan_test_upward): Likewise.
44626         (ctanh_test): Likewise.
44627         (ctanh_test_tonearest): Likewise.
44628         (ctanh_test_towardzero): Likewise.
44629         (ctanh_test_downward): Likewise.
44630         (ctanh_test_upward): Likewise.
44631         (erf_test): Likewise.
44632         (erfc_test): Likewise.
44633         (exp_test): Likewise.
44634         (exp_test_tonearest): Likewise.
44635         (exp_test_towardzero): Likewise.
44636         (exp_test_downward): Likewise.
44637         (exp_test_upward): Likewise.
44638         (exp10_test): Likewise.
44639         (exp2_test): Likewise.
44640         (expm1_test): Likewise.
44641         (fmod_test): Likewise.
44642         (gamma_test): Likewise.
44643         (hypot_test): Likewise.
44644         (j0_test): Likewise.
44645         (j1_test): Likewise.
44646         (jn_test): Likewise.
44647         (lgamma_test): Likewise.
44648         (log_test): Likewise.
44649         (log10_test): Likewise.
44650         (log1p_test): Likewise.
44651         (log2_test): Likewise.
44652         (logb_test_downward): Likewise.
44653         (pow_test): Likewise.
44654         (pow_test_tonearest): Likewise.
44655         (pow_test_towardzero): Likewise.
44656         (pow_test_downward): Likewise.
44657         (pow_test_upward): Likewise.
44658         (remainder_test): Likewise.
44659         (remquo_test): Likewise.
44660         (sin_test): Likewise.
44661         (sin_test_tonearest): Likewise.
44662         (sin_test_towardzero): Likewise.
44663         (sin_test_downward): Likewise.
44664         (sin_test_upward): Likewise.
44665         (sincos_test): Likewise.
44666         (sinh_test): Likewise.
44667         (sinh_test_tonearest): Likewise.
44668         (sinh_test_towardzero): Likewise.
44669         (sinh_test_downward): Likewise.
44670         (sinh_test_upward): Likewise.
44671         (sqrt_test): Likewise.
44672         (tan_test): Likewise.
44673         (tan_test_tonearest): Likewise.
44674         (tan_test_towardzero): Likewise.
44675         (tan_test_downward): Likewise.
44676         (tan_test_upward): Likewise.
44677         (tanh_test): Likewise.
44678         (tgamma_test): Likewise.
44679         (y0_test): Likewise.
44680         (y1_test): Likewise.
44681         (yn_test): Likewise.
44683         * math/gen-libm-test.pl (adjust_arg): Remove function.
44684         (special_function): Remove argument $in_func.  Only handle
44685         generating output for tables of tests, not inside functions.
44686         (parse_args): Likewise.
44687         (generate_testfile): Remove variable $in_func.  Update call to
44688         parse_args.
44689         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
44690         (MINUS_ZERO_INIT): Rename macro to minus_zero.
44691         (PLUS_INFTY_INIT): Rename macro to plus_infty.
44692         (MINUS_INFTY_INIT): Rename macro to minus_infty.
44693         (QNAN_VALUE_INIT): Rename macro to qnan_value.
44694         (MAX_VALUE_INIT): Rename macro to max_value.
44695         (MIN_VALUE_INIT): Rename macro to min_value.
44696         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
44697         (plus_zero): Remove variable.
44698         (minus_zero): Likewise.
44699         (plus_infty): Likewise.
44700         (minus_infty): Likewise.
44701         (qnan_value): Likewise.
44702         (max_value): Likewise.
44703         (min_value): Likewise.
44704         (min_subnorm_value): Likewise.
44706 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44708         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44709         uint64_t or uint32_t usage.
44710         * crypt/sha256-block.c: Likewise.
44711         * crypt/sha256-crypt.c: Likewise.
44712         * crypt/sha256.c: Likewise.
44713         * crypt/sha512-block.c: Likewise.
44714         * crypt/sha512-crypt.c: Likewise.
44715         * crypt/sha512.c: Likewise.
44716         * debug/backtrace-tst.c: Likewise.
44717         * debug/pcprofiledump.c: Likewise.
44718         * elf/cache.c: Likewise.
44719         * elf/dl-cache.c: Likewise.
44720         * elf/dl-misc.c: Likewise.
44721         * elf/dl-profile.c: Likewise.
44722         * elf/dl-support.c: Likewise.
44723         * elf/ldconfig.c: Likewise.
44724         * elf/sprof.c: Likewise.
44725         * iconv/dummy-repertoire.c: Likewise.
44726         * iconv/iconv_charmap.c: Likewise.
44727         * iconv/skeleton.c: Likewise.
44728         * iconvdata/8bit-generic.c: Likewise.
44729         * iconvdata/cp737.h: Likewise.
44730         * iconvdata/cp775.h: Likewise.
44731         * iconvdata/ibm1008.h: Likewise.
44732         * iconvdata/ibm1025.h: Likewise.
44733         * iconvdata/ibm1046.h: Likewise.
44734         * iconvdata/ibm1097.h: Likewise.
44735         * iconvdata/ibm1112.h: Likewise.
44736         * iconvdata/ibm1122.h: Likewise.
44737         * iconvdata/ibm1123.h: Likewise.
44738         * iconvdata/ibm1124.h: Likewise.
44739         * iconvdata/ibm1129.h: Likewise.
44740         * iconvdata/ibm1130.h: Likewise.
44741         * iconvdata/ibm1132.h: Likewise.
44742         * iconvdata/ibm1133.h: Likewise.
44743         * iconvdata/ibm1137.h: Likewise.
44744         * iconvdata/ibm1140.h: Likewise.
44745         * iconvdata/ibm1141.h: Likewise.
44746         * iconvdata/ibm1142.h: Likewise.
44747         * iconvdata/ibm1143.h: Likewise.
44748         * iconvdata/ibm1144.h: Likewise.
44749         * iconvdata/ibm1145.h: Likewise.
44750         * iconvdata/ibm1146.h: Likewise.
44751         * iconvdata/ibm1147.h: Likewise.
44752         * iconvdata/ibm1148.h: Likewise.
44753         * iconvdata/ibm1149.h: Likewise.
44754         * iconvdata/ibm1153.h: Likewise.
44755         * iconvdata/ibm1154.h: Likewise.
44756         * iconvdata/ibm1155.h: Likewise.
44757         * iconvdata/ibm1156.h: Likewise.
44758         * iconvdata/ibm1157.h: Likewise.
44759         * iconvdata/ibm1158.h: Likewise.
44760         * iconvdata/ibm1160.h: Likewise.
44761         * iconvdata/ibm1161.h: Likewise.
44762         * iconvdata/ibm1162.h: Likewise.
44763         * iconvdata/ibm1163.h: Likewise.
44764         * iconvdata/ibm1164.h: Likewise.
44765         * iconvdata/ibm1166.h: Likewise.
44766         * iconvdata/ibm1167.h: Likewise.
44767         * iconvdata/ibm12712.h: Likewise.
44768         * iconvdata/ibm1390.h: Likewise.
44769         * iconvdata/ibm1399.h: Likewise.
44770         * iconvdata/ibm16804.h: Likewise.
44771         * iconvdata/ibm4517.h: Likewise.
44772         * iconvdata/ibm4899.h: Likewise.
44773         * iconvdata/ibm4909.h: Likewise.
44774         * iconvdata/ibm4971.h: Likewise.
44775         * iconvdata/ibm5347.h: Likewise.
44776         * iconvdata/ibm803.h: Likewise.
44777         * iconvdata/ibm856.h: Likewise.
44778         * iconvdata/ibm901.h: Likewise.
44779         * iconvdata/ibm902.h: Likewise.
44780         * iconvdata/ibm9030.h: Likewise.
44781         * iconvdata/ibm9066.h: Likewise.
44782         * iconvdata/ibm921.h: Likewise.
44783         * iconvdata/ibm922.h: Likewise.
44784         * iconvdata/ibm9448.h: Likewise.
44785         * iconvdata/isiri-3342.h: Likewise.
44786         * iconvdata/jis0201.h: Likewise.
44787         * include/link.h: Likewise.
44788         * include/netdb.h: Likewise.
44789         * inet/check_native.c: Likewise.
44790         * inet/check_pf.c: Likewise.
44791         * inet/getipv4sourcefilter.c: Likewise.
44792         * inet/getnameinfo.c: Likewise.
44793         * inet/getsourcefilter.c: Likewise.
44794         * inet/htonl.c: Likewise.
44795         * inet/setipv4sourcefilter.c: Likewise.
44796         * inet/setsourcefilter.c: Likewise.
44797         * inet/test-inet6_opt.c: Likewise.
44798         * inet/tst-network.c: Likewise.
44799         * locale/C-collate.c: Likewise.
44800         * locale/C-ctype.c: Likewise.
44801         * locale/C-time.c: Likewise.
44802         * locale/C-translit.h: Likewise.
44803         * locale/loadarchive.c: Likewise.
44804         * locale/programs/3level.h: Likewise.
44805         * locale/programs/charmap.c: Likewise.
44806         * locale/programs/charmap.h: Likewise.
44807         * locale/programs/ld-address.c: Likewise.
44808         * locale/programs/ld-collate.c: Likewise.
44809         * locale/programs/ld-ctype.c: Likewise.
44810         * locale/programs/ld-identification.c: Likewise.
44811         * locale/programs/ld-measurement.c: Likewise.
44812         * locale/programs/ld-messages.c: Likewise.
44813         * locale/programs/ld-monetary.c: Likewise.
44814         * locale/programs/ld-name.c: Likewise.
44815         * locale/programs/ld-numeric.c: Likewise.
44816         * locale/programs/ld-paper.c: Likewise.
44817         * locale/programs/ld-telephone.c: Likewise.
44818         * locale/programs/ld-time.c: Likewise.
44819         * locale/programs/linereader.c: Likewise.
44820         * locale/programs/locale.c: Likewise.
44821         * locale/programs/locarchive.c: Likewise.
44822         * locale/programs/locfile.h: Likewise.
44823         * locale/programs/repertoire.c: Likewise.
44824         * locale/programs/simple-hash.c: Likewise.
44825         * locale/programs/simple-hash.h: Likewise.
44826         * malloc/memusage.c: Likewise.
44827         * malloc/memusagestat.c: Likewise.
44828         * nis/nis_defaults.c: Likewise.
44829         * nis/nis_hash.c: Likewise.
44830         * nis/nis_print.c: Likewise.
44831         * nis/nis_xdr.c: Likewise.
44832         * nscd/connections.c: Likewise.
44833         * nscd/hstcache.c: Likewise.
44834         * nscd/nscd_gethst_r.c: Likewise.
44835         * nscd/nscd_getserv_r.c: Likewise.
44836         * nscd/nscd_helper.c: Likewise.
44837         * nscd/servicescache.c: Likewise.
44838         * nss/makedb.c: Likewise.
44839         * nss/nss_db/db-XXX.c: Likewise.
44840         * nss/nss_db/db-initgroups.c: Likewise.
44841         * nss/nss_db/db-netgrp.c: Likewise.
44842         * nss/nss_files/files-network.c: Likewise.
44843         * nss/nss_files/files-parse.c: Likewise.
44844         * posix/bug-regex5.c: Likewise.
44845         * posix/fnmatch_loop.c: Likewise.
44846         * posix/regcomp.c: Likewise.
44847         * posix/regexec.c: Likewise.
44848         * posix/tst-rfc3484-2.c: Likewise.
44849         * posix/tst-rfc3484-3.c: Likewise.
44850         * posix/tst-rfc3484.c: Likewise.
44851         * resolv/nss_dns/dns-canon.c: Likewise.
44852         * resolv/nss_dns/dns-network.c: Likewise.
44853         * resolv/res_init.c: Likewise.
44854         * resolv/res_mkquery.c: Likewise.
44855         * resolv/tst-aton.c: Likewise.
44856         * stdlib/cxa_atexit.c: Likewise.
44857         * stdlib/cxa_finalize.c: Likewise.
44858         * stdlib/gen-fpioconst.c: Likewise.
44859         * stdlib/strtol_l.c: Likewise.
44860         * string/tst-endian.c: Likewise.
44861         * sunrpc/auth_des.c: Likewise.
44862         * sunrpc/clnt_udp.c: Likewise.
44863         * sunrpc/rtime.c: Likewise.
44864         * sunrpc/svcauth_des.c: Likewise.
44865         * sunrpc/xdr.c: Likewise.
44866         * sunrpc/xdr_intXX_t.c: Likewise.
44867         * sunrpc/xdr_rec.c: Likewise.
44868         * sysdeps/generic/ldconfig.h: Likewise.
44869         * sysdeps/generic/ldsodefs.h: Likewise.
44870         * sysdeps/generic/memusage.h: Likewise.
44871         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44872         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44873         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44874         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44875         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44877         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44878         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44879         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44881         * sysdeps/posix/getaddrinfo.c: Likewise.
44882         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44883         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44884         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44885         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44886         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44887         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44888         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44889         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44890         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44891         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44892         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44893         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44894         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44895         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44896         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44897         * sysdeps/x86_64/dl-tls.h: Likewise.
44898         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44899         * time/alt_digit.c: Likewise.
44900         * time/era.c: Likewise.
44901         * wcsmbs/tst-c16c32-1.c: Likewise.
44903 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44905         * math/libm-test.inc (struct test_sincos_data): New type.
44906         (RUN_TEST_LOOP_sincos): New macro.
44907         (sincos_test_data): New variable.
44908         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44910 2013-05-16  Richard Henderson  <rth@redhat.com>
44912         * math/atest-exp2.c (LIMB64): New macro.
44913         (CONSTSZ): New macro.
44914         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44915         (hexdig): Move ...
44916         (print_mpn_fp): ... to function scope.
44917         (read_mpn_hex): Remove.
44918         (get_log2): Remove.
44919         (exp2_mpn): Use mp_log2.
44920         (main): Use mp_exp1.
44922 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44924         * math/libm-test.inc: Remove comment about not testing "inexact"
44925         exceptions.
44926         (INEXACT_EXCEPTION): New macro.
44927         (NO_INEXACT_EXCEPTION): Likewise.
44928         (INVALID_EXCEPTION_OK): Update value.
44929         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44930         (OVERFLOW_EXCEPTION_OK): Likewise.
44931         (UNDERFLOW_EXCEPTION_OK): Likewise.
44932         (IGNORE_ZERO_INF_SIGN): Likewise.
44933         (ERRNO_UNCHANGED): Likewise.
44934         (ERRNO_EDOM): Likewise.
44935         (ERRNO_ERANGE): Likewise.
44936         (test_exceptions): Handle testing "inexact" exceptions.
44937         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44938         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44939         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44940         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44941         INEXACT_EXCEPTION.
44942         (rint_towardzero_test_data): Likewise.
44943         (rint_downward_test_data): Likewise.
44944         (rint_upward_test_data): Likewise.
44946         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44947         with OVERFLOW_EXCEPTION.
44948         (exp10_test_data): Likewise.
44949         (exp2_test_data): Likewise.
44950         (expm1_test_data): Likewise.
44951         (lgamma_test_data): Likewise.
44952         (pow_test_data): Likewise.
44953         (tgamma_test_data): Likewise.
44954         (yn_test_data): Remove duplicate test of overflow.
44956         * math/libm-test.inc (struct test_cc_c_data): New type.
44957         (RUN_TEST_LOOP_cc_c): New macro.
44958         (cpow_test_data): New variable.
44959         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44961         * math/libm-test.inc (struct test_f_L_data): New type.
44962         (RUN_TEST_LOOP_f_L): New macro.
44963         (llrint_test_data): New variable.
44964         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44965         (llrint_tonearest_test_data): New variable.
44966         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44967         (llrint_towardzero_test_data): New variable.
44968         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44969         (llrint_downward_test_data): New variable.
44970         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44971         (llrint_upward_test_data): New variable.
44972         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44973         (llround_test_data): New variable.
44974         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44976 2013-05-13  Peter Collingbourne  <pcc@google.com>
44978         * math/atest-exp2.c (get_log2): Remove const attribute.
44980 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44982         * math/libm-test.inc (struct test_f_l_data): New type.
44983         (RUN_TEST_LOOP_f_l): New macro.
44984         (lrint_test_data): New variable.
44985         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44986         (lrint_tonearest_test_data): New variable.
44987         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44988         (lrint_towardzero_test_data): New variable.
44989         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44990         (lrint_downward_test_data): New variable.
44991         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44992         (lrint_upward_test_data): New variable.
44993         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44994         (lround_test_data): New variable.
44995         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44997 2013-05-15  Peter Collingbourne  <pcc@google.com>
44999         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45000         (EXTRACT_WORDS64) Use where appropriate.
45001         (INSERT_WORDS64) Likewise.
45003         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45004         constraints with x constraints.
45005         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45007         * malloc/obstack.c (_obstack_compat): Add initializer.
45009 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45011         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45012         si_trapno and add si_addr_lsb to _sifields.sigfault.
45013         (si_trapno): Remove macro.
45014         (si_addr_lsb): Define new macro.
45015         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45017 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45019         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45020         instead of TEST_f_l.
45021         (llrint_test_tonearest): Likewise.
45022         (llrint_test_towardzero): Likewise.
45023         (llrint_test_downward): Likewise.
45024         (llrint_test_upward): Likewise.
45025         (llround_test): Likewise.
45027         * math/libm-test.inc (struct test_f_i_data): Add comment.
45028         (RUN_TEST_LOOP_f_b): New macro.
45029         (RUN_TEST_LOOP_f_b_tg): Likewise.
45030         (finite_test_data): New variable.
45031         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45032         (isfinite_test_data): New variable.
45033         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45034         (isinf_test_data): New variable.
45035         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45036         (isnan_test_data): New variable.
45037         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45038         (isnormal_test_data): New variable.
45039         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45040         (issignaling_test_data): New variable.
45041         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45042         (signbit_test_data): New variable.
45043         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45045         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45046         with INVALID_EXCEPTION.
45047         (acosh_test_data): Likewise.
45048         (asin_test_data): Likewise.
45049         (atanh_test_data): Likewise.
45050         (fmod_test_data): Likewise.
45051         (log_test_data): Likewise.
45052         (log10_test_data): Likewise.
45053         (log2_test_data): Likewise.
45054         (pow_test_data): Likewise.
45055         (sqrt_test_data): Likewise.
45056         (y0_test_data): Likewise.
45057         (y1_test_data): Likewise.
45058         (yn_test_data): Likewise.
45060         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45061         function contents.
45063         * math/libm-test.inc (struct test_ff_i_data): New type.
45064         (RUN_TEST_LOOP_ff_i_tg): New macro.
45065         (isgreater_test_data): New variable.
45066         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45067         (isgreaterequal_test_data): New variable.
45068         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45069         (isless_test_data): New variable.
45070         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45071         (islessequal_test_data): New variable.
45072         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45073         (islessgreater_test_data): New variable.
45074         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45075         (isunordered_test_data): New variable.
45076         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45078 2013-05-14  David S. Miller  <davem@davemloft.net>
45080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45082 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
45084         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45086         * math/libm-test.inc (struct test_fF_f1_data): Change type of
45087         extra_test to int.
45088         (struct test_f_i_data): Change type of max_ulp to int.
45090         * math/libm-test.inc (test_ffI_f1_data): New type.
45091         (RUN_TEST_LOOP_ffI_f1): New macro.
45092         (remquo_test_data): New variable.
45093         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45095         * setjmp/tst-setjmp-fp.c: New file.
45096         * setjmp/Makefile (tests): Add tst-setjmp-fp.
45097         (link-libm): New variable.
45098         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45100         * math/libm-test.inc (struct test_f_i_data): New type.
45101         (RUN_TEST_LOOP_f_i): New macro.
45102         (RUN_TEST_LOOP_f_i_tg): Likewise.
45103         (fpclassify_test_data): New variable.
45104         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45105         (ilogb_test_data): New variable.
45106         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45108         * math/libm-test.inc (scalbln_test): Correct function name in END
45109         call.
45111         * math/libm-test.inc (struct test_f_f1_data): Add comment.
45112         (RUN_TEST_LOOP_fI_f1): New macro.
45113         (frexp_test_data): New variable.
45114         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45116         * math/libm-test.inc (struct test_fF_f1_data): New type.
45117         (RUN_TEST_LOOP_fF_f1): New macro.
45118         (modf_test_data): New variable.
45119         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45121         * math/libm-test.inc (struct test_f_f1_data): New type.
45122         (RUN_TEST_LOOP_f_f1): New macro.
45123         (gamma_test_data): New variable.
45124         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45125         (lgamma_test_data): New variable.
45126         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45128 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
45130         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
45131         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45132         (main): Comment "tls" pseudo-hwcap.
45134 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
45136         * math/libm-test.inc (struct test_fl_f_data): New type.
45137         (RUN_TEST_LOOP_fl_f): New variable.
45138         (scalbln_test_data): New variable.
45139         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
45141         * math/libm-test.inc (struct test_fi_f_data): New type.
45142         (RUN_TEST_LOOP_fi_f): New macro.
45143         (ldexp_test_data): New variable.
45144         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
45145         (scalbn_test_data): New variable.
45146         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
45148         * math/libm-test.inc (struct test_c_f_data): New type.
45149         (RUN_TEST_LOOP_c_f): New macro.
45150         (cabs_test_data): New variable.
45151         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
45152         (carg_test_data): New variable.
45153         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
45154         (cimag_test_data): New variable.
45155         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
45156         (creal_test_data): New variable.
45157         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45159         * math/libm-test.inc (struct test_if_f_data): New type.
45160         (RUN_TEST_LOOP_if_f): New macro.
45161         (jn_test_data): New variable.
45162         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45163         (yn_test_data): New variable.
45164         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
45166         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
45168 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45170         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
45171         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
45173 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45175         * benchtests/Makefile (CPPFLAGS-nonlib): Add
45176         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
45177         (bench-deps): Add bench-timing.h.
45178         * benchtests-bench-skeleton.c: Include bench-timing.h.
45179         (main): Use TIMING_* macros instead of clock_gettime.
45180         * benchtests/bench-timing.h: New file.
45182         [BZ #14582]
45183         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
45184         Renamed from _LIB_VERSION.
45185         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
45187 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
45189         * math/libm-test.inc (struct test_fff_f_data): New type.
45190         (RUN_TEST_LOOP_fff_f): New macro.
45191         (fma_test_data): New variable.
45192         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
45193         (fma_towardzero_test_data): New variable.
45194         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
45195         (fma_downward_test_data): New variable.
45196         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
45197         (fma_upward_test_data): New variable.
45198         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
45200         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
45201         (struct test_c_c_data): New type.
45202         (RUN_TEST_LOOP_c_c): New macro.
45203         (cacos_test_data): New variable.
45204         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
45205         (cacosh_test_data): New variable.
45206         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
45207         (casin_test_data): New variable.
45208         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
45209         (casinh_test_data): New variable.
45210         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
45211         (catan_test_data): New variable.
45212         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
45213         (catanh_test_data): New variable.
45214         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
45215         (ccos_test_data): New variable.
45216         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
45217         (ccosh_test_data): New variable.
45218         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
45219         (cexp_test_data): New variable.
45220         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
45221         (clog_test_data): New variable.
45222         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
45223         (clog10_test_data): New variable.
45224         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
45225         (conj_test_data): New variable.
45226         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
45227         (cproj_test_data): New variable.
45228         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
45229         (csin_test_data): New variable.
45230         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
45231         (csinh_test_data): New variable.
45232         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
45233         (csqrt_test_data): New variable.
45234         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
45235         (ctan_test_data): New variable.
45236         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
45237         (ctan_tonearest_test_data): New variable.
45238         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45239         (ctan_towardzero_test_data): New variable.
45240         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45241         (ctan_downward_test_data): New variable.
45242         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45243         (ctan_upward_test_data): New variable.
45244         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45245         (ctanh_test_data): New variable.
45246         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
45247         (ctanh_tonearest_test_data): New variable.
45248         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45249         (ctanh_towardzero_test_data): New variable.
45250         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45251         (ctanh_downward_test_data): New variable.
45252         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45253         (ctanh_upward_test_data): New variable.
45254         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45255         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
45256         of BUILD_COMPLEX.
45258         * math/libm-test.inc (struct test_ff_f_data): New type.
45259         (struct test_ff_f_data_nexttoward): Likewise.
45260         (RUN_TEST_LOOP_2_f): New macro.
45261         (RUN_TEST_LOOP_ff_f): Likewise.
45262         (atan2_test_data): New variable.
45263         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
45264         (copysign_test_data): New variable.
45265         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
45266         (fdim_test_data): New variable.
45267         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
45268         (fmax_test_data): New variable.
45269         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
45270         (fmin_test_data): New variable.
45271         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
45272         (fmod_test_data): New variable.
45273         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
45274         (hypot_test_data): New variable.
45275         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
45276         (nextafter_test_data): New variable.
45277         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
45278         (nexttoward_test_data): New variable.
45279         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
45280         (pow_test_data): New variable.
45281         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
45282         (pow_tonearest_test_data): New variable.
45283         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
45284         (pow_towardzero_test_data): New variable.
45285         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
45286         (pow_downward_test_data): New variable.
45287         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
45288         (pow_upward_test_data): New variable.
45289         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
45290         (remainder_test_data): New variable.
45291         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
45292         (scalb_test_data): New variable.
45293         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
45294         * sysdeps/i386/fpu/libm-test-ulps: Update.
45296 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
45298         * math/libm-test.inc (fma_test): Use max_value instead of local
45299         variable fltmax.
45300         (nextafter_test): Likewise.
45302         * math/libm-test.inc (acos_towardzero_test_data): New variable.
45303         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45304         (acos_downward_test_data): New variable.
45305         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45306         (acos_upward_test_data): New variable.
45307         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45308         (acosh_test_data): New variable.
45309         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
45310         (asin_test_data): New variable.
45311         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
45312         (asin_tonearest_test_data): New variable.
45313         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45314         (asin_towardzero_test_data): New variable.
45315         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45316         (asin_downward_test_data): New variable.
45317         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45318         (asin_upward_test_data): New variable.
45319         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45320         (asinh_test_data): New variable.
45321         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
45322         (atan_test_data): New variable.
45323         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
45324         (atanh_test_data): New variable.
45325         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
45326         (cbrt_test_data): New variable.
45327         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
45328         (ceil_test_data): New variable.
45329         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
45330         (cos_test_data): New variable.
45331         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
45332         (cos_tonearest_test_data): New variable.
45333         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45334         (cos_towardzero_test_data): New variable.
45335         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45336         (cos_downward_test_data): New variable.
45337         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45338         (cos_upward_test_data): New variable.
45339         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45340         (cosh_test_data): New variable.
45341         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
45342         (cosh_tonearest_test_data): New variable.
45343         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45344         (cosh_towardzero_test_data): New variable.
45345         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45346         (cosh_downward_test_data): New variable.
45347         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45348         (cosh_upward_test_data): New variable.
45349         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45350         (erf_test_data): New variable.
45351         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
45352         (erfc_test_data): New variable.
45353         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
45354         (exp_test_data): New variable.
45355         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
45356         (exp_tonearest_test_data): New variable.
45357         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45358         (exp_towardzero_test_data): New variable.
45359         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45360         (exp_downward_test_data): New variable.
45361         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45362         (exp_upward_test_data): New variable.
45363         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45364         (exp10_test_data): New variable.
45365         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
45366         (exp2_test_data): New variable.
45367         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
45368         (expm1_test_data): New variable.
45369         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
45370         (fabs_test_data): New variable.
45371         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
45372         (floor_test_data): New variable.
45373         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
45374         (j0_test_data): New variable.
45375         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
45376         (j1_test_data): New variable.
45377         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
45378         (log_test_data): New variable.
45379         (log_test): Run tests with RUN_TEST_LOOP_f_f.
45380         (log10_test_data): New variable.
45381         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
45382         (log1p_test_data): New variable.
45383         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
45384         (log2_test_data): New variable.
45385         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
45386         (logb_test_data): New variable.
45387         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
45388         (logb_downward_test_data): New variable.
45389         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45390         (nearbyint_test_data): New variable.
45391         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
45392         (rint_test_data): New variable.
45393         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
45394         (rint_tonearest_test_data): New variable.
45395         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45396         (rint_towardzero_test_data): New variable.
45397         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45398         (rint_downward_test_data): New variable.
45399         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45400         (rint_upward_test_data): New variable.
45401         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45402         (round_test_data): New variable.
45403         (round_test): Run tests with RUN_TEST_LOOP_f_f.
45404         (sin_test_data): New variable.
45405         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
45406         (sin_tonearest_test_data): New variable.
45407         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45408         (sin_towardzero_test_data): New variable.
45409         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45410         (sin_downward_test_data): New variable.
45411         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45412         (sin_upward_test_data): New variable.
45413         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45414         (sinh_test_data): New variable.
45415         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
45416         (sinh_tonearest_test_data): New variable.
45417         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45418         (sinh_towardzero_test_data): New variable.
45419         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45420         (sinh_downward_test_data): New variable.
45421         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45422         (sinh_upward_test_data): New variable.
45423         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45424         (sqrt_test_data): New variable.
45425         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
45426         (tan_test_data): New variable.
45427         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
45428         (tan_tonearest_test_data): New variable.
45429         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45430         (tan_towardzero_test_data): New variable.
45431         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45432         (tan_downward_test_data): New variable.
45433         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45434         (tan_upward_test_data): New variable.
45435         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45436         (tanh_test_data): New variable.
45437         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
45438         (tgamma_test_data): New variable.
45439         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
45440         (trunc_test_data): New variable.
45441         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
45442         (y0_test_data): New variable.
45443         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
45444         (y1_test_data): New variable.
45445         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
45446         (significand_test_data): New variable.
45447         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
45449 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
45451         [BZ #12387]
45452         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
45454 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45456         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
45458 2013-05-10  Andreas Jaeger  <aj@suse.de>
45460         [BZ #15448]
45461         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
45462         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
45464 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45466         * math/gen-libm-test.pl (adjust_arg): New function.
45467         (special_functions): Handle generating output in both functions
45468         and arrays.
45469         (parse_args): Likewise.
45470         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
45471         $in_func argument to parse_args.
45472         * math/libm-test.inc (struct test_f_f_data): New type.
45473         (IF_ROUND_INIT_): New macro.
45474         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
45475         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45476         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45477         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45478         (ROUND_RESTORE_): Likewise.
45479         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
45480         (ROUND_RESTORE_FE_TONEAREST): Likewise.
45481         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
45482         (ROUND_RESTORE_FE_UPWARD): Likewise.
45483         (RUN_TEST_LOOP_f_f): New macro.
45484         (acos_test_data): New variable.
45485         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
45486         (acos_tonearest_test_data): New variable.
45487         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45489 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45491         * benchtests/bench-skeleton.c (startup): Fix coding style.
45493 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45495         [BZ #6809]
45496         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
45497         negative infinity argument.
45498         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
45499         negative infinity argument.
45500         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
45501         negative infinity argument.
45502         * math/libm-test.inc (tgamma_test): Expect errno to be set for
45503         domain errors.
45505 2013-05-10  Florian Weimer  <fweimer@redhat.com>
45507         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45508         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
45509         * iconv/iconv_prog.c (main): Likewise.
45510         * locale/programs/charmap-dir.c (charmap_readdir)
45511         (fopen_uncompressed): Likewise.
45512         * locale/programs/locfile.c (siblings_uncached)
45513         (write_locale_data): Use lstat64 instead of lstat.
45514         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
45515         stat.
45517 2013-05-10  Andreas Jaeger  <aj@suse.de>
45519         [BZ #15395]
45520         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
45521         localization.
45522         Include <locale.h>.
45524 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
45526         * elf/dl-close.c (_dl_close_worker): Add comments.
45528 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
45530         [BZ #15359]
45531         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
45532         high part of pi/2.
45533         (__ieee754_rem_pio2l): Update comments.
45535         [BZ #15429]
45536         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
45537         high part of pi/2.
45538         (__ieee754_rem_pio2l): Update comments.
45540         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
45541         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
45543         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
45544         M_PI_4l.
45546         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
45547         (M_PI_34_LOG10El): Likewise.
45548         (M_PI2_LOG10El): Likewise.
45549         (M_PI4_LOG10El): Likewise.
45550         (M_PI_LOG10El): Likewise.
45552 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45556 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
45558         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
45559         (MINUS_ZERO_INIT): Likewise.
45560         (PLUS_INFTY_INIT): Likewise.
45561         (MINUS_INFTY_INIT): Likewise.
45562         (QNAN_VALUE_INIT): Likewise.
45563         (MAX_VALUE_INIT): Likewise.
45564         (MIN_VALUE_INIT): Likewise.
45565         (MIN_SUBNORM_VALUE_INIT): Likewise.
45566         (plus_zero): Initialize with PLUS_ZERO_INIT.
45567         (minus_zero): Initialize with MINUS_ZERO_INIT.
45568         (plus_infty): Initialize with PLUS_INFTY_INIT.
45569         (minus_infty): Initialize with MINUS_INFTY_INIT.
45570         (qnan_value): Initialize with QNAN_VALUE_INIT.
45571         (max_value): Initialize with MAX_VALUE_INIT.
45572         (min_value): Initialize with MIN_VALUE_INIT.
45573         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
45575         * math/libm-test.inc (RUN_TEST_if_f): New macro.
45576         (jn_test): Use TEST_if_f instead of TEST_ff_f.
45577         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
45578         (yn_test): Use TEST_if_f instead of TEST_ff_f.
45580         * math/libm-test.inc (RUN_TEST_f_f): New macro.
45581         (RUN_TEST_2_f): Likewise.
45582         (RUN_TEST_ff_f): Likewise.
45583         (RUN_TEST_fi_f): Likewise.
45584         (RUN_TEST_fl_f): Likewise.
45585         (RUN_TEST_fff_f): Likewise.
45586         (RUN_TEST_c_f): Likewise.
45587         (RUN_TEST_f_f1): Likewise.
45588         (RUN_TEST_fF_f1): Likewise.
45589         (RUN_TEST_fI_f1): Likewise.
45590         (RUN_TEST_ffI_f1): Likewise.
45591         (RUN_TEST_c_c): Likewise.
45592         (RUN_TEST_cc_c): Likewise.
45593         (RUN_TEST_f_i): Likewise.
45594         (RUN_TEST_f_i_tg): Likewise.
45595         (RUN_TEST_ff_i_tg): Likewise.
45596         (RUN_TEST_f_b): Likewise.
45597         (RUN_TEST_f_b_tg): Likewise.
45598         (RUN_TEST_f_l): Likewise.
45599         (RUN_TEST_f_L): Likewise.
45600         (RUN_TEST_sincos): Likewise.
45601         * math/gen-libm-test.pl (new_test): Take new argument to indicate
45602         whether to show exceptions.  Do not include ");\n" in return
45603         value.
45604         (special_functions): Output call to RUN_TEST_sincos instead of
45605         check_float calls.  Update calls to new_test.
45606         (parse_args): Output call to single RUN_TEST_* macro instead of
45607         check_* calls and other assignments.  Update calls to new_test.
45609         [BZ #2546]
45610         [BZ #2560]
45611         [BZ #5159]
45612         [BZ #15426]
45613         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
45614         input to result for tgamma overflow.
45615         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
45616         (gamma_coeff): New variable.
45617         (NCOEFF): New macro.
45618         (gamma_positive): New function.
45619         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45620         underflow here.  Use gamma_positive instead of exp (lgamma) for
45621         other arguments.
45622         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45623         (gamma_coeff): New variable.
45624         (NCOEFF): New macro.
45625         (gammaf_positive): New function.
45626         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45627         underflow here.  Use gamma_positive instead of exp (lgamma) for
45628         other arguments.
45629         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45630         (gamma_coeff): New variable.
45631         (NCOEFF): New macro.
45632         (gammal_positive): New function.
45633         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45634         underflow here.  Use gamma_positive instead of exp (lgamma) for
45635         other arguments.
45636         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45637         (gamma_coeff): New variable.
45638         (NCOEFF): New macro.
45639         (gammal_positive): New function.
45640         (__ieee754_gammal_r): Handle positive infinity, overflow and
45641         underflow here.  Handle NaN the same as positive infinity.  Remove
45642         check x < 0xffffffff for negative integers.  Use gamma_positive
45643         instead of exp (lgamma) for other arguments.
45644         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45645         (gamma_coeff): New variable.
45646         (NCOEFF): New macro.
45647         (gammal_positive): New function.
45648         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45649         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45650         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45651         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45652         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45653         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45654         * sysdeps/generic/math_private.h (__gamma_productf): New
45655         prototype.
45656         (__gamma_product): Likewise.
45657         (__gamma_productl): Likewise.
45658         * math/Makefile (libm-calls): Add gamma_product.
45659         * math/libm-test.inc (tgamma_test): Add more tests.
45660         * sysdeps/i386/fpu/libm-test-ulps: Update.
45661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45663 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
45665         * benchtests/bench-skeleton.c (main): Preheat CPU.
45667 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
45669         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
45671 2013-05-07  Roland McGrath  <roland@hack.frob.com>
45673         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
45674         and _dl_skip_args_internal.
45676 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
45678         * manual/message.texi (Message Translation): Talk about users.
45679         Message to key mapping impacts design.
45681 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45683         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
45685         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
45687         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
45688         * sysdeps/wordsize-64/glob64.c: ... here.
45690         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
45691         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
45692         New macros.
45694         * debug/getlogin_r_chk.c: Moved to ...
45695         * login/getlogin_r_chk.c: ... here.
45696         * debug/Makefile (routines): Move getlogin_r_chk to ...
45697         * login/Makefile (routines): ... here.
45698         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
45699         * login/Versions (libc: GLIBC_2.4): ... here.
45701         * io/poll.c (__poll): Renamed from poll.
45702         Add libc_hidden_def.
45703         (poll): Define as weak alias.
45705         * debug/ptsname_r_chk.c: Moved to ...
45706         * login/ptsname_r_chk.c: ... here.
45707         * debug/Makefile (routines): Move ptsname_r_chk to ...
45708         * login/Makefile (routines): ... here.
45709         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45710         * login/Versions (libc: GLIBC_2.4): ... here.
45712         * posix/getlogin.c: Moved to ...
45713         * login/getlogin.c: ... here.
45714         * posix/getlogin_r.c: Moved to ...
45715         * login/getlogin_r.c: ... here.
45716         * posix/getlogin_r.c: Moved to ...
45717         * login/getlogin_r.c: ... here.
45718         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45719         * login/Makefile (routines): ... here.
45720         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45721         * login/Versions (libc: GLIBC_2.0): ... here.
45723         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45724         (setrlimit): Define as weak alias.
45726         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45727         Call __ names for open, ftruncate, and close.
45728         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45729         (truncate): Define as weak alias.
45731 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
45733         * math/gen-libm-test.pl (parse_args): Initialize x before each
45734         test of frexp, modf and remquo.
45736         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45737         test signgam value.
45739 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45741         [BZ #15418]
45742         [BZ #15419]
45743         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45744         internal tests.
45745         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45747 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45749         * elf/dl-writev.h: New file.
45750         * elf/dl-misc.c: Include it.
45751         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45752         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45754 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45756         * math/libm-test.inc (noXFails): Remove variable.
45757         (noXPasses): Likewise.
45758         (BUILD_COMPLEX_INT): Remove macro.
45759         (print_screen): Remove xfail argument.
45760         (print_screen_max_error): Likewise.
45761         (update_stats): Likewise.
45762         (print_max_error): Likewise.  Update calls to other affected
45763         functions.
45764         (print_complex_max_error): Likewise.
45765         (test_single_exception): Update calls to print_screen.
45766         (test_single_errno): Likewise.
45767         (check_float_internal): Remove xfail argument.  Update calls to
45768         other affected functions.
45769         (check_float): Likewise.
45770         (check_complex): Likewise.
45771         (check_int): Likewise.
45772         (check_long): Likewise.
45773         (check_bool): Likewise.
45774         (check_longlong): Likewise.
45775         (main): Don't print noXFails and noXPasses.
45776         * math/gen-libm-test.pl (top level): Don't mention expected
45777         failure handling in comment.
45778         (new_test): Don't handle expected failures.
45779         (parse_args): Don't mention expected failure handling in comment.
45780         (generate_testfile): Don't handle expected failures.
45781         (parse_ulps): Likewise.
45782         (print_ulps_file): Likewise.
45783         (get_failure): Remove function.
45784         (output_test): Don't handle expected failures.
45785         * make/README.libm-test: Don't mention expected failure handling.
45787         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45788         (minus_zero): Likewise.
45789         (plus_infty): Likewise.
45790         (minus_infty): Likewise.
45791         (qnan_value): Likewise.
45792         (max_value): Likewise.
45793         (min_value): Likewise.
45794         (min_subnorm_value): Likewise.
45795         (initialize): Do not initialize those variables dynamically.
45797 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45799         * io/open.c (__open_2): Moved to ...
45800         * io/open_2.c: ... this new file.
45801         * io/open64.c (__open64_2): Moved to ...
45802         * io/open64_2.c: ... this new file.
45803         * io/openat.c (__openat_2): Moved to ...
45804         * io/openat_2.c: ... this new file.
45805         * io/openat64.c (__openat64_2): Moved to ...
45806         * io/openat64_2.c: ... this new file.
45807         * io/Makefile (routines): Add them.
45808         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45809         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45810         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45811         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45812         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45813         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45814         (__openat64): Add hidden_ver.
45815         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45816         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45818         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45819         Separately conditionalize setting of GLRO(dl_sysinfo) so
45820         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45821         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45823 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45825         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45826         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45827         definition.
45828         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45829         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45830         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45831         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45832         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45834 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45836         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45837         test signgam value.
45839         * math/libm-test.inc (hypot_test): Do not use
45840         IGNORE_ZERO_INF_SIGN.
45842 2013-05-03  Andreas Jaeger  <aj@suse.de>
45844         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45845         Linux 3.9.
45846         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45847         (PF_MAX): Adjust for VSOCK change.
45849 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45853 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45855         [BZ #15264]
45856         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45857         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45858         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45860 2013-05-02  David S. Miller  <davem@davemloft.net>
45862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45864 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45866         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45868 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45870         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45872 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45874         [BZ #14952]
45875         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45876         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45877         Use __attribute__ ((__gnu_inline__)).
45878         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45879         Don't use __attribute__ ((__gnu_inline__)).
45881 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45883         [BZ #15423]
45884         * math/s_catan.c (__catan): Handle small real or imaginary part of
45885         input specially to avoid spurious underflow.
45886         * math/s_catanf.c (__catanf): Likewise.
45887         * math/s_catanh.c (__catanh): Likewise.
45888         * math/s_catanhf.c (__catanhf): Likewise.
45889         * math/s_catanhl.c (__catanhl): Likewise.
45890         * math/s_catanl.c (__catanl): Likewise.
45891         * math/libm-test.inc (catan_test): Add more tests.
45892         (catanh_test): Likewise.
45893         * sysdeps/i386/fpu/libm-test-ulps: Update.
45894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45896 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45900 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45902         [BZ #15416]
45903         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45904         accurately for denominator in atan2.
45905         * math/s_catanf.c (__catanf): Likewise.
45906         * math/s_catanh.c (__catanh): Likewise.
45907         * math/s_catanhf.c (__catanhf): Likewise.
45908         * math/s_catanhl.c (__catanhl): Likewise.
45909         * math/s_catanl.c (__catanl): Likewise.
45910         * math/libm-test.inc (catan_test): Add more tests.
45911         (catanh_test): Likewise.
45912         * sysdeps/i386/fpu/libm-test-ulps: Update.
45913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45915 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45917         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45919         * benchtests/Makefile (bench): Remove slow benchmarks.
45920         * benchtests/atan-inputs: Add slow benchmark inputs.
45921         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45922         (BENCH_FUNC): Accept variant offset.
45923         (VARIANT): Define.
45924         * benchtests/bench-skeleton.c (main): Run benchmark for each
45925         variant.
45926         * benchtests/cos-inputs: Add slow benchmark inputs.
45927         * benchtests/exp-inputs: Likewise.
45928         * benchtests/pow-inputs: Likewise.
45929         * benchtests/sin-inputs: Likewise.
45930         * benchtests/slowatan-inputs: Remove.
45931         * benchtests/slowatan.c: Remove.
45932         * benchtests/slowcos-inputs: Remove.
45933         * benchtests/slowcos.c: Remove.
45934         * benchtests/slowexp-inputs: Remove.
45935         * benchtests/slowexp.c: Remove.
45936         * benchtests/slowpow-inputs: Remove.
45937         * benchtests/slowpow.c: Remove.
45938         * benchtests/slowsin-inputs: Remove.
45939         * benchtests/slowsin.c: Remove.
45940         * benchtests/slowtan-inputs: Remove.
45941         * benchtests/slowtan.c: Remove.
45942         * benchtests/tan-inputs: Add slow benchmark inputs.
45943         * scripts/bench.pl: Parse comments and directives.
45945         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45946         in CPPFLAGS.
45947         ($(objpfx)bench-%.c): Remove *-ITER.
45948         * benchtests/bench-modf.c: Remove definition of ITER.
45949         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45950         (main): Loop for DURATION seconds instead of fixed number of
45951         iterations.
45952         * scripts/bench.pl: Don't expect iterations in parameters.
45954 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45956         * io/fchdir.c (__fchdir): Renamed from fchdir.
45957         (fchdir): Define as weak alias.
45959 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45961         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45962         (ERRNO_EDOM): Likewise.
45963         (ERRNO_ERANGE): Likewise.
45964         (noErrnoTests): New variable.
45965         (init_max_error): Set errno to 0.
45966         (test_single_errno): New function.
45967         (test_errno): Likewise.
45968         (check_float_internal): Call test_errno.  Set errno to 0.
45969         (check_complex): Refer to errno tests in comment.
45970         (check_int): Call test_errno.  Set errno to 0.
45971         (check_long): Likewise.
45972         (check_bool): Likewise.
45973         (check_longlong): Likewise.
45974         (cos_test): Use ERRNO_* flags for errno tests instead of
45975         check_int.
45976         (expm1_test): Likewise.
45977         (fmod_test): Likewise.
45978         (ilogb_test): Likewise.
45979         (lgamma_test): Likewise.
45980         (pow_test): Likewise.
45981         (remainder_test): Likewise.
45982         (sin_test): Likewise.
45983         (tan_test): Likewise.
45984         (yn_test): Likewise.
45985         (initialize): Set errno to 0.
45986         (main): Print number of errno tests.
45987         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45989 2013-04-29  Andreas Jaeger  <aj@suse.de>
45991         [BZ #15084]
45992         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45993         and RES_USEVC.
45995         [BZ #15085]
45996         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45997         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45998         unimplemented.
46000         [BZ #15380]
46001         * stdlib/random.c (__initstate): Return NULL if
46002         __initstate fails.
46004         [BZ #15086]
46005         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46006         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46007         RES_SNGLKUPREOP.
46009 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46013 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46015         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46016         of individual tests.
46017         (casin_test): Likewise.
46018         (casinh_test): Likewise.
46020 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46022         [BZ #15409]
46023         * math/s_catan.c (__catan): Handle arguments with large real or
46024         imaginary part separately without squaring.
46025         * math/s_catanf.c (__catanf): Likewise.
46026         * math/s_catanh.c (__catanh): Likewise.
46027         * math/s_catanhf.c (__catanhf): Likewise.
46028         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46029         and redefine.
46030         (__catanhl): Handle arguments with large real or imaginary part
46031         separately without squaring.
46032         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46033         and redefine.
46034         (__catanl): Handle arguments with large real or imaginary part
46035         separately without squaring.
46036         * math/libm-test.inc (catan_test): Add more tests.
46037         (catanh_test): Likewise.
46038         * sysdeps/i386/fpu/libm-test-ulps: Update.
46039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46041 2013-04-27  Andreas Jaeger  <aj@suse.de>
46043         [BZ #15007]
46044         * stdlib/stdlib.h: Update guards for qecvt.
46045         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46046         <stdlib.h>.
46048 2013-04-27  Allan McRae  <allan@archlinux.org>
46050         * sysdeps/i386/fpu/libm-test-ulps: Update.
46052 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46054         [BZ #15406]
46055         * math/s_catan.c: Include <float.h>.
46056         (__catan): Ensure underflow exception occurs for underflowed
46057         result.
46058         * math/s_catanf.c: Include <float.h>.
46059         (__catanf): Ensure underflow exception occurs for underflowed
46060         result.
46061         * math/s_catanh.c: Include <float.h>.
46062         (__catanh): Ensure underflow exception occurs for underflowed
46063         result.
46064         * math/s_catanhf.c: Include <float.h>.
46065         (__catanhf): Ensure underflow exception occurs for underflowed
46066         result.
46067         * math/s_catanhl.c: Include <float.h>.
46068         (__catanhl): Ensure underflow exception occurs for underflowed
46069         result.
46070         * math/s_catanl.c: Include <float.h>.
46071         (__catanl): Ensure underflow exception occurs for underflowed
46072         result.
46073         * math/libm-test.inc (catan_test): Add more tests.
46074         (catanh_test): Likewise.
46076         [BZ #15405]
46077         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46078         underflowed result.
46079         * math/s_ccoshf.c (__ccoshf): Likewise.
46080         * math/s_ccoshl.c (__ccoshl): Likewise.
46081         * math/s_csin.c (__csin): Likewise.
46082         * math/s_csinf.c (__csinf): Likewise.
46083         * math/s_csinh.c (__csinh): Likewise.
46084         * math/s_csinhf.c (__csinhf): Likewise.
46085         * math/s_csinhl.c (__csinhl): Likewise.
46086         * math/s_csinl.c (__csinl): Likewise.
46087         * math/libm-test.inc (ccos_test): Add more tests.
46088         (ccosh_test): Likewise.
46089         (csin_test): Likewise.
46090         (csinh_test): Likewise.
46092 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46094         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46095         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46096         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46097         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46098         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46099         powerpc/power5+/fpu folders.
46100         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46103 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46107 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
46109         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46110         additions to variable.
46111         [$(config-machine) = x86_64] (modules-names): Likewise.
46112         ($(objpfx)tst-audit3): Remove dependency.
46113         ($(objpfx)tst-audit3.out): Likewise.
46114         ($(objpfx)tst-audit4): Likewise.
46115         ($(objpfx)tst-audit4.out): Likewise.
46116         ($(objpfx)tst-audit5): Likewise.
46117         ($(objpfx)tst-audit5.out): Likewise.
46118         ($(objpfx)tst-audit6): Likewise.
46119         ($(objpfx)tst-audit6.out): Likewise.
46120         ($(objpfx)tst-audit7): Likewise.
46121         ($(objpfx)tst-audit7.out): Likewise.
46122         (tst-audit3-ENV): Remove variable.
46123         (tst-audit4-ENV): Likewise.
46124         (tst-audit5-ENV): Likewise.
46125         (tst-audit6-ENV): Likewise.
46126         (tst-audit7-ENV): Likewise.
46127         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46128         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46129         addition to variable.
46130         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
46131         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
46132         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
46133         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
46134         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
46135         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
46136         tst-audit3, tst-audit4 and tst-audit5.
46137         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
46138         tst-audit6 and tst-audit7.
46139         [$(subdir) = elf] (modules-names): Add audit modules for those
46140         tests.
46141         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
46142         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
46143         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
46144         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
46145         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
46146         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
46147         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
46148         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
46149         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
46150         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
46151         [$(subdir) = elf] (tst-audit3-ENV): New variable.
46152         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
46153         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
46154         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
46155         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
46156         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
46157         Likewise.
46158         [$(subdir) = elf && $(config-cflags-avx) = yes]
46159         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
46160         [$(subdir) = elf && $(config-cflags-avx) = yes]
46161         (CFLAGS-tst-auditmod4a.c): Likewise.
46162         [$(subdir) = elf && $(config-cflags-avx) = yes]
46163         (CFLAGS-tst-auditmod4b.c): Likewise.
46164         [$(subdir) = elf && $(config-cflags-avx) = yes]
46165         (CFLAGS-tst-auditmod6b.c): Likewise.
46166         [$(subdir) = elf && $(config-cflags-avx) = yes]
46167         (CFLAGS-tst-auditmod6c.c): Likewise.
46168         [$(subdir) = elf && $(config-cflags-avx) = yes]
46169         (CFLAGS-tst-auditmod7b.c): Likewise.
46170         * elf/tst-audit3.c: Move to ...
46171         * sysdeps/x86_64/tst-audit3.c: ... here.
46172         * elf/tst-audit4.c: Move to ...
46173         * sysdeps/x86_64/tst-audit4.c: ... here.
46174         * elf/tst-audit5.c: Move to ...
46175         * sysdeps/x86_64/tst-audit5.c: ... here.
46176         * elf/tst-audit6.c: Move to ...
46177         * sysdeps/x86_64/tst-audit6.c: ... here.
46178         * elf/tst-audit7.c: Move to ...
46179         * sysdeps/x86_64/tst-audit7.c: ... here.
46180         * elf/tst-auditmod3a.c: Move to ...
46181         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
46182         * elf/tst-auditmod3b.c: Move to ...
46183         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
46184         * elf/tst-auditmod4a.c: Move to ...
46185         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
46186         * elf/tst-auditmod4b.c: Move to ...
46187         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
46188         * elf/tst-auditmod5a.c: Move to ...
46189         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
46190         * elf/tst-auditmod5b.c: Move to ...
46191         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
46192         * elf/tst-auditmod6a.c: Move to ...
46193         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
46194         * elf/tst-auditmod6b.c: Move to ...
46195         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
46196         * elf/tst-auditmod6c.c: Move to ...
46197         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
46198         * elf/tst-auditmod7a.c: Move to ...
46199         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
46200         * elf/tst-auditmod7b.c: Move to ...
46201         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
46203 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
46205         [BZ #15366]
46206         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
46207         define unconditionally.
46208         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
46209         define unconditionally.
46210         (INT8_C, INT16_C, etc.): Likewise.
46212 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
46214         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
46215         __ehdr_start with hidden visibility.
46217         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
46219 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
46221         * math/libm-test.inc (cos_test): Use accurate hex constants.
46222         (sincost_test): Likewise.
46224 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
46226         * math/libm-test.inc (catan_test): Add more tests.
46227         (catanh_test): Likewise.
46229         * math/s_catanf.c (__catanf): Use suffixed floating-point
46230         constants.
46231         * math/s_catanhf.c (__catanhf): Likewise.
46232         * math/s_catanhl.c (__catanhl): Likewise.
46233         * math/s_catanl.c (__catanl): Likewise.
46235         [BZ #15394]
46236         * math/s_catan.c (__catan): Calculate imaginary part of result
46237         with log1p not log unless computing log of number close to 0.
46238         * math/s_catanf.c (__catanf): Likewise.
46239         * math/s_catanl.c (__catanl): Likewise.
46240         * math/s_catanh.c (__catanh): Calculate real part of result with
46241         log1p not log unless computing log of number close to 0.
46242         * math/s_catanhf.c (__catanhf): Likewise.
46243         * math/s_catanhl.c (__catanhl): Likewise.
46244         * math/libm-test.inc (catan_test): Add more tests.
46245         (catanh_test): Likewise.
46246         * sysdeps/i386/fpu/libm-test-ulps: Update.
46247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46249 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46251         * benchtests/Makefile: Mention files in which fast and slow
46252         paths of math functions are implemented.
46254 2013-04-23  Roland McGrath  <roland@hack.frob.com>
46256         * sysdeps/posix/timespec_get.c: New file.
46258 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46260         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
46261         POWER.
46262         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
46263         for POWER.
46264         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
46265         powerpc/power5/fpu folders.
46266         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
46267         * benchtests/Makefile: Add modf testcase.
46268         * benchtests/bench-modf.c: New file: Benchmark test for mo
46270 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46272         [BZ #14888]
46273         * time/Makefile (tests): Add tst-strptime-whitespace.
46274         * time/strptime_l.c (get_number): Use ISSPACE.
46275         (__strptime_internal): Likewise.
46276         * time/tst-strptime-whitespace.c: New test case.
46278 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
46280         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
46281         member.
46282         (_nss_files_init): Set it here.
46284 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
46286         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
46287         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
46288         unsigned.
46290 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
46292         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
46294 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46296         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
46297         size just once.
46299 2013-04-21  David S. Miller  <davem@davemloft.net>
46301         * po/ru.po: Update Russion translation from translation project.
46303 2013-04-17  Adam Conrad  <adconrad@0c3.net>
46305         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
46306         and setfsgid.
46308 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
46310         * configure.in: Remove i386 configure warning. Remove i386 case.
46311         * configure: Regenerate.
46312         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
46313         Add example to error message.
46314         * sysdeps/i386/configure: Regenerate.
46316 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46318         * benchtests/Makefile (bench): Add cos, tan, slowcos and
46319         slowtan.
46320         * benchtests/cos-inputs: New file.
46321         * benchtests/slowcos-inputs: New file.
46322         * benchtests/slowcos.c: New file.
46323         * benchtests/slowtan-inputs: New file.
46324         * benchtests/slowtan.c: New file.
46325         * benchtests/tan-inputs: New file.
46327 2013-04-16  Roland McGrath  <roland@hack.frob.com>
46329         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
46330         considered kosher.
46332 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46334         * benchtests/Makefile: Include cppflags-iterator.mk to add
46335         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
46337         * Makefile.in (bench-clean): New target.
46338         * benchtests/Makefile (bench-clean): Likewise.
46340 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
46342         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
46344 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
46346         * stdio-common/tstdiomisc.c: Fix coding-style violation.
46348 2013-04-15  Andreas Schwab  <schwab@suse.de>
46350         * nscd/grpcache.c (cache_addgr): Properly check for short write.
46351         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46352         * nscd/pwdcache.c (cache_addpw): Likewise.
46353         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
46354         more than recsize.
46356 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46358         * benchtests/Makefile (bench): Write all output to
46359         bench-out.tmp together.
46361 2013-04-15  Andreas Schwab  <schwab@suse.de>
46363         * nscd/nscd.c (main): Don't fork again after closing files.
46365 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46367         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
46369         * benchtests/Rules (bench-deps): Collect dependencies into a
46370         single variable.  Add Makefile to dependencies.
46371         ($(objpfx)bench-%.c): Depend on bench-deps.
46373 2013-04-12  Roland McGrath  <roland@hack.frob.com>
46374             Xavier Roche  <roche+kml2@exalead.com>
46376         [BZ #15361]
46377         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
46378         just that it's a file descriptor.
46379         * manual/llio.texi (Synchronizing AIO Operations): Update description
46380         for EBADF error from aio_fsync.
46382 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46384         * Rules (bench): Move target definition...
46385         * benchtests/Makefile: ... here.
46387 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
46389         * math/libm-test.inc (cos_test): Fix PI/2 test.
46390         (sincos_test): Likewise.
46391         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46392         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
46394 2013-04-11  Andreas Schwab  <schwab@suse.de>
46396         [BZ #13988]
46397         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
46398         accept exponent character only when digits were seen.
46399         * stdio-common/Makefile (tests): Add bug26.
46400         * stdio-common/bug26.c: New file.
46402         [BZ #14293]
46403         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
46404         non-freeable.
46406 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46408         * Makeconfig (rtld-prefix): Define built linker prefix.
46409         * Rules (run-bench): Use it.
46410         * math/Makefile (run-regen-ulps): Likewise.
46412         * Rules (bench): Remove eval.
46414 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46415             Roland McGrath  <roland@hack.frob.com>
46416             Ondrej Bilka  <neleai@seznam.cz>
46418         [BZ #15346]
46419         * time/getdate.c: Include ctype.h and alloca.h.
46420         (__getdate_r): Trim leading and trailing spaces of input.
46421         * time/tst-getdate.c (tests): Add tests with leading and
46422         trailing spaces.
46424 2013-04-08  Roland McGrath  <roland@hack.frob.com>
46426         [BZ #14280]
46427         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
46428         when computing value.
46430 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46432         * math/README.libm-test (How can I generate "libm-test-ulps"?):
46433         Use testrun.sh to run libm tests.
46435         [BZ #15309]
46436         * elf/dl-open.c (dl_open_worker): memset all of seen array.
46438 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
46440         [BZ #15264]
46441         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
46443 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46445         * Makefile.in (regen-ulps): New target.
46446         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
46447         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
46448         [ifneq (no,$(PERL)] (regen-ulps): New target.
46449         [ifeq (no,$(PERL)] (regen-ulps): New target.
46450         * math/libm-test.inc (ulps_file_name): Define.
46451         (output_dir): New variable.
46452         (options): Add "output-dir" option.
46453         (parse_opt): Handle 'o' case.
46454         (main): If output_dir is non-NULL use it as a prefix
46455         otherwise use "".
46456         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
46458 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46460         [BZ #10060, #10062]
46461         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
46462         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
46463         fail configure if __sync_val_compare_and_swap is not inlined.
46464         * sysdeps/i386/configure: Regenerate.
46465         * configure.in: Build for i686 when configured for i386.
46466         * configure: Regenerate.
46467         * README: Remove i386 reference.
46469 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46471         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
46472         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46474 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46476         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
46477         (lmsnanval): New variables.
46478         (F): Add conversion tests.
46479         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
46480         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
46482         * stdio-common/tstdiomisc.c (F): Properly collect individual
46483         tests' results.
46485         [BZ #14686, #15336]
46486         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
46487         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
46488         Instead, use input NaN values or generate a qNaN by arithmetic
46489         operation.  Also fix bugs to comply with the standard.
46490         * math/libm-test.inc (remainder_test): Add more tests.
46492         [BZ #15335, #15342]
46493         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
46494         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
46495         input NaN values or generate a qNaN by arithmetic operation.
46497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
46498         unreachable code.
46500         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
46501         definitions.
46503 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
46505         [BZ #14478]
46506         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
46507         underflowed result.
46508         * math/s_cexpf.c (__cexpf): Likewise.
46509         * math/s_cexpl.c (__cexpl): Likewise.
46510         * math/libm-test.inc (cexp_test): Add more tests.
46512 2013-04-03  Andreas Schwab  <schwab@suse.de>
46514         [BZ #15330]
46515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
46516         order arrays from heap if bigger than alloca cutoff.
46518 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
46520         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
46521         (SNAN_TESTS_double): Refer to GCC PR56831.
46522         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
46523         GCC PR56828.
46525 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46527         * Rules (bench): Move bench.out after the run is complete.
46529         * Rules (bench): Echo currently running benchmark.
46531         * benchtests/Makefile (bench): Add atan and slowatan.
46532         * benchtests/atan-inputs: New file.
46533         * benchtests/slowatan-inputs: New file.
46534         * benchtests/slowatan.c: New file.
46536         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
46537         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
46538         its value.
46540         [BZ #15305]
46541         * sysdeps/unix/sysv/linux/kernel-features.h
46542         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
46543         __ASSUME_XFS_RESTRICTED_CHOWN.
46544         * sysdeps/unix/sysv/linux/pathconf.c
46545         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46546         Save and restore errno.
46548 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
46550         [BZ #15327]
46551         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
46552         arguments using __kernel_casinh.
46553         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
46554         arguments using __kernel_casinhf.
46555         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
46556         arguments using __kernel_casinhl.
46557         * math/libm-test.inc (cacosh_test): Add more tests.
46558         * sysdeps/i386/fpu/libm-test-ulps: Update.
46559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46561 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46563         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
46564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
46566         * bench/Makefile (bench): Add sin and slowsin.
46567         * benchtests/sin-inputs: New file.
46568         * benchtests/slowsin-inputs: New file.
46569         * benchtests/slowsin.c: New file.
46571         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
46572         (bench): Add slowexp and slowpow.
46573         (exp-ITER): Increase iterations.
46574         (pow-ITER): Likewise.
46575         * benchtests/exp-inputs: Change input.
46576         * benchtests/pow-inputs: Likewise.
46577         * benchtests/slowexp-inputs: New file.
46578         * benchtests/slowexp.c: New file.
46579         * benchtests/slowpow-inputs: New file.
46580         * benchtests/slowpow.c: New file.
46582 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46584         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
46585         instructions.
46586         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46587         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
46588         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46589         * benchtests/Makefile: Add rint benchtest.
46590         * benchtests/rint-inputs: Input for rint benchtest.
46592 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46594         * Versions.def (libm): Add GLIBC_2.18.
46595         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
46596         hidden libm prototypes.
46597         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
46598         * math/Makefile (libm-calls): Add s_issignaling.
46599         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
46600         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
46601         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
46602         declaration.
46603         * math/math.h [__USE_GNU] (issignaling): New macro.
46604         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
46605         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46606         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
46607         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
46608         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
46609         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
46610         * manual/arith.texi (issignaling): New section.
46611         * manual/libm-err-tab.pl (@all_functions): Update comment.
46612         * math/gen-libm-test.pl (parse_args): Apply special handling for
46613         issignaling.
46614         * math/libm-test.inc (print_float, issignaling_test): New
46615         functions.
46616         (check_float_internal): Add issignaling checks.
46617         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46618         default definition.
46619         * sysdeps/powerpc/math-tests.h: New file.
46620         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46621         tests.
46622         * math/test-snan.c (TEST_FUNC): Likewise.
46624 2013-03-30  David S. Miller  <davem@davemloft.net>
46626         * po/de.po: Update from translation team.
46628 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
46630         [BZ #10357]
46631         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46632         imaginary part less than 1.0 and real part less than 0.5
46633         specially.
46634         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46635         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46636         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46637         (cacos_test): Add more tests.
46638         (casin_test): Likewise.
46639         (casinh_test): Likewise.
46640         * sysdeps/i386/fpu/libm-test-ulps: Update.
46641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46643 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46645         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46646         ONE with its value.
46648         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46649         (__pow_mp): Replace ONE and MONE with their values.
46650         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46651         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46652         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46653         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46654         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46655         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46657         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46659         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46660         (__pow_mp): Replace ZERO and MZERO with their values.
46661         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46663         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46665         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46666         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
46667         (__sqr): Likewise.
46669         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
46671         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46673 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46675         * include/stdlib.h [!SHARED] (__call_tls_dtors):
46676         Declare with __attribute__ ((weak)).
46677         * stdlib/exit.c (__libc_atexit) [!SHARED]:
46678         Call __call_tls_dtors only if it's not NULL.
46680 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46682         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
46683         didn't do it already, then set _dl_phdr and _dl_phnum based on the
46684         magic __ehdr_start linker symbol if it's defined.
46685         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
46686         them up here if it was already done.
46688         * elf/dl-support.c (_dl_phdr): Make pointer to const.
46689         (_dl_aux_init): Use const in cast when setting it.
46690         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
46691         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
46692         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
46694         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
46695         Declare them here.
46696         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
46697         * csu/libc-tls.c: Nor here.
46698         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
46700         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
46701         (__libc_message): Never call vsyslog.
46703 2013-03-28  Alan Modra  <amodra@gmail.com>
46705         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46706         Define as empty.
46707         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46708         Likewise.
46710 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46712         [BZ #15214]
46713         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46714         underflow.
46715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46717 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46719         [BZ #15304]
46720         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46721         Don't add gid passed as argument.
46723         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46725 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
46727         [BZ #15307]
46728         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46729         imaginary part between 1.0 and 1.5 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 (cacos_test): Add more tests.
46734         (casin_test): Likewise.
46735         (casinh_test): Likewise.
46736         * sysdeps/i386/fpu/libm-test-ulps: Update.
46737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46739 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46741         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46742         constants.
46743         (norm): Likewise.
46744         (denorm): Likewise.
46745         (__dbl_mp): Likewise.
46746         (add_magnitudes): Likewise.
46747         (sub_magnitudes): Likewise.
46748         (__add): Likewise.
46749         (__sub): Likewise.
46750         (__mul): Likewise.
46751         (__sqr): Likewise.
46752         (__inv): Likewise.
46753         (__dvd): Likewise.
46755         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46756         commented code.
46757         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46758         (__dubcos): Likewise.
46759         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46760         (__ieee754_acos): Likewise.
46761         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46762         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46763         (__exp1): Likewise.
46764         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46766         (log1): Likewise.
46767         (my_log2): Likewise.
46768         (checkint): Likewise.
46769         * sysdeps/ieee754/dbl-64/e_remainder.c
46770         (__ieee754_remainder): Likewise.
46771         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46772         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46773         (bsloww): Likewise.
46774         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46776         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46777         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46778         MANTISSA_STORE_T to store computations on mantissa.  Use
46779         macros for rounding and division.
46780         (denorm): Likewise.
46781         (__dbl_mp): Likewise.
46782         (add_magnitudes): Likewise.
46783         (sub_magnitudes): Likewise.
46784         (__mul): Likewise.
46785         (__sqr): Likewise.
46786         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46787         powers of two in terms of TWOPOW macro.
46788         (mp_no): Make type of mantissa as MANTISSA_T.
46789         [!RADIXI]: Define RADIXI.
46790         [!TWO52]: Define TWO52.
46791         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46793 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46795         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46796         llroundl symbol when building for PPC32.
46798 2013-03-24  Mark H Weaver  <mhw@netris.org>
46800         * manual/arith.texi (Normalization Functions): Fix prototypes for
46801         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46803 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46805         [BZ #13889]
46806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46807         high value to check if expl overflow.
46808         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46809         to check for underflow and overflow.
46810         * math/libm-test.inc: Add exp test.
46812 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46814         [BZ #11120]
46815         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46816         with NOT_IN_libc.
46818 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46820         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46821         symbol.
46823 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46825         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46826         wrap blocks consisting of several statements.
46828         * sysdeps/generic/math-tests.h: New file.
46829         * sysdeps/i386/fpu/math-tests.h: Likewise.
46830         * math/test-snan.c: Include it.
46831         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46833 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46835         [BZ #15285]
46836         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46837         (__ieee754_j0l): Do not improve calculations using cos of twice
46838         input for inputs above LDBL_MAX / 2.0L.
46839         (__ieee754_y0l): Likewise.
46840         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46841         (__ieee754_j1l): Do not improve calculations using cos of twice
46842         input for inputs above LDBL_MAX / 2.0L.
46843         (__ieee754_y1l): Likewise.
46844         * math/libm-test.inc (j0_test): Add another test.
46845         (j1_test): Likewise.
46846         (y0_test): Likewise.
46847         (y1_test): Likewise.
46848         * sysdeps/i386/fpu/libm-test-ulps: Update.
46850 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46852         * Rules ($(objpfx)bench-%.c): Include code from a C source
46853         file.
46855 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46857         [BZ #15287]
46858         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46859         imaginary part 1.0 and real part less than 0.5 specially.
46860         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46861         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46862         * math/libm-test.inc (cacos_test): Add more tests.
46863         (casin_test): Likewise.
46864         (casinh_test): Likewise.
46865         * sysdeps/i386/fpu/libm-test-ulps: Update.
46866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46868 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46870         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46871         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46873 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46875         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46876         * config.make.in (config-cflags-sse4): Remove variable.
46877         (config-cflags-avx): Likewise.
46878         (config-cflags-sse2avx): Likewise.
46879         (config-cflags-novzeroupper): Likewise.
46880         (config-asflags-i686): Likewise.
46881         (have-mfma4): Likewise.
46882         (have-as-vis3): Likewise.
46883         (MIG): Likewise.
46884         * configure.in (MIG): Do not AC_SUBST.
46885         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46886         (libc_cv_cc_sse4): Do not AC_SUBST.
46887         (libc_cv_cc_avx): Likewise.
46888         (libc_cv_cc_sse2avx): Likewise.
46889         (libc_cv_cc_novzeroupper): Likewise.
46890         (libc_cv_cc_fma4): Likewise.
46891         (libc_cv_as_i686): Likewise.
46892         (libc_cv_sparc_as_vis3): Likewise.
46893         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46894         LIBC_CONFIG_VAR.
46895         (config-asflags-i686): Likewise.
46896         (config-cflags-avx): Likewise.
46897         (config-cflags-sse2avx): Likewise.
46898         (have-mfma4): Likewise.
46899         (config-cflags-novzeroupper): Likewise.
46900         * sysdeps/mach/configure.in (MIG): Likewise.
46901         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46902         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46903         LIBC_CONFIG_VAR.
46904         (config-cflags-avx): Likewise.
46905         (config-cflags-sse2avx): Likewise.
46906         (have-mfma4): Likewise.
46907         (config-cflags-novzeroupper): Likewise.
46908         * configure: Regenerated.
46909         * sysdeps/i386/configure: Likewise.
46910         * sysdeps/mach/configure: Likewise.
46911         * sysdeps/sparc/configure: Likewise.
46912         * sysdeps/x86_64/configure: Likewise.
46914 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46916         [BZ #14812]
46917         * locale/programs/localedef.c (options): Put N_ translation marker
46918         on argument names, not just descriptions.
46920 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46922         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46924 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46926         [BZ #14176]
46927         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46929 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46931         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46932         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46933         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46934         [!BEFORE_ABORT] (before_abort): New function.
46935         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46936         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46937         (writev_for_fatal): New function.
46938         (WRITEV_FOR_FATAL): New macro; call that.
46939         (backtrace_and_maps): New function.
46940         (BEFORE_ABORT): New macro; call that.
46941         (struct str_list): Type removed.
46942         (__libc_message, __libc_fatal): Functions removed.
46943         Include <sysdeps/posix/libc_fatal.c> instead.
46945 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46947         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46948         constants.
46949         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46950         double constants.
46952 2013-03-19  Andreas Schwab  <schwab@suse.de>
46954         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46955         * sysdeps/gnu/configure: Regenerate.
46957         * configure.in: Substitute libc_cv_rtlddir.
46958         * configure: Regenerate.
46959         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46960         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46961         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46962         * elf/Makefile (install-others, CFLAGS-interp.c)
46963         (ldso_install, common-ldd-rewrite): Likewise.
46964         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46965         $(inst_slibdir)/$(rtld-installed-name).
46966         * scripts/rellns-sh: Add -p option.
46967         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46968         for source.
46970 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46972         * manual/nptl.texi: Renamed to ...
46973         * manual/threads.texi: ... this.
46974         * manual/Makefile (chapters): Update.
46976 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46978         [BZ #14812]
46979         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46980         on argument names, not just descriptions.
46981         * malloc/memusagestat.c (options): Likewise.
46982         * nss/getent.c (options): Likewise.
46984 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46986         [BZ #14812]
46987         * iconv/iconv_prog.c (options): Put N_ translation marker
46988         on argument names, not just descriptions.
46989         * iconv/iconvconfig.c (options): Likewise.
46991 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46993         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46994         implementation which is faster on all x86_64 architectures.
46995         Tested on AMD, Intel Nehalem, SNB, IVB.
46996         * sysdeps/x86_64/strnlen.S: Likewise.
46998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46999         Remove all multiarch strlen and strnlen versions.
47000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47001         Remove strlen and strnlen related parts.
47003         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47004         Inline strlen part.
47005         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47007         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47008         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47009         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47010         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47011         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47012         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47014 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47016         * manual/memory.texi (Malloc Tunable Parameters):
47017         Sort parameters alphabetically. Add comments for missing entries.
47019 2013-03-17  David S. Miller  <davem@davemloft.net>
47021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47023 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
47025         [BZ #15283]
47026         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47027         for arguments at most half maximum finite value.
47028         * math/libm-test.inc (j0_test): Add more tests.
47029         (j1_test): Likewise.
47030         (y0_test): Likewise.
47031         (y1_test): Likewise.
47032         * sysdeps/i386/fpu/libm-test-ulps: Update.
47033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47035         [BZ #14155]
47036         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47037         1 / x and functions P and Q for arguments above 0x1p256L.
47038         (__ieee754_y0l): Likewise.
47039         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47040         (__ieee754_y1l): Likewise.
47041         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47042         (j1_test): Likewise.
47043         (y0_test): Likewise.
47044         (y1_test): Likewise.
47046 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47048         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47049         variable.
47051 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47053         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47054         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47055         zero since it's initialized to EXEC_PAGESIZE.
47057         * sysdeps/unix/sysv/linux/ldsodefs.h
47058         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47059         * sysdeps/generic/ldsodefs.h: ... here.
47061 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
47063         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47065         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47066         math/test-snan.c.
47067         * math/test-snan.c: Renamed from
47068         sysdeps/powerpc/fpu/test-powerpc-snan.c.
47069         * math/Makefile (tests): Add test-snan.
47070         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47071         test-powerpc-snan.
47073         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47074         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
47075         functions.
47076         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
47077         __builtin_nan family of functions.
47078         * math/libm-test.inc (initialize): Initialize qnan_value with
47079         __builtin_nan family of functions.
47080         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47081         Remove variables.
47082         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47083         Remove functions.
47084         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
47085         storage class.  Initialize qNaN_var and sNaN_var with
47086         __builtin_nan and __builtin_nans families of functions,
47087         respectively.
47089         * math/libm-test.inc (acosh_test): Also test with qNaN input.
47090         (sqrt_test): Remove duplicate test with qNaN input.
47091         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47092         (round_test, signbit_test, significand_test): Note missing +/-Inf
47093         as well as qNaN tests.
47095         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47096         qNaN_var.  Fix a few strings, too.
47097         * math/libm-test.inc (nan_value): Rename to qnan_value.
47098         * math/gen-libm-test.pl (%beautify): Adjust to that.
47099         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47100         * math/test-misc.c (main): Likewise.
47101         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47102         to __qnan_bytes, and __qnan_union, respectively.
47103         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47104         Likewise.
47105         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47106         and lqnanval, respectively.
47107         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47108         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47109         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47110         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47112         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47113         * math/test-misc.c (main) [__x86_64__]: Enable test for long
47114         doubles.
47116         * math/test-misc.c (main): Fix copy'n'pastos.
47117         * misc/tst-efgcvt.c (special): Likewise.
47119         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47120         Remove declarations.
47122 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47124         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47125         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47126         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47127         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47129 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47131         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
47132         macro to return vdso values correctly in IFUNC implementations.
47133         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47134         Optimization by using IFUNC.
47136 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47137             Richard Henderson  <rth@redhat.com>
47138             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47140         * Makefile.in (bench): New target.
47141         * NEWS: Mention the benchmark framework.
47142         * Rules (bench): Likewise.
47143         (binaries-bench): Generate binaries for functions to
47144         benchmark.
47145         * benchtests/Makefile: New makefile for benchmark tests.
47146         * benchtests/bench-skeleton.c: New skeleton file for benchmark
47147         programs.
47148         * benchtests/exp-inputs: New input file for EXP function.
47149         * benchtests/pow-inputs: New input file for POW function.
47150         * scripts/bench.pl: New script to generate source files for
47151         benchmark programs.
47153 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47155         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47156         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
47157         computations on mantissa.  Use macros for rounding and
47158         division.
47159         (denorm): Likewise.
47160         (__dbl_mp): Likewise.
47161         (add_magnitudes): Likewise.
47162         (sub_magnitudes): Likewise.
47163         (__mul): Likewise.
47164         (__sqr): Likewise.
47165         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47166         powers of two in terms of TWOPOW macro.
47167         (mp_no): Make type of mantissa as MANTISSA_T.
47168         [!RADIXI]: Define RADIXI.
47169         [!TWO52]: Define TWO52.
47170         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47172         * manual/nptl.texi (cindex): Modify threads to pthreads.
47174 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
47176         * sysdeps/x86_64/preconfigure: Regenerated.
47178 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
47180         [BZ #14155]
47181         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
47182         0x1p28 and above.
47183         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
47184         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
47185         0x1p28 and above.
47186         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
47187         * math/libm-test.inc (j0_test): Do not allow one spurious
47188         underflow exception.
47189         (y1_test): Likewise.
47191 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47193         * manual/Makefile (chapters): Add nptl.
47194         * manual/debug.texi (Debugging Support): Add link to Threads
47195         chapter.
47196         * manual/nptl.texi: New file.
47198         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
47200 2013-03-14  Petr Baudis  <pasky@ucw.cz>
47202         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
47203         for non-NULL pointer before the memory validity test. Pointed
47204         out by Holger Brunck <holger.brunck@keymile.com>.
47206 2013-03-13  Andreas Schwab  <schwab@suse.de>
47208         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
47209         instead of .os.
47211 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
47213         * timezone/zic.c: Update from tzcode 2013b.
47215 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
47217         * manual/install.texi (Configuring and compiling):
47218         Mention i686 and i586.
47219         * INSTALL: Regenerate.
47221 2013-03-12  Roland McGrath  <roland@hack.frob.com>
47223         * sysdeps/init_array/elf-init.c: New file.
47224         * csu/elf-init.c
47225         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
47226         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
47228         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
47229         __gmon_start__ as global, but as static with a .preinit_array pointer.
47230         * sysdeps/init_array/gmon-start.c: New file.  Use that.
47231         * sysdeps/init_array/crti.S: New file, empty except for comments.
47232         * sysdeps/init_array/crtn.S: Likewise.
47234 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
47236         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
47237         definining bcopy.
47238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47239         Remove Prefer_SSE_for_memop.
47240         * sysdeps/x86_64/multiarch/init-arch.h: Remove
47241         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
47242         HAS_PREFER_SSE_FOR_MEMOP.
47243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
47244         memset-x86-64.
47245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47246         Remove bzero, memset ifunc support.
47247         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
47248         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
47249         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47250         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47252 2013-03-11  Andreas Schwab  <schwab@suse.de>
47254         [BZ #15234]
47255         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
47256         by SHLIB_COMPAT.
47257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
47258         (GLIBC_2.16): Remove pthread_atfork.
47260 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
47262         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
47263         (ptestcases.h): Likewise.
47265 2013-03-08  Roland McGrath  <roland@hack.frob.com>
47267         * Makeconfig ($(common-objpfx)config.status): Depend on
47268         sysdeps/*/preconfigure{,.in} too.
47270 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
47272         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
47273         (__free_hook): Use void * instead of __malloc_ptr_t.
47274         (__malloc_hook): Likewise.
47275         (__realloc_hook): Likewise.
47276         (__memalign_hook): Likewise.
47277         (__after_morecore_hook): Likewise.
47278         * malloc/arena.c (save_malloc_hook): Likewise.
47279         (save_free_hook): Likewise.
47280         * malloc/hooks.c (malloc_hook_ini): Likewise.
47281         (realloc_hook_ini): Likewise.
47282         (memalign_hook_ini): Likewise.
47283         * malloc/malloc.c (malloc_hook_ini): Likewise.
47284         (realloc_hook_ini): Likewise.
47285         (memalign_hook_ini): Likewise.
47286         (__free_hook): Likewise.
47287         (__malloc_hook): Likewise.
47288         (__realloc_hook): Likewise.
47289         (__memalign_hook): Likewise.
47290         (__libc_malloc): Likewise.
47291         (__libc_free): Likewise.
47292         (__libc_realloc): Likewise.
47293         (__libc_memalign): Likewise.
47294         (__libc_valloc): Likewise.
47295         (__libc_pvalloc): Likewise.
47296         (__libc_calloc): Likewise.
47297         (__posix_memalign): Likewise.
47298         * malloc/morecore.c (__sbrk): Likewise.
47299         (__default_morecore): Likewise.
47301         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
47303         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
47304         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
47305         __malloc_ptrdiff_t.
47307         * malloc/malloc.h (__malloc_size_t): Remove macro.
47308         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
47309         __malloc_size_t.
47310         (old_memalign_hook): Likewise.
47311         (old_realloc_hook): Likewise.
47312         (struct hdr): Likewise.
47313         (flood): Likewise.
47314         (mallochook): Likewise.
47315         (memalignhook): Likewise.
47316         (reallochook): Likewise.
47317         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
47318         (tr_old_realloc_hook): Likewise.
47319         (tr_old_memalign_hook): Likewise.
47320         (tr_mallochook): Likewise.
47321         (tr_reallochook): Likewise.
47322         (tr_memalignhook): Likewise.
47324 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47326         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
47327         default_ldbl_pack and using as default implementation.
47328         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
47329         implementation.
47330         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
47331         redundant definition.
47332         (ldbl_insert_mantissa): Likewise.
47333         (ldbl_canonicalize): Likewise.
47334         (ldbl_nearbyint): Likewise.
47335         (ldbl_pack): Rename to ldbl_pack_ppc.
47336         (ldbl_unpack): Rename to ldbl_unpack_ppc.
47337         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
47338         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
47340 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
47343         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
47344         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
47345         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
47346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
47347         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
47348         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
47349         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
47351 2013-03-07  Andreas Jaeger  <aj@suse.de>
47353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47354         bits/mman-linux.h.
47356 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47358         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
47359         Include mpa.h and declare __MPEXP.
47360         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
47361         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47362         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47363         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
47364         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47365         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47366         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
47368         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
47369         (__slowpow): Use long double EXPL and LOGL functions to
47370         compute POW.
47371         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47372         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47373         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
47374         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47375         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47376         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
47378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
47379         intermediate variable to calculate exponent.
47380         (__sqr): Likewise.
47381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47382         Likewise.
47383         (__sqr): Likewise.
47385         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
47386         [!NO__SQR]: Define __sqr.
47387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
47388         and NO__SQR.  Remove all code except __mul and __sqr.  Include
47389         sysdeps/ieee754/dbl-64/mpa.c.
47390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47392         [BZ #12723]
47393         * posix/Makefile (tests): Add tst-pathconf.
47394         * posix/tst-pathconf.c: New test case.
47395         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
47396         _PC_PIPE_BUF.
47397         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
47399 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
47401         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
47403 2013-03-06  Andreas Jaeger  <aj@suse.de>
47405         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
47406         definition via __MAP_ANONYMOUS.
47408         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
47409         it's not part of Linux headers.
47411         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
47412         (MAP_HUGE_MASK): Define.
47414         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47415         Define.
47416         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47417         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47418         Define.
47419         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47420         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47421         Define.
47422         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47423         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
47424         Define.
47425         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47427         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
47428         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
47429         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
47430         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
47431         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
47432         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
47434         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47435         Handle f2fs.
47437         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47438         Handle f2fs and efivarfs.
47440         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
47441         f2fs.
47443         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
47444         (EFIVARFS_MAGIC): Add.
47445         (F2FS_LINK_MAX): Add.
47447 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47449         * stdio-common/vfprintf.c: Replace __builtin_expect with
47450         __glibc_unlikely.
47452 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
47454         [BZ #13550]
47455         * sysdeps/generic/bp-sym.h: Remove file.
47456         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
47457         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
47458         <bp-sym.h> and <bp-asm.h>.
47459         (__longjmp): Don't use BP_SYM.
47460         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
47461         and <bp-asm.h>.
47462         (memcpy): Don't use BP_SYM.
47463         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
47464         <bp-sym.h> and <bp-asm.h>.
47465         (memcpy): Don't use BP_SYM.
47466         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
47467         <bp-asm.h>.
47468         (memcpy): Don't use BP_SYM.
47469         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
47470         <bp-asm.h>.
47471         (memset): Don't use BP_SYM.
47472         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47473         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47474         (__bzero): Don't use BP_SYM.
47475         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47476         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47477         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
47478         <bp-sym.h> and <bp-asm.h>.
47479         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47480         pointers.
47481         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
47482         <bp-sym.h> and <bp-asm.h>.
47483         (memcpy): Don't use BP_SYM.
47484         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
47485         <bp-sym.h> and <bp-asm.h>.
47486         (memset): Don't use BP_SYM.
47487         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47488         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47489         (__bzero): Don't use BP_SYM.
47490         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47491         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47492         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
47493         <bp-sym.h> and <bp-asm.h>.
47494         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47495         pointers.
47496         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
47497         <bp-sym.h> and <bp-asm.h>.
47498         (memcpy): Don't use BP_SYM.
47499         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
47500         <bp-sym.h> and <bp-asm.h>.
47501         (memset): Don't use BP_SYM.
47502         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47503         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47504         (__bzero): Don't use BP_SYM.
47505         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47506         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47507         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
47508         <bp-sym.h> and <bp-asm.h>.
47509         (__memchr): Don't use BP_SYM.
47510         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
47511         <bp-sym.h> and <bp-asm.h>.
47512         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47513         pointers.
47514         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
47515         <bp-sym.h> and <bp-asm.h>.
47516         (memcpy): Don't use BP_SYM.
47517         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
47518         <bp-sym.h> and <bp-asm.h>.
47519         (__mempcpy): Don't use BP_SYM.
47520         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
47521         <bp-sym.h> and <bp-asm.h>.
47522         (__memrchr): Don't use BP_SYM.
47523         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
47524         <bp-sym.h> and <bp-asm.h>.
47525         (memset): Don't use BP_SYM.
47526         (__bzero): Likewise.
47527         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
47528         <bp-sym.h> and <bp-asm.h>.
47529         (__rawmemchr): Don't use BP_SYM.
47530         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
47531         <bp-sym.h> and <bp-asm.h>.
47532         (__STRCMP): Don't use BP_SYM.
47533         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
47534         <bp-sym.h> and <bp-asm.h>.
47535         (strchr): Don't use BP_SYM.
47536         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
47537         <bp-sym.h> and <bp-asm.h>.
47538         (__strchrnul): Don't use BP_SYM.
47539         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
47540         <bp-sym.h> and <bp-asm.h>.
47541         (strlen): Don't use BP_SYM.
47542         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
47543         <bp-sym.h> and <bp-asm.h>.
47544         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47545         pointers.
47546         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
47547         <bp-sym.h> and <bp-asm.h>.
47548         (__strnlen): Don't use BP_SYM.
47549         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
47550         <bp-sym.h> and <bp-asm.h>.
47551         (__GI__setjmp): Don't use BP_SYM.
47552         (_setjmp): Likewise.
47553         (__sigsetjmp): Likewise.
47554         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
47555         (L(start_addresses)): Don't use BP_SYM.
47556         (_start): Likewise.
47557         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
47558         <bp-asm.h>.
47559         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
47560         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
47561         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47562         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47563         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
47564         <bp-asm.h>.
47565         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
47566         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
47567         about bounded pointers.
47568         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47569         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47570         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
47571         <bp-asm.h>.
47572         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47573         about bounded pointers.  Remove GKM FIXME comments.
47574         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47575         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
47576         <bp-asm.h>.
47577         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
47578         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
47579         Remove GKM FIXME comments.
47580         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47581         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47582         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
47583         <bp-asm.h>.
47584         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47585         about bounded pointers.  Remove GKM FIXME comment.
47586         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
47587         and <bp-asm.h>.
47588         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47589         pointers.
47590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
47591         <bp-sym.h> and <bp-asm.h>.
47592         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
47594         <bp-sym.h> and <bp-asm.h>.
47595         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47596         comment.
47598 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47600         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
47601         call free(NULL).
47603 2013-03-05  David S. Miller  <davem@davemloft.net>
47605         * po/es.po: Update from translation team.
47607 2013-03-05  Andreas Jaeger  <aj@suse.de>
47609         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
47610         <bits/mman-linux.h>.
47611         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47612         is fine.
47613         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
47614         <bits/mman-linux.h> to end of file.
47615         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47616         is fine.
47617         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47618         <bits/mman-linux.h> to end of file.
47619         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47620         is fine.
47621         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47622         <bits/mman-linux.h> to end of file.
47624         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47625         (MCL_CURRENT, MCL_FUTURE): Define here.
47627 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47629         [BZ #15232]
47630         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47631         attribute_hidden.
47632         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47634 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47636         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47637         fourth parameter needed for rt_sigprocmask syscall.
47638         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47639         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47640         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47641         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47642         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47643         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47645 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
47647         [BZ #13550]
47648         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47649         comment about bounded pointers.
47650         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47651         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47653 2013-03-04  Andreas Jaeger  <aj@suse.de>
47655         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47656         common definitions.
47658         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47659         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47660         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
47661         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47662         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47663         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47665 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47667         [BZ #15055]
47668         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
47669         __ieee754_sqrl instead of __sqrl.
47671 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
47673         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
47674         * sysdeps/powerpc/fpu_control.h: ... here.
47675         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
47676         * sysdeps/powerpc/bits/fenvinline.h: ... here.
47677         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
47678         * sysdeps/powerpc/bits/mathinline.h: ... here.
47680 2013-03-01  Roland McGrath  <roland@hack.frob.com>
47682         * elf/dl-hwcaps.c (_dl_important_hwcaps):
47683         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
47684         to just [NEED_DL_SYSINFO_DSO].
47685         * elf/dl-support.c: Likewise.
47686         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
47687         * elf/rtld.c (dl_main): Likewise.
47688         * elf/setup-vdso.h (setup_vdso): Likewise.
47689         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
47690         * sysdeps/unix/sysv/linux/dl-sysdep.c
47691         (_dl_discover_osversion): Likewise.
47693 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
47695         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
47696         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47698 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47700         * NEWS: Mention libm performance improvements and non-x86 PI
47701         futex support.
47703         * csu/libc-start.c (__pthread_initialize_minimal): Change
47704         function arguments.
47705         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47707 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
47709         [BZ #13550]
47710         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47711         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47712         <bp-sym.h> and <bp-asm.h>.
47713         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47714         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47715         and <bp-asm.h>.
47716         (memcpy): Don't use BP_SYM.
47717         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47718         <bp-asm.h>.
47719         (__mpn_add_n): Don't use BP_SYM.
47720         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47721         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47722         and <bp-asm.h>.
47723         (__mpn_addmul_1): Don't use BP_SYM.
47724         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47725         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47726         <bp-sym.h>.
47727         (_setjmp): Don't use BP_SYM.
47728         (__novmx_setjmp): Likewise.
47729         (__GI__setjmp): Likewise.
47730         (__vmx_setjmp): Likewise.
47731         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47732         <bp-sym.h>.
47733         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47734         (__bzero): Don't use BP_SYM.
47735         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47736         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47737         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47738         <bp-sym.h> and <bp-asm.h>.
47739         (memcpy): Don't use BP_SYM.
47740         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47741         <bp-sym.h> and <bp-asm.h>.
47742         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47743         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47744         <bp-sym.h> and <bp-asm.h>.
47745         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47746         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47747         <bp-asm.h>.
47748         (__mpn_lshift): Don't use BP_SYM.
47749         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47750         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47751         <bp-asm.h>.
47752         (memset): Don't use BP_SYM.
47753         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47754         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47755         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47756         <bp-asm.h>.
47757         (__mpn_mul_1): Don't use BP_SYM.
47758         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47759         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47760         <bp-sym.h> and <bp-asm.h>.
47761         (memcmp): Don't use BP_SYM.
47762         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47763         <bp-sym.h> and <bp-asm.h>.
47764         (memcpy): Don't use BP_SYM.
47765         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47766         <bp-sym.h> and <bp-asm.h>.
47767         (memset): Don't use BP_SYM.
47768         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47769         <bp-sym.h> and <bp-asm.h>.
47770         (strncmp): Don't use BP_SYM.
47771         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47772         <bp-sym.h> and <bp-asm.h>.
47773         (memcpy): Don't use BP_SYM.
47774         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47775         <bp-sym.h> and <bp-asm.h>.
47776         (memset): Don't use BP_SYM.
47777         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47778         <bp-sym.h> and <bp-asm.h>.
47779         (__memchr): Don't use BP_SYM.
47780         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47781         <bp-sym.h> and <bp-asm.h>.
47782         (memcmp): Don't use BP_SYM.
47783         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47784         <bp-sym.h> and <bp-asm.h>.
47785         (memcpy): Don't use BP_SYM.
47786         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47787         <bp-sym.h> and <bp-asm.h>.
47788         (__mempcpy): Don't use BP_SYM.
47789         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47790         <bp-sym.h> and <bp-asm.h>.
47791         (__memrchr): Don't use BP_SYM.
47792         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47793         <bp-sym.h> and <bp-asm.h>.
47794         (memset): Don't use BP_SYM.
47795         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47796         <bp-sym.h> and <bp-asm.h>.
47797         (__rawmemchr): Don't use BP_SYM.
47798         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47799         <bp-sym.h> and <bp-asm.h>.
47800         (__STRCMP): Don't use BP_SYM.
47801         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47802         <bp-sym.h> and <bp-asm.h>.
47803         (strchr): Don't use BP_SYM.
47804         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47805         <bp-sym.h> and <bp-asm.h>.
47806         (__strchrnul): Don't use BP_SYM.
47807         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47808         <bp-sym.h> and <bp-asm.h>.
47809         (strlen): Don't use BP_SYM.
47810         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47811         <bp-sym.h> and <bp-asm.h>.
47812         (strncmp): Don't use BP_SYM.
47813         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47814         <bp-sym.h> and <bp-asm.h>.
47815         (__strnlen): Don't use BP_SYM.
47816         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47817         <bp-asm.h>.
47818         (__mpn_rshift): Don't use BP_SYM.
47819         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47820         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47821         <bp-sym.h> and <bp-asm.h>.
47822         (__sigsetjmp): Don't use BP_SYM.
47823         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47824         (L(start_addresses)): Don't use BP_SYM.
47825         (_start): Likewise.
47826         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47827         <bp-asm.h>.
47828         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47829         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47830         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47831         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47832         <bp-asm.h>.
47833         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47834         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47835         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47836         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47837         <bp-asm.h>.
47838         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47839         comments.
47840         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47841         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47842         <bp-asm.h>.
47843         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47844         FIXME comments.
47845         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47846         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47847         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47848         <bp-asm.h>.
47849         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47850         comment.
47851         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47852         and <bp-asm.h>.
47853         (strncmp): Don't use BP_SYM,
47854         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47855         <bp-asm.h>.
47856         (__mpn_sub_n): Don't use BP_SYM.
47857         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47858         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47859         and <bp-asm.h>.
47860         (__mpn_submul_1): Don't use BP_SYM.
47861         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47863         <bp-sym.h> and <bp-asm.h>.
47864         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47866         <bp-sym.h> and <bp-asm.h>.
47867         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47868         comment.
47870 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47873         Use ZK to minimize writes to Z.
47874         (sub_magnitudes): Simplify code a bit.
47875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47876         Use ZK to minimize writes to Z.
47877         (sub_magnitudes): Simplify code a bit.
47879 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47881         * csu/gmon-start.c: Add special exception to license text.
47883 2013-02-27  Richard Henderson  <rth@redhat.com>
47885         * scripts/config.guess: Update from config.git.
47886         * scripts/config.sub: Likewise.
47888 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47890         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47892         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47894         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47896         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47898         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47900 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47902         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47903         [$(build-shared = yes].
47905 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47907         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47908         (__mul): Reduce iterations for calculating mantissa.
47910         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47911         MPTWO.
47912         (__mpranred): Likewise.
47914         [BZ #15160]
47915         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47916         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47918 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47920         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47921         Define __attribute__.
47923 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47925         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47926         unused.
47927         * posix/regex_internal.h (__attribute): Remove.
47928         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47929         (re_string_context_at): Likewise.
47930         (bitset_not): Use __attribute__ and mark function as possibly
47931         unused.
47932         (bitset_merge): Likewise.
47933         (bitset_mask): Likewise.
47934         (re_string_char_size_at): Likewise.
47935         (re_string_wchar_at): Likewise.
47936         (re_string_elem_size_at): Likewise.
47938 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47940         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47941         code.
47942         (cc32): Likewise.
47944         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47945         (__acr): Likewise.
47946         (__cpy): Likewise.
47947         (norm): Likewise.
47948         (denorm): Likewise.
47949         (__dbl_mp): Likewise.
47950         (add_magnitudes): Likewise.
47951         (sub_magnitudes): Likewise.
47952         (__mul): Likewise.
47953         (__inv): Likewise.
47955         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47956         style.
47958         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47959         style.
47961         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47962         code.
47964         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47965         up changes with default code.
47966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47967         Likewise.
47969 2013-02-24  Allan McRae  <allan@archlinux.org>
47971         * manual/socket.texi (The Internet Namespace): Order menu items
47972         to match that in the file.
47974         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47975         node listing of the info page menu.
47977 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47979         [BZ #13550]
47980         * sysdeps/i386/bp-asm.h: Remove file.
47981         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47982         (PARMS): Do not use macros from bp-asm.h.
47983         (S1): Likewise.
47984         (S2): Likewise.
47985         (SIZE): Likewise.
47986         (__mpn_add_n): Do not use BP_SYM
47987         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47988         "bp-asm.h".
47989         (PARMS): Do not use macros from bp-asm.h.
47990         (S1): Likewise.
47991         (SIZE): Likewise.
47992         (__mpn_addmul_1): Do not use BP_SYM
47993         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47994         "bp-asm.h".
47995         (PARMS): Do not use macros from bp-asm.h.
47996         (SIGMSK): Likewise.
47997         (_setjmp): Likewise.  Do not use BP_SYM.
47998         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47999         "bp-asm.h".
48000         (PARMS): Do not use macros from bp-asm.h.
48001         (SIGMSK): Likewise.
48002         (setjmp): Likewise.  Do not use BP_SYM.
48003         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48004         "bp-asm.h".
48005         (PARMS): Do not use macros from bp-asm.h.
48006         (__frexp): Do not use BP_SYM.
48007         (frexp): Likewise.
48008         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48009         "bp-asm.h".
48010         (PARMS): Do not use macros from bp-asm.h.
48011         (__frexpf): Do not use BP_SYM.
48012         (frexpf): Likewise.
48013         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48014         "bp-asm.h".
48015         (PARMS): Do not use macros from bp-asm.h.
48016         (__frexpl): Do not use BP_SYM.
48017         (frexpl): Likewise.
48018         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48019         "bp-asm.h".
48020         (PARMS): Do not use macros from bp-asm.h.
48021         (__remquo): Do not use BP_SYM.
48022         (remquo): Likewise.
48023         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48024         "bp-asm.h".
48025         (PARMS): Do not use macros from bp-asm.h.
48026         (__remquof): Do not use BP_SYM.
48027         (remquof): Likewise.
48028         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48029         "bp-asm.h".
48030         (PARMS): Do not use macros from bp-asm.h.
48031         (__remquol): Do not use BP_SYM.
48032         (remquol): Likewise.
48033         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48034         "bp-asm.h".
48035         (PARMS): Do not use macros from bp-asm.h.
48036         (DEST): Likewise.
48037         (SRC): Likewise.
48038         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48039         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48040         "bp-asm.h".
48041         (PARMS): Do not use macros from bp-asm.h.
48042         (strlen): Do not use BP_SYM.
48043         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48044         "bp-asm.h".
48045         (PARMS): Do not use macros from bp-asm.h.
48046         (S1): Likewise.
48047         (S2): Likewise.
48048         (SIZE): Likewise.
48049         (__mpn_add_n): Do not use BP_SYM.
48050         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48051         "bp-asm.h".
48052         (PARMS): Do not use macros from bp-asm.h.
48053         (S1): Likewise.
48054         (SIZE): Likewise.
48055         (__mpn_addmul_1): Do not use BP_SYM.
48056         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48057         weak_alias.
48058         (bzero): Likewise.
48059         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48060         "bp-asm.h".
48061         (PARMS): Do not use macros from bp-asm.h.
48062         (S): Likewise.
48063         (SIZE): Likewise.
48064         (__mpn_lshift): Do not use BP_SYM.
48065         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
48066         "bp-asm.h".
48067         (PARMS): Do not use macros from bp-asm.h.
48068         (DEST): Likewise.
48069         (SRC): Likewise.
48070         (LEN): Likewise.
48071         (memcpy): Likewise.  Do not use BP_SYM.
48072         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48073         libc_hidden_def and weak_alias.
48074         (mempcpy): Do not use BP_SYM in weak_alias.
48075         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48076         "bp-asm.h".
48077         (PARMS): Do not use macros from bp-asm.h.
48078         (DEST): Likewise.
48079         (LEN): Likewise.
48080         [!BZERO_P] (CHR): Likewise.
48081         (memset): Likewise.  Do not use BP_SYM.
48082         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
48083         "bp-asm.h".
48084         (PARMS): Do not use macros from bp-asm.h.
48085         (S1): Likewise.
48086         (SIZE): Likewise.
48087         (__mpn_mul_1): Do not use BP_SYM.
48088         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48089         "bp-asm.h".
48090         (PARMS): Do not use macros from bp-asm.h.
48091         (S): Likewise.
48092         (SIZE): Likewise.
48093         (__mpn_rshift): Do not use BP_SYM.
48094         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48095         "bp-asm.h".
48096         (PARMS): Do not use macros from bp-asm.h.
48097         (STR): Likewise.
48098         (CHR): Likewise.
48099         (strchr): Likewise.  Do not use BP_SYM.
48100         (index): Do not use BP_SYM in weak_alias.
48101         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48102         "bp-asm.h".
48103         (PARMS): Do not use macros from bp-asm.h.
48104         (DEST): Likewise.
48105         (SRC): Likewise.
48106         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
48107         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48108         "bp-asm.h".
48109         (PARMS): Do not use macros from bp-asm.h.
48110         (strlen): Do not use BP_SYM.
48111         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48112         "bp-asm.h".
48113         (PARMS): Do not use macros from bp-asm.h.
48114         (S1): Likewise.
48115         (S2): Likewise.
48116         (SIZE): Likewise.
48117         (__mpn_sub_n): Do not use BP_SYM.
48118         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48119         "bp-asm.h".
48120         (PARMS): Do not use macros from bp-asm.h.
48121         (S1): Likewise.
48122         (SIZE): Likewise.
48123         (__mpn_submul_1): Do not use BP_SYM.
48124         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48125         "bp-asm.h".
48126         (PARMS): Do not use macros from bp-asm.h.
48127         (S1): Likewise.
48128         (S2): Likewise.
48129         (SIZE): Likewise.
48130         (__mpn_add_n): Do not use BP_SYM.
48131         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
48132         weak_alias.
48133         (bzero): Likewise.
48134         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
48135         "bp-asm.h".
48136         (PARMS): Do not use macros from bp-asm.h.
48137         (BLK2): Likewise.
48138         (LEN): Likewise.
48139         (memcmp): Do not use BP_SYM.
48140         (bcmp): Do not use BP_SYM in weak_alias.
48141         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
48142         "bp-asm.h".
48143         (PARMS): Do not use macros from bp-asm.h.
48144         (DEST): Likewise.
48145         (SRC): Likewise.
48146         (LEN): Likewise.
48147         (memcpy): Likewise.  Do not use BP_SYM.
48148         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
48149         "bp-asm.h".
48150         (PARMS): Do not use macros from bp-asm.h.
48151         (DEST): Likewise.
48152         (SRC): Likewise.
48153         (LEN): Likewise.
48154         (memmove): Likewise.  Do not use BP_SYM.
48155         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
48156         "bp-asm.h".
48157         (PARMS): Do not use macros from bp-asm.h.
48158         (DEST): Likewise.
48159         (SRC): Likewise.
48160         (LEN): Likewise.
48161         (__mempcpy): Likewise.  Do not use BP_SYM.
48162         (mempcpy): Do not use BP_SYM in weak_alias.
48163         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
48164         "bp-asm.h".
48165         (PARMS): Do not use macros from bp-asm.h.
48166         (DEST): Likewise.
48167         (LEN): Likewise.
48168         [!BZERO_P] (CHR): Likewise.
48169         (memset): Likewise.  Do not use BP_SYM.
48170         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
48171         "bp-asm.h".
48172         (PARMS): Do not use macros from bp-asm.h.
48173         (STR2): Likewise.
48174         (strcmp): Do not use BP_SYM.
48175         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
48176         "bp-asm.h".
48177         (PARMS): Do not use macros from bp-asm.h.
48178         (STR): Likewise.
48179         (DELIM): Likewise.
48180         [USE_AS_STRTOK_R] (SAVE): Likewise.
48181         (FUNCTION): Likewise.  Do not use BP_SYM.
48182         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
48183         aliases.
48184         (strtok_r): Likewise.
48185         (__GI___strtok_r): Likewise.
48186         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48187         (PARMS): Do not use macros from bp-asm.h.
48188         (S): Likewise.
48189         (SIZE): Likewise.
48190         (__mpn_lshift): Do not use BP_SYM.
48191         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48192         (PARMS): Do not use macros from bp-asm.h.
48193         (STR): Likewise.
48194         (CHR): Likewise.
48195         (__memchr): Do not use BP_SYM.
48196         (memchr): Do not use BP_SYM in weak_alias.
48197         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48198         (PARMS): Do not use macros from bp-asm.h.
48199         (BLK2): Likewise.
48200         (LEN): Likewise.
48201         (memcmp): Do not use BP_SYM.
48202         (bcmp): Do not use BP_SYM in weak_alias.
48203         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
48204         (PARMS): Do not use macros from bp-asm.h.
48205         (S1): Likewise.
48206         (SIZE): Likewise.
48207         (__mpn_mul_1): Do not use BP_SYM.
48208         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
48209         "bp-asm.h".
48210         (PARMS): Do not use macros from bp-asm.h.
48211         (STR): Likewise.
48212         (CHR): Likewise.
48213         (__rawmemchr): Do not use BP_SYM.
48214         (rawmemchr): Do not use BP_SYM in weak_alias.
48215         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48216         (PARMS): Do not use macros from bp-asm.h.
48217         (S): Likewise.
48218         (SIZE): Likewise.
48219         (__mpn_rshift): Do not use BP_SYM.
48220         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48221         (PARMS): Do not use macros from bp-asm.h.
48222         (SIGMSK): Likewise.
48223         (__sigsetjmp): Likewise.  Do not use BP_SYM.
48224         * sysdeps/i386/start.S: Do not include "bp-sym.h".
48225         (_start): Do not use BP_SYM.
48226         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
48227         (PARMS): Do not use macros from bp-asm.h.
48228         (DEST): Likewise.
48229         (SRC): Likewise.
48230         (__stpcpy): Likewise.  Do not use BP_SYM.
48231         (stpcpy): Do not use BP_SYM in weak_alias.
48232         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
48233         "bp-asm.h".
48234         (PARMS): Do not use macros from bp-asm.h.
48235         (DEST): Likewise.
48236         (SRC): Likewise.
48237         (LEN): Likewise.
48238         (__stpncpy): Likewise.  Do not use BP_SYM.
48239         (stpncpy): Do not use BP_SYM in weak_alias.
48240         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48241         (PARMS): Do not use macros from bp-asm.h.
48242         (STR): Likewise.
48243         (CHR): Likewise.
48244         (strchr): Likewise.  Do not use BP_SYM.
48245         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
48246         "bp-asm.h".
48247         (PARMS): Do not use macros from bp-asm.h.
48248         (STR): Likewise.
48249         (CHR): Likewise.
48250         (__strchrnul): Likewise.  Do not use BP_SYM.
48251         (strchrnul): Do not use BP_SYM in weak_alias.
48252         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
48253         "bp-asm.h".
48254         (PARMS): Do not use macros from bp-asm.h.
48255         (STOP): Likewise.
48256         (strcspn): Do not use BP_SYM.
48257         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
48258         "bp-asm.h".
48259         (PARMS): Do not use macros from bp-asm.h.
48260         (STR): Likewise.
48261         (STOP): Likewise.
48262         (strpbrk): Likewise.  Do not use BP_SYM.
48263         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
48264         "bp-asm.h".
48265         (PARMS): Do not use macros from bp-asm.h.
48266         (STR): Likewise.
48267         (CHR): Likewise.
48268         (strrchr): Likewise.  Do not use BP_SYM.
48269         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
48270         (PARMS): Do not use macros from bp-asm.h.
48271         (SKIP): Likewise.
48272         (strspn): Do not use BP_SYM.
48273         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
48274         (PARMS): Do not use macros from bp-asm.h.
48275         (STR): Likewise.
48276         (DELIM): Likewise.
48277         (SAVE): Likewise.
48278         (FUNCTION): Likewise.  Do not use BP_SYM.
48279         * sysdeps/i386/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/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48284         (PARMS): Do not use macros from bp-asm.h.
48285         (S1): Likewise.
48286         (S2): Likewise.
48287         (SIZE): Likewise.
48288         (__mpn_sub_n): Do not use BP_SYM.
48289         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
48290         "bp-asm.h".
48291         (PARMS): Do not use macros from bp-asm.h.
48292         (S1): Likewise.
48293         (SIZE): Likewise.
48294         (__mpn_submul_1): Do not use BP_SYM.
48295         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
48296         <bp-sym.h>.
48297         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
48298         and <bp-asm.h>.
48299         (PARMS): Do not use macros from bp-asm.h.
48300         (FLAGS): Likewise.
48301         (PTID): Likewise.
48302         (TLS): Likewise.
48303         (CTID): Likewise.
48304         (__clone): Do not use BP_SYM.
48305         (clone): Do not use BP_SYM in weak_alias.
48306         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
48307         and <bp-asm.h>.
48308         (PARMS): Do not use macros from bp-asm.h.
48309         (LEN): Likewise.
48310         (__mmap64): Do not use BP_SYM.
48311         (mmap64): Do not use BP_SYM in weak_alias.
48312         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48313         <bp-sym.h> and <bp-asm.h>.
48314         (PARMS): Do not use macros from bp-asm.h.
48315         (__posix_fadvise64_l64): Do not use BP_SYM.
48316         * sysdeps/unix/sysv/linux/i386/semtimedop.S
48317         (PARMS): Do not use macros from bp-asm.h.
48318         (NSOPS): Likewise.
48319         (semtimedop): Do not use BP_SYM.
48320         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
48321         and <bp-asm.h>.
48323 2013-02-21  Allan McRae  <allan@archlinux.org>
48325         * manual/message.texi (Charset conversion in gettext):
48326         Move @end statement to beginning of line.
48328 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
48331         static.
48332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48333         Likewise.
48335         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
48336         (denorm): Likewise.
48337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
48338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
48340 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48342         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
48343         tail-call to the resolved function if pltexit isn't needed.
48345 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
48348         or Y being zero as being unlikely.
48349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48350         Likewise.
48352 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
48354         * manual/nss.texi (System Databases and Name Service Switch):
48355         Remove frobnicate @pxref.
48357 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48359         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48360         __attribute__ ((unused)) to __attribute__ ((__unused__)).
48362 2013-02-20  Petr Machata  <pmachata@redhat.com>
48364         * elf/elf.h (R_ARM_TARGET1): New macro.
48365         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
48366         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
48367         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
48368         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
48369         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
48370         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
48371         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
48372         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
48373         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
48374         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
48375         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
48376         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
48377         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
48378         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
48379         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
48380         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
48381         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
48382         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
48383         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
48384         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
48385         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
48386         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
48387         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
48388         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
48389         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
48390         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
48391         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
48392         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
48393         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
48394         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
48395         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
48396         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
48397         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
48398         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
48399         (R_ARM_THM_GOT_BREL12): Likewise.
48400         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
48401         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
48402         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
48403         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
48404         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
48405         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
48406         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
48407         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
48408         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
48410 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48412         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48413         __attribute_used__ to __attribute__ ((unused)).
48415 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48417         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
48418         powerpc mpa.c.
48419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
48420         comment formatting.
48421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
48423 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
48425         [BZ #13550]
48426         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
48427         Remove macro.
48428         (ENTER): Remove both macro definitions.
48429         (LEAVE): Likewise.
48430         (CHECK_BOUNDS_LOW): Likewise.
48431         (CHECK_BOUNDS_HIGH): Likewise.
48432         (CHECK_BOUNDS_BOTH): Likewise.
48433         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
48434         (RETURN_BOUNDED_POINTER): Likewise.
48435         (RETURN_NULL_BOUNDED_POINTER): Likewise.
48436         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
48437         (POP_ERRNO_LOCATION_RETURN): Likewise.
48438         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
48439         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48440         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
48441         macros.
48442         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48443         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
48444         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
48445         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
48446         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
48447         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
48448         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
48449         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
48450         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
48451         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
48452         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
48453         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
48454         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48455         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
48456         removed macros.
48457         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48458         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
48459         macros.
48460         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48461         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
48462         * sysdeps/i386/i586/memset.S (memset): Likewise.
48463         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
48464         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48465         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
48466         macros.
48467         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48468         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
48469         Change uses of L(2) to L(out).
48470         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
48471         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
48472         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
48473         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48474         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
48475         removed macros.
48476         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48477         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
48478         macros.
48479         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48480         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
48481         (RETURN): Do not use macro LEAVE.
48482         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
48483         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
48484         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
48485         * sysdeps/i386/i686/memset.S (memset): Likewise.
48486         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
48487         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
48488         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48489         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
48490         Likewise.
48491         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48492         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
48493         L(1_2) and L(1_3) into L(1).
48494         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48495         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
48496         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48497         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
48498         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48499         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
48500         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
48501         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48502         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
48503         macros.
48504         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
48505         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48506         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
48507         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
48508         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
48509         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48510         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
48511         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
48512         * sysdeps/i386/strcspn.S (strcspn): Likewise.
48513         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
48514         * sysdeps/i386/strrchr.S (strrchr): Likewise.
48515         * sysdeps/i386/strspn.S (strspn): Likewise.
48516         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
48517         conditional code.
48518         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48519         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
48520         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48521         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
48522         L(1_3) into L(1_1).
48523         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
48524         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48525         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
48526         macros.
48527         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48529 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
48531         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
48532         macro.
48534 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48536         * math/atest-exp.c (exp_mpn): Remove ROUND.
48537         * math/atest-exp2.c (exp_mpn): Likewise.
48538         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
48540         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
48541         * stdlib/tst-tls-atexit-lib.c: Likewise.
48542         * stdlib/tst-tls-atexit.c: Likewise.
48544 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48546         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
48547         and __attribute_alloc_size__.
48549 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48551         * include/programs/xmalloc.h: Change __attribute_alloc_size to
48552         __attribute_alloc_size__.
48553         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
48554         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
48556 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48558         * include/programs/xmalloc.h: New file.
48559         * catgets/gencat.c: Include it.
48560         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
48561         * elf/pldd.c: Likewise.
48562         * iconv/iconv_charmap.c: Likewise.
48563         * iconv/iconvconfig.c: Likewise.
48564         * iconv/strtab.c: Likewise.
48565         * locale/programs/locale.c: Likewise.
48566         * locale/programs/localedef.h: Likewise.
48567         * locale/programs/simple-hash.c: Likewise.
48568         * nscd/nscd.h: Likewise.
48569         * nss/makedb.c: Likewise.
48570         * sysdeps/generic/ldconfig.h: Likewise.
48572 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48574         * Versions.def: Add GLIBC_2.18.
48575         * include/link.h (struct link_map): New member l_tls_dtor_count.
48576         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
48577         (__call_tls_dtors): Likewise.
48578         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
48579         __cxa_thread_atexit_impl.
48580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48581         Likewise.
48582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48583         Likewise.
48584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48585         Likewise.
48586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48587         Likewise.
48588         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
48590         Likewise.
48591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
48592         Likewise.
48593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48595         Likewise.
48596         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
48597         (tests): Add test case tst-tls-atexit.
48598         (modules-names): Add shared library for tst-tls-atexit.
48599         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
48600         (GLIBC_PRIVATE): Add __call_tls_dtors.
48601         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
48602         for libstdc++.
48603         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
48604         * stdlib/tst-tls-atexit.c: New test case.
48605         * stdlib/tst-tls-atexit-lib.c: New test case.
48607         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
48609         * elf/Versions (ld): Add _dl_find_dso_for_object.
48610         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
48611         * elf/dl-open.c (_dl_find_dso_for_object): New function.
48612         (dl_open_worker): Use _dl_find_dso_for_object.
48613         * elf/dl-sym.c (do_sym): Likewise.
48614         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
48616 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48618         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48619         Syntactic changes only.
48620         (_dl_runtime_profile): Do a tail-call to the resolved function.
48622 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
48624         [BZ #13550]
48625         * sysdeps/x86_64/bp-asm.h: Remove file.
48626         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48627         <bp-sym.h> and <bp-asm.h>.
48628         (__clone): Do not use BP_SYM.
48629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48630         <bp-sym.h> and <bp-asm.h>.
48631         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48632         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48633         "bp-asm.h".
48634         (_setjmp): Do not use BP_SYM.
48635         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48636         "bp-asm.h".
48637         (setjmp): Do not use BP_SYM.
48638         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48639         libc_hidden_def.
48640         (mempcpy): Do not use BP_SYM in weak_alias.
48641         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48642         "bp-asm.h".
48643         (strchr): Do not use BP_SYM.
48644         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48645         "bp-asm.h".
48646         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48647         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48648         (_start): Do not use BP_SYM.
48649         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48650         "bp-asm.h".
48651         (strcat): Do not use BP_SYM.
48652         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48653         "bp-asm.h".
48654         (STRCMP): Do not use BP_SYM.
48655         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48656         "bp-asm.h".
48657         (STRCPY): Do not use BP_SYM.
48658         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48659         "bp-asm.h".
48660         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
48661         "bp-asm.h".
48662         (FUNCTION): Do not use BP_SYM.
48663         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
48664         weak_alias.
48665         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
48667 2013-02-17  Andreas Jaeger  <aj@suse.de>
48669         * time/Versions: Sort entries.
48670         * string/Versions: Likewise.
48671         * resolv/Versions: Likewise.
48672         * posix/Versions: Likewise.
48673         * iconv/Versions: Likewise.
48674         * elf/Versions: Likewise.
48675         * wcsmbs/Versions: Likewise.
48677 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48679         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
48680         loop termination condition.
48682         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
48683         variable to calculate EZ.
48684         (__sqr): Likewise.
48686         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
48687         the lower precision input.
48689 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
48691         [BZ #13550]
48692         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
48693         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
48694         (run-via-rtld-prefix): Do not handle %-bp tests.
48695         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
48696         (all-object-suffixes): Remove .ob.
48697         (bppfx): Remove variable.
48698         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
48699         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
48700         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
48701         [$(build-bounded) = yes] (libtype.ob): Likewise.
48702         * Makerules (elide-routines.ob): Remove variable.
48703         (do-tests-clean): Do not handle *-bp.out.
48704         (common-mostlyclean): Do not handle *-bp and *-bp.out.
48705         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48706         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48707         (tests): Do not include $(tests-bp.out).
48708         (xtests): Do not include $(xtests-bp.out).
48709         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48710         [$(build-bounded) = yes] ($(addprefix
48711         $(objpfx),$(binaries-bounded))): Remove rule.
48712         ($(objpfx)%-bp.out): Remove rule.
48713         * config.make.in (build-bounded): Remove variable.
48714         * crypt/Makefile [$(build-bounded) = yes]
48715         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48716         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48717         append to variable.
48718         [$(build-bounded) = yes] (install-lib): Likewise.
48719         [$(build-bounded) = yes] (generated): Likewise.
48720         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48721         Remove rule.
48722         * intl/Makefile [$(build-bounded) = yes]
48723         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48724         * math/Makefile [$(build-bounded) = yes]
48725         ($(tests:%=$(objpfx)%-bp): Likewise.
48726         * misc/Makefile [$(build-bounded) = yes]
48727         ($(objpfx)tst-tsearch-bp): Likewise.
48728         * nptl/Makeconfig (bounded-thread-library): Remove variable.
48729         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48730         Remove dependency.
48731         * string/Makefile (o-objects.ob): Remove variable.
48732         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48733         (CFLAGS-.ob): Remove variable.
48734         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48735         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48736         both definitions of variable.
48737         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48738         (ASFLAGS-.ob): Remove variable.
48740 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
48742         [BZ #13550]
48743         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48744         Remove __BOUNDED_POINTERS__ from condition.
48745         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48746         * string/bits/string2.h [!__NO_STRING_INLINES &&
48747         !__BOUNDED_POINTERS__]: Likewise.
48748         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48749         Likewise.
48750         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48751         Remove conditional code.
48752         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48753         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48754         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48755         condition.
48757         [BZ #13550]
48758         * csu/libc-start.c: Do not include <bp-sym.h>.
48759         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48760         * elf/dl-open.c: Do not include <bp-sym.h>.
48761         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48762         * math/fegetenv.c: Do not include <bp-sym.h>.
48763         (fegetenv): Do not use BP_SYM in versioned symbols.
48764         * nptl/sysdeps/pthread/bits/libc-lockP.h
48765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48766         <bp-sym.h>.
48767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48768         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48770         (__pthread_mutex_destroy): Likewise.
48771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48772         (__pthread_mutex_lock): Likewise.
48773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48774         (__pthread_mutex_trylock): Likewise.
48775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48776         (__pthread_mutex_unlock): Likewise.
48777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48778         (__pthread_mutexattr_init): Likewise.
48779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48780         (__pthread_mutexattr_destroy): Likewise.
48781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48782         (__pthread_mutexattr_settype): Likewise.
48783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48784         (__pthread_rwlock_init): Likewise.
48785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48786         (__pthread_rwlock_destroy): Likewise.
48787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48788         (__pthread_rwlock_rdlock): Likewise.
48789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48790         (__pthread_rwlock_tryrdlock): Likewise.
48791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48792         (__pthread_rwlock_wrlock): Likewise.
48793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48794         (__pthread_rwlock_trywrlock): Likewise.
48795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48796         (__pthread_rwlock_unlock): Likewise.
48797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48798         (__pthread_key_create): Likewise.
48799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48800         (__pthread_setspecific): Likewise.
48801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48802         (__pthread_getspecific): Likewise.
48803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48804         Likewise.
48805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48806         (_pthread_cleanup_push_defer): Likewise.
48807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48808         (_pthread_cleanup_pop_restore): Likewise.
48809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48810         (pthread_setcancelstate): Likewise.
48811         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48812         <bp-sym.h>.
48813         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48814         (memchr): Do not use BP_SYM in weak_alias.
48815         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48816         (fegetenv): Do not use BP_SYM in versioned symbols.
48817         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48818         (fesetenv): Do not use BP_SYM in versioned symbols.
48819         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48820         (feupdateenv): Do not use BP_SYM in versioned symbols.
48821         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48822         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48823         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48824         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48825         (open64): Do not use BP_SYM in weak_alias.
48826         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48827         (fegetenv): Do not use BP_SYM in versioned symbols.
48828         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48829         (fesetenv): Do not use BP_SYM in versioned symbols.
48830         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48831         (feupdateenv): Do not use BP_SYM in versioned symbols.
48832         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48833         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48834         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48835         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48836         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48837         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48838         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48839         <bp-sym.h>.
48840         (__libc_start_main): Do not use BP_SYM.
48842 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48845         redundant return line.
48846         (norm): Likewise.
48847         (denorm): Likewise.
48848         (dbl_mp): Likewise.
48849         (sub_magnitudes): Likewise.
48850         (__add): Likewise.
48851         (__sub): Likewise.
48852         (__mul): Likewise.
48853         (__inv): Likewise.
48854         (__dvd): Likewise.
48855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48856         (norm): Likewise.
48857         (denorm): Likewise.
48858         (dbl_mp): Likewise.
48859         (sub_magnitudes): Likewise.
48860         (__add): Likewise.
48861         (__sub): Likewise.
48862         (__mul): Likewise.
48863         (__inv): Likewise.
48864         (__dvd): Likewise.
48866         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48867         instead of __mul.
48868         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48869         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48870         (cc32): Likewise.
48872         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48873         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48875         of __mul for squares.
48876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48877         function
48878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48879         Likewise.
48880         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48881         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48883 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48885         [BZ #13550]
48886         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48887         code.
48888         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48889         prototype or function definition.  Rename ubp_* variables and
48890         parameters.  Remove argv definitions conditional on
48891         [__BOUNDED_POINTERS__].
48892         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48893         * elf/dl-runtime.c (_dl_fixup): Likewise.
48894         * include/set-hooks.h (RUN_HOOK): Likewise.
48895         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48896         definition.
48897         * string/strcpy.c (strcpy): Do not use __unbounded.
48898         * sysdeps/generic/frame.h (struct layout): Likewise.
48899         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48900         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48901         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48902         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48903         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48904         (__backtrace): Likewise.
48905         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48906         use __ptrvalue.
48907         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48908         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48909         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48910         Likewise.
48911         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48912         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48913         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48914         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48915         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48916         Do not use __unbounded.
48917         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48918         Rename __unboundedrlimits parameter to rlimits in prototype.
48919         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48920         Do not use __unbounded.
48921         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48922         not use __ptrvalue.
48923         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48924         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48925         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48926         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48927         __ptrvalue or __unbounded.
48928         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48929         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48930         use __unbounded.
48931         (__new_msgctl): Do not use __ptrvalue.
48932         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48933         __unbounded.
48934         (__libc_msgrcv): Do not use __ptrvalue.
48935         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48936         startup_info): Do not use __unbounded.
48937         (__libc_start_main): Likewise.  Rename ubp_* variables and
48938         parameters.  Remove argv definitions conditional on
48939         [__BOUNDED_POINTERS__].
48940         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48941         __ptrvalue.
48942         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48943         use __unbounded.
48944         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48945         or __ptrvalue.
48946         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48947         use __unbounded.
48948         (__new_shmctl): Do not use __ptrvalue.
48949         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48950         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48951         Likewise.
48952         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48953         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48954         (__libc_sigaction): Likewise.
48955         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48956         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48957         Likewise.
48958         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48960 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48962         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48964         * string/mempcpy.c: Implement by calling memcpy.
48966 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48971         evaluation.
48973         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48974         values in the mantissa.
48976         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48977         minimize writes to Z.
48978         (sub_magnitudes): Simplify code a bit.
48980 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48982         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48983         from the message.  The linker prefixes all warnings with that already.
48985 2013-02-12  Andreas Schwab  <schwab@suse.de>
48987         [BZ #15078]
48988         * posix/regexec.c (extend_buffers): Add parameter min_len.
48989         (check_matching): Pass minimum needed length.
48990         (clean_state_log_if_needed): Likewise.
48991         (get_subexp): Likewise.
48992         * posix/Makefile (tests): Add bug-regex34.
48993         (bug-regex34-ENV): Define.
48994         * posix/bug-regex34.c: New file.
48996         [BZ #11561]
48997         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48998         elements compare against the byte sequence of it, not its name.
48999         * posix/Makefile (tests): Add bug-regex35.
49000         (bug-regex35-ENV): Define.
49001         * posix/bug-regex35.c: New file.
49003 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49005         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49006         comment.
49007         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49008         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49009         (CHECK_EOL): Add undef.
49011 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49013         * bits/stdlib-bsearch.h: New file.
49014         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49015         * stdlib/stdlib.h: Likewise.
49017 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49019         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49020         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49021         declaration.
49022         * manual/search.texi (Array Search Function): Add missing const in
49023         lfind prototype.
49024         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49025         declaration to use rlim_t.
49026         (Basic Scheduling Functions): Remove erroneous const from
49027         sched_getparam prototype.  Remove erroneous * from
49028         sched_get_priority_max and sched_get_priority_min prototypes.
49029         (Resource Usage): Fix summary @comment on vtimes to refer to
49030         sys/vtimes.h rather than vtimes.h.
49031         Add missing *s in vtimes prototype.
49032         (Limits on Resources): Fix ulimit prototype to return long int.
49033         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49034         prototypes to use long int rather than double.
49035         (BSD Random): Fix initstate and setstate to use char *, not void *.
49036         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49037         prototype to make second argument 'struct aiocb64 *const[]'.
49038         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49039         (Status of AIO Operations): Remove erroneous const in aio_return and
49040         aio_return64 prototypes.
49041         (Synchronizing I/O): Fix sync prototype to return void.
49042         * manual/startup.texi (Suboptions): Remove an erroneous const in
49043         getsubopt prototype.
49044         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49045         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49046         use size_t rather than int.
49047         (Scanning All Users): Likewise for getpwent_r.
49048         (Setting Groups): Add missing const to setgroups prototype.
49049         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49050         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49051         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49052         'const void *' rather than 'const char *'.
49053         (Host Address Functions): Likewise for inet_ntop.
49054         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49055         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49056         ssize_t for return value.
49057         (Sending Data): Likewise for send, sendto, sendmsg.
49058         (Socket Option Functions): Add a missing const in setsockopt prototype.
49059         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49060         use wchar_t for the argument.
49061         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49062         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49063         take no arguments.
49064         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49065         double/float/long double for second argument.
49066         Fix return types of significand, significandf, significandl.
49067         * manual/filesys.texi (Setting Permissions): Use mode_t for second
49068         argument in fchmod prototype.
49069         (File Owner): Use uid_t and gid_t in fchown prototype.
49070         (File Times): Add const to utimes, futimes, and lutimes prototypes.
49071         (Making Special Files): Use mode_t and dev_t in mknod prototype.
49072         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49073         use 'const struct dirent **' as argument types to CMP function pointer
49074         argument.
49075         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49076         (File Times): Fix summary magic @comment for struct utimbuf and utime
49077         to refer to utime.h, not time.h.
49078         * manual/string.texi (Argz Functions): Add missing const in
49079         argz_extract and argz_next prototypes.
49080         (Finding Tokens in a String): Likewise for basename.
49081         (String/Array Comparison): Fix typo in wcscasecmp prototype.
49082         (Copying and Concatenation): Fix typo in wmemmove prototype.
49083         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49084         (Signal Stack): Remove erroneous const in sigstack prototype.
49085         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49086         prototype.
49087         (Simple Calendar Time): Likewise for stime.
49088         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49089         prototype.
49090         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49091         say sys/sysctl.h instead.
49092         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49093         and vsyslog prototypes.
49095 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49097         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49098         Remove.
49100 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49102         * misc/sys/mman.h: Fix typo in mremap comment.
49104 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49106         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49107         the '\0' terminator.
49109 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49111         [BZ #13550]
49112         * debug/segfault.c: Don't include <bp-checks.h>.
49113         * sysdeps/generic/bp-checks.h: Remove file.
49114         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49115         (__GETDENTS): Don't use CHECK_N.
49116         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49117         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49118         (__getgroups): Don't use CHECK_N.
49119         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49120         (setgroups): Don't use CHECK_N.
49121         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49122         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49123         (__libc_msgrcv): Don't use CHECK_N.
49124         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49125         (__libc_msgsnd): Don't use CHECK_N.
49126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49127         <bp-checks.h>.
49128         (__libc_pread): Don't use CHECK_N.
49129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
49130         include <bp-checks.h>.
49131         (__libc_pread64): Don't use CHECK_N.
49132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
49133         include <bp-checks.h>.
49134         (__libc_pwrite): Don't use CHECK_N.
49135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
49136         include <bp-checks.h>.
49137         (__libc_pwrite64): Don't use CHECK_N.
49138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
49139         <bp-checks.h>.
49140         (__libc_pread): Don't use CHECK_N.
49141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
49142         include <bp-checks.h>.
49143         (__libc_pread64): Don't use CHECK_N.
49144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
49145         include <bp-checks.h>.
49146         (__libc_pwrite): Don't use CHECK_N.
49147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49148         include <bp-checks.h>.
49149         (__libc_pwrite64): Don't use CHECK_N.
49150         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
49151         (do_pread): Don't use CHECK_N.
49152         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
49153         (do_pread64): Don't use CHECK_N.
49154         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
49155         (do_pwrite): Don't use CHECK_N.
49156         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49157         (do_pwrite64): Don't use CHECK_N.
49158         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
49159         (__libc_readv): Don't use CHECK_N.
49160         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
49161         (semop): Don't use CHECK_N.
49162         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
49163         <bp-checks.h>.
49164         (semtimedop): Don't use CHECK_N.
49165         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
49166         (__libc_pread): Don't use CHECK_N.
49167         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
49168         <bp-checks.h>.
49169         (__libc_pread64): Don't use CHECK_N.
49170         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
49171         <bp-checks.h>.
49172         (__libc_pwrite): Don't use CHECK_N.
49173         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
49174         <bp-checks.h>.
49175         (__libc_pwrite64): Don't use CHECK_N.
49176         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
49177         <bp-checks.h>.
49178         (__libc_msgrcv): Don't use CHECK_N.
49179         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
49180         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
49181         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
49182         (__libc_writev): Don't use CHECK_N.
49184 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49186         * string/strcpy.c: Removed unused variable.
49188         * Makeconfig (+sysdep-includes): Define with := rather than =.
49189         Use an existing include/ subdir of each sysdeps dir before it.
49191 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49193         * nscd/connection.c (register_traced_file): Comment function.
49194         [HAVE_INOTIFY] (union __inev): Define.
49195         [HAVE_INOTIFY] (inotify_check_files): New function.
49196         [HAVE_INOTIFY] (clear_db_cache): Likewise.
49197         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
49198         clear_db_cache.
49199         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
49201 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49203         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
49204         loaded if not already and that a failure is permanent.
49206 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49208         [BZ #15006]
49209         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
49210         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
49212 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49214         [BZ #13550]
49215         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
49216         (CHECK_1_NULL_OK): Likewise.
49217         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
49218         (__fxstat): Do not use CHECK_1.
49219         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
49220         <bp-checks.h>.
49221         (___fxstat64): Do not use CHECK_1.
49222         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49223         <bp-checks.h>.
49224         (__fxstatat): Do not use CHECK_1.
49225         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49226         <bp-checks.h>.
49227         (__fxstatat64): Do not use CHECK_1.
49228         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
49229         <bp-checks.h>.
49230         (__fxstat): Do not use CHECK_1.
49231         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49232         <bp-checks.h>.
49233         (__fxstatat): Do not use CHECK_1.
49234         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49235         <bp-checks.h>.
49236         (__getresgid): Do not use CHECK_1.
49237         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49238         <bp-checks.h>.
49239         (__getresuid): Do not use CHECK_1.
49240         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
49241         <bp-checks.h>.
49242         (__lxstat): Do not use CHECK_1.
49243         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49244         <bp-checks.h>.
49245         (__old_msgctl): Do not use CHECK_1.
49246         (__new_msgctl): Likewise.
49247         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
49248         <bp-checks.h>.
49249         (__new_setrlimit): Do not use CHECK_1.
49250         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49251         <bp-checks.h>.
49252         (__old_shmctl): Do not use CHECK_1.
49253         (__new_shmctl): Likewise.
49254         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
49255         <bp-checks.h>.
49256         (__xstat): Do not use CHECK_1.
49257         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
49258         (__lxstat): Do not use CHECK_1.
49259         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
49260         <bp-checks.h>.
49261         (___lxstat64): Do not use CHECK_1.
49262         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
49263         (__old_msgctl): Do not use CHECK_1.
49264         (__new_msgctl): Likewise.
49265         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
49266         <bp-checks.h>.
49267         (__gettimeofday): Do not use CHECK_1.
49268         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
49269         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
49270         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
49271         <bp-checks.h>.
49272         (__gettimeofday): Do not use CHECK_1.
49273         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
49274         (__old_shmctl): Do not use CHECK_1_NULL_OK.
49275         (__new_shmctl): Do not use CHECK_1.
49276         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
49277         <bp-checks.h>.
49278         (do_sigtimedwait): Do not use CHECK_1.
49279         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
49280         <bp-checks.h>.
49281         (do_sigwaitinfo): Do not use CHECK_1.
49282         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
49283         <bp-checks.h>.
49284         (msgctl): Do not use CHECK_1.
49285         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
49286         <bp-checks.h>.
49287         (shmctl): Do not use CHECK_1.
49288         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
49289         (ustat): Do not use CHECK_1.
49290         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
49291         <bp-checks.h>.
49292         (__fxstat): Do not use CHECK_1.
49293         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49294         <bp-checks.h>.
49295         (__fxstatat): Do not use CHECK_1.
49296         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
49297         <bp-checks.h>.
49298         (__lxstat): Do not use CHECK_1.
49299         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
49300         <bp-checks.h>.
49301         (__xstat): Do not use CHECK_1.
49302         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
49303         (__xstat): Do not use CHECK_1.
49304         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
49305         (___xstat64): Do not use CHECK_1.
49307         [BZ #13550]
49308         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
49309         definitions.
49310         (CHECK_BOUNDS_HIGH): Likewise.
49311         * string/strcpy.c: Do not include <bp-checks.h>.
49312         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
49314 2013-02-07  Roland McGrath  <roland@hack.frob.com>
49316         * nscd/nscd-client.h (__nscd_drop_map_ref):
49317         Add __attribute__ ((unused)).
49318         * nis/nss-nisplus.h (niserr2nss): Likewise.
49320         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
49321         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
49323         * csu/libc-tls.c (init_static_tls, init_slotinfo):
49324         Remove inline keyword.
49325         * include/rounding-mode.h (round_away): Likewise.
49326         * libio/wfileops.c (adjust_wide_data): Likewise.
49327         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
49328         (__m128i_strloadu_tolower): Likewise.
49329         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
49330         (__m128i_strloadu_tolower): Likewise.
49331         * time/mktime.c (ydhms_diff): Likewise.
49332         * locale/elem-hash.h (elem_hash): Likewise.
49333         * locale/setlocale.c (setdata): Likewise.
49334         * posix/regex_internal.h (re_string_char_size_at): Likewise.
49335         (re_string_wchar_at): Likewise.
49336         (bitset_not, bitset_merge, bitset_mask): Likewise.
49337         [!(__GNUC__ > 3)] (inline): Remove macro.
49338         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
49339         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
49340         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
49341         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
49342         * string/memcmp.c (memcmp_bytes): Likewise.
49343         * locale/programs/locarchive.c (compute_hashval): Likewise.
49344         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
49345         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
49346         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
49347         * nss/getent.c (print_rpc, print_protocols): Likewise.
49348         (print_passwd, print_group, print_aliases): Likewise.
49349         * nis/nss-nisplus.h (niserr2nss): Likewise.
49350         * nscd/connections.c (restart_p): Likewise.
49351         Change return type to bool.
49353 2013-02-05  Roland McGrath  <roland@hack.frob.com>
49355         * Makeconfig (all-Depend-files): Add existing
49356         $(sorted-subdirs:=/Depend) files.
49357         (all-subdirs): Remove nss.
49358         * sysdeps/unix/inet/Subdirs: Add it here instead.
49359         * hesiod/Depend: New file.
49361         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
49362         instead of calling alloca.
49364         * io/lseek.c (__lseek): Rename to __libc_lseek.
49365         Define __lseek as an alias.
49367         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
49369 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
49371         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
49372         else clause and remove check for non-standard endianness.
49374 2013-02-04  David S. Miller  <davem@davemloft.net>
49376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49378 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
49380         [BZ #13550]
49381         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
49382         (__ubp_memchr): Remove prototype.
49383         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
49384         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49385         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
49386         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49387         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
49388         Remove alias.
49389         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
49390         (__ubp_memchr): Likewise.
49391         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
49392         (__ubp_memchr): Likewise.
49393         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
49394         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
49395         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
49396         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
49397         CHECK_STRING.
49398         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49399         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
49400         (__getcwd): Do not use CHECK_STRING.
49401         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49402         <bp-checks.h>.
49403         (__real_chown): Do not use CHECK_STRING.
49404         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
49405         <bp-checks.h>.
49406         (fchownat): Do not use CHECK_STRING.
49407         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
49408         CHECK_STRING.
49409         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49410         <bp-checks.h>.
49411         (__lchown): Do not use CHECK_STRING.
49412         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49413         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49414         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49415         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
49416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49417         include <bp-checks.h>.
49418         (truncate64): Do not use CHECK_STRING.
49419         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49420         <bp-checks.h>.
49421         (__real_chown): Do not use CHECK_STRING.
49422         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49423         <bp-checks.h>.
49424         (__lchown): Do not use CHECK_STRING.
49425         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49426         <bp-checks.h>.
49427         (__chown): Do not use CHECK_STRING.
49428         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
49429         <bp-checks.h>.
49430         (truncate64): Do not use CHECK_STRING.
49431         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
49432         Likewise.
49433         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
49434         (__xmknod): Do not use CHECK_STRING.
49435         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49436         <bp-checks.h>.
49437         (__xmknodat): Do not use CHECK_STRING.
49438         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49439         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
49441 2013-02-04  Andreas Schwab  <schwab@suse.de>
49443         [BZ #14142]
49444         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
49445         * include/netdb.h: Likewise for h_errno.
49446         * elf/tst-stackguard1.c: Include <tls.h>.
49448 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
49450         * elf/link.h (struct link_map): Extend the l_addr comment.
49451         * include/link.h (struct link_map): Likewise.
49453 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
49455         [BZ #13550]
49456         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
49457         (BOUNDED_1): Remove macro.
49458         * debug/backtrace.c: Don't include <bp-checks.h>.
49459         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
49460         (__backtrace): Likewise.
49461         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
49462         <bp-checks.h>.
49463         (__backtrace): Don't use BOUNDED_1.
49464         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
49465         <bp-checks.h>.
49466         (__backtrace): Don't use BOUNDED_1.
49467         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
49468         (__backtrace): Don't use BOUNDED_1.
49469         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
49470         (shmat): Don't use BOUNDED_N.
49472 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
49474         [BZ #13550]
49475         * sysdeps/generic/bp-start.h: Remove file.
49476         * csu/libc-start.c: Don't include <bp-start.h>.
49477         (LIBC_START_MAIN): Set up __environ directly instead of using
49478         INIT_ARGV_and_ENVIRON.
49479         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
49480         <bp-start.h>.
49482         [BZ #13550]
49483         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
49484         definitions.
49485         (CHECK_FCNTL): Likewise.
49486         (CHECK_N_PAGES): Likewise.
49488         [BZ #13550]
49489         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
49490         definitions.
49491         (CHECK_SIGSET_NULL_OK): Likewise.
49492         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
49493         <bp-checks.h>.
49494         (sigpending): Don't use CHECK_SIGSET.
49495         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
49496         <bp-checks.h>.
49497         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49498         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
49499         <bp-checks.h>.
49500         (do_sigsuspend): Don't use CHECK_SIGSET.
49501         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
49502         use CHECK_SIGSET.
49503         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
49504         (do_sigwait): Don't use CHECK_SIGSET.
49505         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
49506         use CHECK_SIGSET.
49507         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
49508         include <bp-checks.h>.
49509         (sigpending): Don't use CHECK_SIGSET.
49510         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
49511         include <bp-checks.h>.
49512         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49513         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
49514         <bp-checks.h>.
49515         (sigpending): Don't use CHECK_SIGSET.
49516         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
49517         <bp-checks.h>.
49518         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49520         [BZ #13550]
49521         * sysdeps/generic/bp-semctl.h: Remove file.
49522         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
49523         <bp-checks.h> and <bp-semctl.h>.
49524         (__old_semctl): Don't use CHECK_SEMCTL.
49525         (__new_semctl): Likewise.
49526         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
49527         and <bp-semctl.h>.
49528         (__old_semctl): Don't use CHECK_SEMCTL.
49529         (__new_semctl): Likewise.
49530         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
49531         <bp-checks.h> and <bp-semctl.h>.
49532         (__old_semctl): Don't use CHECK_SEMCTL.
49533         (__new_semctl): Likewise.
49534         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
49535         <bp-checks.h> and <bp-semctl.h>.
49536         (semctl): Don't use CHECK_SEMCTL.
49538         [BZ #13550]
49539         * Makerules (elide-bp-thunks): Remove variable.
49540         (elide-routines.oS): Don't use $(elide-bp-thunks).
49541         (elide-routines.os): Likewise.
49542         (elide-routines.o): Likewise.
49543         (elide-routines.op): Likewise.
49544         (elide-routines.og): Likewise.
49545         (objects): Don't use $(bp-thunks).
49546         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
49547         include.
49548         (common-generated): Do not add s-proto-bp.d.
49549         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
49550         (int): Likewise.
49551         (typ): Likewise.
49552         Do not generate makefile rules for bounded-pointer thunks.
49553         * sysdeps/generic/bp-thunks.h: Remove file.
49554         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
49555         * sysdeps/unix/s-proto-bp.S: Likewise.
49557         [BZ #15062]
49558         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
49559         parts of result separately when argument is not close to line from
49560         -i to i and one part of argument is small.
49561         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49562         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49563         * math/libm-test.inc (cacos_test): Add more tests.
49564         (casin_test): Likewise.
49565         (casinh_test): Likewise.
49566         * sysdeps/i386/fpu/libm-test-ulps: Update.
49567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49569 2013-01-31  David S. Miller  <davem@davemloft.net>
49571         * po/de.po: Update from translation team.
49573 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
49575         * time/tzfile.c: Include stdint.h for SIZE_MAX.
49577 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
49579         * configure.in (_AC_PROG_CC_C89): New definition.
49580         * configure: Regenerate.
49582         * configure.in (AC_PROG_CPP): New definition.
49583         * configure: Regenerate.
49585 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49587         * debug/tst-backtrace.h: New file.
49588         * debug/tst-backtrace2.c: Include tst-backtrace.h.
49589         (ret): Remove variable.
49590         (x): Likewise.
49591         (FAIL): Remove macro.
49592         (NO_INLINE): Likewise.
49593         (fn1): Use match function instead of strstr.
49594         * debug/tst-backtrace3.c: Include tst-backtrace.h.
49595         (ret): Remove variable.
49596         (x): Likewise.
49597         (FAIL): Remove macro.
49598         (NO_INLINE): Likewise.
49599         (fn): Use match function instead of strstr.
49600         * debug/tst-backtrace4.c: Include tst-backtrace.h.
49601         (ret): Remove variable.
49602         (x): Likewise.
49603         (FAIL): Remove macro.
49604         (NO_INLINE): Likewise.
49605         (handle_signal): Use match function instead of strstr.
49606         * debug/tst-backtrace5.c: Include tst-backtrace.h.
49607         (ret): Remove variable.
49608         (x): Likewise.
49609         (FAIL): Remove macro.
49610         (NO_INLINE): Likewise.
49611         (handle_signal): Use match function instead of strstr.
49613 2013-01-23  Roland McGrath  <roland@hack.frob.com>
49615         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
49617 2013-01-23  David S. Miller  <davem@davemloft.net>
49619         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49620         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49621         argument of CAS if possible.
49622         * sysdeps/sparc/sparc64/bits/atomic.h
49623         (__arch_compare_and_exchange_val_32_acq): Likewise.
49624         (__arch_compare_and_exchange_val_64_acq): Likewise.
49626 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
49628         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49629         * sysdeps/posix/ulimit.c: ... this.
49630         Include <limits.h>.
49631         * sysdeps/unix/bsd/ulimit.c: Remove file.
49633 2013-01-23  Adam Conrad  <adconrad@0c3.net>
49635         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49636         (LDFLAGS-tst-array5): Likewise.
49638 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49640         [BZ #15036]
49641         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49642         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49643         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49644         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49646 2013-01-21  David S. Miller  <davem@davemloft.net>
49648         * sysdeps/sparc/backtrace.c: New file.
49649         * sysdeps/sparc/sparc32/backtrace.h: New file.
49650         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49651         * sysdeps/sparc/sparc64/backtrace.h: New file.
49652         * sysdeps/sparc/sparc64/backtrace.c: Delete.
49653         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49654         -funwind-tables.
49656 2013-01-21  Andreas Schwab  <schwab@suse.de>
49658         [BZ #15020]
49659         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49660         closed its stdout.
49662 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
49664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
49665         "mpa2.h".
49666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49668 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
49669             Mark Mitchell  <mark@codesourcery.com>
49670             Tom de Vries  <tom@codesourcery.com>
49671             Paul Pluzhnikov  <ppluzhnikov@google.com>
49673         * debug/tst-backtrace2.c: New file.
49674         * debug/tst-backtrace3.c: Likewise.
49675         * debug/tst-backtrace4.c: Likewise.
49676         * debug/tst-backtrace5.c: Likewise.
49677         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
49678         (CFLAGS-tst-backtrace3.c): Likewise.
49679         (CFLAGS-tst-backtrace4.c): Likewise.
49680         (CFLAGS-tst-backtrace5.c): Likewise.
49681         (LDFLAGS-tst-backtrace2): Likewise.
49682         (LDFLAGS-tst-backtrace3): Likewise.
49683         (LDFLAGS-tst-backtrace4): Likewise.
49684         (LDFLAGS-tst-backtrace5): Likewise.
49685         (tests): Add new tests tst-backtrace2, tst-backtrace3,
49686         tst-backtrace4 and tst-backtrace5.
49688 2013-01-18  Anton Blanchard  <anton@samba.org>
49689             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49691         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
49692         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
49693         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49694         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
49695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49696         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
49697         "+r" and remove output regs list as redundant.  Add explicit inline
49698         asm to specify register of return val to work around compiler codegen
49699         bug.  Remove (int) cast on return value.  Add return type parameter to
49700         use in macro so that this macro does not truncate return value for
49701         64-bit values.
49702         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
49703         pass to INTERNAL_VSYSCALL_NCS.
49704         (INLINE_VSYSCALL): Add 'long int' as return type to
49705         INTERNAL_VSYSCALL_NCS macro invocation.
49706         (INTERNAL_VSYSCALL): Add 'long int' as return type to
49707         INTERNAL_VSYSCALL_NCS macro invocation.
49708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49710 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49712         [BZ #14496]
49713         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49714         Fix application of SIMD FP exception mask.
49716         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49717         mp_no from a power of two.
49718         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49719         __mpexp_twomm1.  Use __pow_mp.
49721         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49722         multiplication.
49724 2013-01-17  David S. Miller  <davem@davemloft.net>
49726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49728 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49730         [BZ #15023]
49731         * include/complex.h: Condition contents on [!_COMPLEX_H].
49732         (__kernel_casinhf): New prototype.
49733         (__kernel_casinh): Likewise.
49734         (__kernel_casinhl): Likewise.
49735         * math/Makefile (libm_calls): Add k_casinh.
49736         * math/k_casinh.c: New file.
49737         * math/k_casinhf.c: Likewise.
49738         * math/k_casinhl.c: Likewise.
49739         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49740         finite nonzero arguments.
49741         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49742         finite nonzero arguments.
49743         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49744         finite nonzero arguments.
49745         * math/s_casinh.c: Do not include <float.h>.
49746         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49747         * math/s_casinhf.c: Do not include <float.h>.
49748         (__casinhf): Move code for finite nonzero arguments to
49749         k_casinhf.c.
49750         * math/s_casinhl.c: Do not include <float.h>.
49751         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49752         redefine.
49753         (__casinhl): Move code for finite nonzero arguments to
49754         k_casinhl.c.
49755         * math/libm-test.inc (cacos_test): Add more tests.
49756         * sysdeps/i386/fpu/libm-test-ulps: Update.
49757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49759 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49761         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49762         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49763         [!HAVE_MREMAP]: Remove [defined linux] case.
49764         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49766 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49768         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49770 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49772         * elf/elf.h (R_386_SIZE32): New relocation.
49773         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49774         R_386_SIZE32.
49775         (elf_machine_rela): Likewise.
49776         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49777         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49779 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49781         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49782         (FP_FAST_FMA): Do not define.
49783         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49784         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49785         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49786         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49787         !_SOFT_FLOAT]: Likewise.
49788         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49789         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49790         value.
49791         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49792         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49793         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49794         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49795         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49796         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49797         file.
49799 2013-01-16  Andreas Schwab  <schwab@suse.de>
49801         [BZ #14327]
49802         * include/stdlib.h (__mktemp): Add declaration.
49803         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49804         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49806 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49808         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49809         definitions.
49810         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49811         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49812         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49813         definitions here.
49814         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49815         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49816         definitions.
49817         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49818         and ONE.
49819         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49820         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49821         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49822         definitions.
49823         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49824         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49825         definitions.
49826         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49828         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49830 2013-01-15  David S. Miller  <davem@davemloft.net>
49832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49833         trunc{,f} to libm-sysdep_routes.
49834         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49836         file.
49837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49839         file.
49840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49841         file.
49842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49844         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49845         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49846         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49847         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49848         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49849         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49852         nearbyint{,f} to libm-sysdep_routes.
49853         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49855         New file.
49856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49857         file.
49858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49859         New file.
49860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49861         file.
49862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49864         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49865         file.
49866         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49867         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49868         file.
49869         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49870         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49871         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49873         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49874         libc_feholdexcept and libc_fesetenv.
49876 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49878         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49880 2013-01-14  David S. Miller  <davem@davemloft.net>
49882         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49883         (SPARC_ASM_VIS2_IFUNC): Likewise.
49884         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49886         use of 'siam' instruction.
49887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49888         Likewise.
49889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49890         Likewise.
49891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49892         Likewise.
49893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49898         file.
49899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49900         file.
49901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49902         file.
49903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49904         file.
49905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49910         new VIS2 routines.
49911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49914         Likewise.
49915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49920         routines to libm-sysdep_routines.
49921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49924         fdim/fdimf to libm-sysdep_routines.
49925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49926         file.
49927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49929         file.
49930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49933         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49934         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49935         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49936         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49938 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49940         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49941         to optimize copies.
49943         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49948         local variable MPTWO.
49949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49950         Likewise.
49952 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49954         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49955         GLOB_NOESCAPE.
49957 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49959         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49961 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49963         * manual/pattern.texi (glob_t): Document gl_flags.
49964         (glob64_t): Likewise.
49966 2013-01-11  David S. Miller  <davem@davemloft.net>
49968         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49969         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49970         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49971         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49972         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49973         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49974         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49975         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49976         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49977         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49978         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49979         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49980         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49982         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49983         sparc V9 rather than using V8 code.
49984         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49985         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49987         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49988         Move to...
49989         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49990         Here.
49992 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49994         [BZ #14941]
49995         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49996         not in the main loop.
49997         * configure: Regenerated.
49999 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50001         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50002         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50003         to just #else.
50004         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50005         [!__GLIBC_HAVE_LONG_LONG] case.
50006         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50007         condition to just #else.
50008         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50009         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50010         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50011         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50012         unconditional.
50013         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50014         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50015         #elif condition to just #else.
50016         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50017         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50018         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50019         #elif condition to just #else.
50021 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50023         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50024         (EF_MIPS_ARCH_64): Fix value.
50025         (EF_MIPS_ARCH_32R2): New.
50026         (EF_MIPS_ARCH_64R2): New.
50028 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
50030         * Makeconfig (+link-pie-before-libc): New.
50031         (+link-pie-after-libc): Likewise.
50032         (+link-pie-tests): Likewise.
50033         (+link-pie): Rewritten.
50034         (link-before-libc): Remove $(config-LDFLAGS).
50035         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50036         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50037         (config-LDFLAGS): Renamed to ...
50038         (rtld-LDFLAGS): This.
50039         (rtld-tests-LDFLAGS): New macro.
50040         (link-libc-rpath-link): Likewise.
50041         (link-libc-tests-rpath-link): Likewise.
50042         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50043         (link-libc): Prepand $(link-libc-rpath-link).
50044         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50045         (test-program-prefix): New macro.
50046         (test-via-rtld-prefix): Likewise.
50047         (test-program-cmd): Likewise.
50048         (host-test-program-cmd): Likewise.
50049         * Makefile ($(common-objpfx)testrun.sh): Replace
50050         $(run-program-prefix) with $(test-program-prefix).
50051         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50052         $(rtld-LDFLAGS).
50053         ($(common-objpfx)shlib.lds): Likewise.
50054         (build-module-helper): Likewise.
50055         ($(common-objpfx)format.lds): Likewise.
50056         * Rules (binaries-pie-tests): New.
50057         (binaries-pie-notests): Likewise.
50058         (binaries-pie): Rewritten.
50059         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50060         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50061         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50062         (make-test-out): Replace $(host-built-program-cmd) with
50063         $(host-test-program-cmd).
50064         * config.make.in (build-hardcoded-path-in-tests): New variable.
50065         * configure.in (--enable-hardcoded-path-in-tests): New configure
50066         option.
50067         (hardcoded_path_in_tests): New AC_SUBST.
50068         * configure: Regenerated.
50069         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50070         $(built-program-cmd) with $(test-program-cmd).
50071         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50072         (test_program_cmd): This.
50073         * elf/Makefile ($(objpfx)order.out): Run test with
50074         $(test-program-prefix).
50075         ($(objpfx)order2.out): Likewise.
50076         ($(objpfx)tst-initorder.out): Likewise.
50077         ($(objpfx)tst-initorder2.out): Likewise.
50078         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50079         $(test-program-cmd).
50080         ($(objpfx)tst-array1-static.out): Likewise.
50081         ($(objpfx)tst-array2.out): Likewise.
50082         ($(objpfx)tst-array3.out): Likewise.
50083         ($(objpfx)tst-array4.out): Likewise.
50084         ($(objpfx)tst-array5.out): Likewise.
50085         ($(objpfx)tst-array5-static.out): Likewise.
50086         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50087         $(test-program-cmd).
50088         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50089         $(run-program-prefix) with $(test-program-prefix).
50090         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50091         (test_program_prefix): This.
50092         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50093         $(run-program-prefix) with $(test-program-prefix).
50094         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50095         (test_program_prefix): This.
50096         * iconvdata/tst-tables.sh: Likewise.
50097         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50098         $(run-program-prefix) with $(test-program-prefix).
50099         ($(objpfx)tst-translit.out): Likewise.
50100         ($(objpfx)tst-gettext2.out): Likewise.
50101         ($(objpfx)tst-gettext4.out): Likewise.
50102         ($(objpfx)tst-gettext6.out): Likewise.
50103         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50104         (test_program_prefix): This.
50105         * intl/tst-gettext2.sh: Likewise.
50106         * intl/tst-gettext4.sh  Likewise.
50107         * intl/tst-gettext6.sh: Likewise.
50108         * intl/tst-translit.sh: Likewise.
50109         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50110         with $(test-program-cmd).
50111         * libio/Makefile ($(objpfx)test-freopen.out): Replace
50112         $(run-program-prefix) with $(test-program-prefix).
50113         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50114         (test_program_prefix): This.
50115         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50116         $(run-program-prefix) with $(test-program-prefix).
50117         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50118         (test_program_prefix): This.
50119         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50120         * posix/Makefile ($(objpfx)globtest.out): Replace
50121         $(run-via-rtld-prefix) and $(test-wrapper) with
50122         $(test-program-prefix) and $(test-via-rtld-prefix).
50123         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50124         $(test-program-prefix).
50125         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50126         $(host-test-program-cmd).
50127         (tst-spawn-ARGS): Likewise.
50128         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50129         $(test-program-prefix).
50130         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
50131         (test_via_rtld_prefix): This.
50132         (test_wrapper): Renamed to ...
50133         (test_program_prefix): This.
50134         (run_program_prefix): Replaced by test_program_prefix.
50135         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
50136         (test_program_prefix): This.
50137         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
50138         with $(host-test-program-cmd).
50139         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
50140         $(run-program-prefix) with $(test-program-prefix).
50141         ($(objpfx)tst-printf.out): Likewise.
50142         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
50143         $(test-program-cmd).
50144         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
50145         (test_program_prefix): This.
50146         * stdio-common/tst-unbputc.sh: Likewise.
50147         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
50148         $(run-program-prefix) with $(test-program-prefix).
50149         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
50150         (test_program_prefix): This.
50151         * string/Makefile ($(objpfx)tst-svc.out):  Replace
50152         $(built-program-cmd) with $(test-program-cmd).
50154 2013-01-11  Andreas Jaeger  <aj@suse.de>
50156         [BZ #15003]
50157         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
50158         value. Sync with Linux 3.7.
50160 2013-01-10  David S. Miller  <davem@davemloft.net>
50162         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
50163         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50164         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50166 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50168         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
50169         never set.
50170         * configure: Regenerated.
50172 2013-01-10  David S. Miller  <davem@davemloft.net>
50174         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50175         sparc V9 rather than using V8 code.
50176         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50177         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50179 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50181         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
50182         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
50183         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
50184         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
50185         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
50186         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
50187         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
50188         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
50189         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
50190         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
50191         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
50192         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
50193         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
50194         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
50195         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
50196         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
50197         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
50198         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
50199         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
50200         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
50201         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
50202         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50203         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
50204         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
50205         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
50206         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
50207         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
50209 2013-01-10  David S. Miller  <davem@davemloft.net>
50211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50213 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50215         * posix/Makefile (tests-static): New variable.
50216         (tests): Add $(tests-static).
50217         (tst-exec-static-ARGS): New variable.
50218         (tst-spawn-static-ARGS): Likewise.
50219         * posix/tst-exec-static.c: New file.
50220         * posix/tst-spawn-static.c: Likewise.
50221         * posix/tst-exec.c: Support run directly.
50222         * posix/tst-spawn.c: Likewise.
50224 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
50226         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
50227         long.
50228         * math/bits/mathcalls.h (llrint): Likewise.
50229         (llround): Likewise.
50230         * stdlib/stdlib.h (struct drand48_data): Likewise.
50231         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
50232         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
50233         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
50234         Likewise.
50235         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
50236         Likewise.
50237         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
50238         (elf_greg_t): Likewise.
50239         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
50240         (__jmp_buf): Likewise.
50241         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
50242         definitions.
50243         (llrint): Likewise, for all definitions.
50244         (llrintl): Likewise.
50246         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
50247         Remove [__GNUC__] condition.
50248         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
50249         condition to just [__USE_ISOC99].
50250         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
50252 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50254         [BZ #14200]
50255         * sysdeps/unix/sysv/linux/x86/bits/environments.h
50256         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
50257         defined.
50258         (_POSIX_V6_ILP32_OFF32): Likewise.
50259         (_XBS5_ILP32_OFF32): Likewise.
50260         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
50261         (__ILP32_OFFBIG_LDFLAGS): Likewise.
50263 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50265         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
50267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
50268         doubles __mpexp_twomm1.  Adjust usage.
50269         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
50270         Remove.
50272 2013-01-10  Andreas Schwab  <schwab@suse.de>
50274         [BZ #14964]
50275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
50276         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
50278 2013-01-09  David S. Miller  <davem@davemloft.net>
50280         [BZ #15003]
50281         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
50282         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
50283         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
50284         (TCP_FASTOPEN): Define.
50285         (tcp_repair_opt): New structure.
50286         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
50287         enum values.
50288         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
50289         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
50290         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
50291         (tcp_cookie_transactions): New structure.
50293 2013-01-09  Anton Blanchard  <anton@samba.org>
50295         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
50296         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
50297         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
50298         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
50300 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
50302         * include/features.h (__USE_ANSI): Remove.
50304 2013-01-09  Roland McGrath  <roland@hack.frob.com>
50306         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
50308         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
50310 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
50312         * sysdeps/s390/fpu/libm-test-ulps: Update.
50314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50316         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
50317         (__acr): Likewise.
50318         (__cpy): Likewise.
50319         (norm): Likewise.
50320         (denorm): Likewise.
50321         (__mp_dbl): Likewise.
50322         (__dbl_mp): Likewise.
50323         (add_magnitudes): Likewise.
50324         (sub_magnitudes): Likewise.
50325         (__add): Likewise.
50326         (__sub): Likewise.
50327         (__mul): Likewise.
50328         (__inv): Likewise.
50329         (__dvd): Likewise.
50330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
50331         (__acr): Likewise.
50332         (__cpy): Likewise.
50333         (norm): Likewise.
50334         (denorm): Likewise.
50335         (__mp_dbl): Likewise.
50336         (__dbl_mp): Likewise.
50337         (add_magnitudes): Likewise.
50338         (sub_magnitudes): Likewise.
50339         (__add): Likewise.
50340         (__sub): Likewise.
50341         (__mul): Likewise.
50342         (__inv): Likewise.
50343         (__dvd): Likewise.
50344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
50345         (__acr): Likewise.
50346         (__cpy): Likewise.
50347         (norm): Likewise.
50348         (denorm): Likewise.
50349         (__mp_dbl): Likewise.
50350         (__dbl_mp): Likewise.
50351         (add_magnitudes): Likewise.
50352         (sub_magnitudes): Likewise.
50353         (__add): Likewise.
50354         (__sub): Likewise.
50355         (__mul): Likewise.
50356         (__inv): Likewise.
50357         (__dvd): Likewise.
50359 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
50361         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
50362         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
50363         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
50364         2 && __USE_EXTERN_INLINES]: Likewise.
50366 2013-01-08  Andreas Jaeger  <aj@suse.de>
50368         [BZ# 14985]
50369         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
50370         Remove.
50371         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50372         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50374 2013-01-07  Anton Blanchard  <anton@samba.org>
50376         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
50377         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50378         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
50379         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50380         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50381         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50382         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
50383         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50385         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50386         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50387         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50388         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50389         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50390         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50391         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50392         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50393         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50394         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50395         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50396         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50397         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
50398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50399         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50400         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
50401         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50402         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50403         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50404         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
50405         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50406         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50408         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50409         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50410         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50411         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50412         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50413         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50414         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
50415         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50416         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
50417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50418         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50420 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
50422         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50423         (__MALLOC_PMT): Likewise.
50424         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
50425         [__GNUC__], only on [_LIBC].
50426         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50427         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
50428         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50429         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
50430         forward declaration.
50431         (realloc_hook_ini): Likewise.
50432         (memalign_hook_ini): Likewise.
50433         (__libc_memalign): Do not use __MALLOC_PMT in variable
50434         declaration.
50435         (__libc_valloc): Likewise.
50436         (__libc_pvalloc): Likewise.
50437         (__libc_calloc): Likewise.
50438         (__posix_memalign): Likewise.
50440         [BZ #14996]
50441         * math/s_casinh.c: Include <float.h>.
50442         (__casinh): Do not do computation with squaring and square root
50443         for large arguments.
50444         * math/s_casinhf.c: Include <float.h>.
50445         (__casinhf): Do not do computation with squaring and square root
50446         for large arguments.
50447         * math/s_casinhl.c: Include <float.h>.
50448         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
50449         (__casinhl): Do not do computation with squaring and square root
50450         for large arguments.
50451         * math/libm-test.inc (casin_test): Add more tests.
50452         (casinh_test): Likewise.
50453         * sysdeps/i386/fpu/libm-test-ulps: Update.
50454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50456 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
50458         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
50459         (__x86_64_raw_data_cache_size): Likewise.
50460         (__x86_64_data_cache_size_half): Likewise.
50461         (__x86_64_raw_data_cache_size_half): Likewise.
50462         (__x86_64_shared_cache_size): Likewise.
50463         (__x86_64_raw_shared_cache_size): Likewise.
50464         (__x86_64_shared_cache_size_half): Likewise.
50465         (__x86_64_raw_shared_cache_size_half): Likewise.
50466         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
50467         to ...
50468         (__x86_data_cache_size): This.
50469         (__x86_64_raw_data_cache_size): Renamed to ...
50470         (__x86_raw_data_cache_size): This.
50471         (__x86_64_data_cache_size_half): Renamed to ...
50472         (__x86_data_cache_size_half): This.
50473         (__x86_64_raw_data_cache_size_half): Renamed to ...
50474         (__x86_raw_data_cache_size_half): This.
50475         (__x86_64_shared_cache_size): Renamed to ...
50476         (__x86_shared_cache_size): This.
50477         (__x86_64_raw_shared_cache_size): Renamed to ...
50478         (__x86_raw_shared_cache_size): This.
50479         (__x86_64_shared_cache_size_half): Renamed to ...
50480         (__x86_shared_cache_size_half): This.
50481         (__x86_64_raw_shared_cache_size_half): Renamed to ...
50482         (__x86_raw_shared_cache_size_half): This.
50483         * sysdeps/x86_64/memcpy.S: Updated.
50484         * sysdeps/x86_64/memset.S: Likewise.
50485         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50486         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50487         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50489 2013-01-04  David S. Miller  <davem@davemloft.net>
50491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50493 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
50495         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
50496         1 to avoid redefinition warning.
50497         (__USE_GNU): Don't define.
50498         (init_signaling_nan): Protoize.
50500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50502 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50504         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
50505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
50506         (__cpymn): Likewise.
50507         (norm): Remove commented code.
50508         (denorm): Likewise.
50509         (__mp_dbl): Likewise.
50510         (__inv): Likewise.
50511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
50512         (__cpymn): Likewise.
50513         (norm): Remove commented code.
50514         (denorm): Likewise.
50515         (__mp_dbl): Likewise.
50516         (__inv): Likewise.
50518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
50519         mp_no value for 1.0 and 2.0.
50520         (norm): Use RADIXI instead of radixi.d.
50521         (denorm): Likewise.
50522         (__mul): Use 0.0 instead of zero.d.
50523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
50524         mp_no value for 1.0 and 2.0.
50525         (norm): Use RADIXI instead of radixi.d.
50526         (denorm): Likewise.
50527         (__mul): Use 0.0 instead of zero.d.
50529 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
50531         [BZ #14994]
50532         * math/s_casinh.c (__casinh): Reduce finite argument to first
50533         quadrant then set signs of results at the end.
50534         * math/s_casinhf.c (__casinhf): Likewise.
50535         * math/s_casinhl.c (__casinhl): Likewise.
50536         * math/libm-test.inc (casin_test): Add more tests.
50537         (casinh_test): Likewise.
50538         * sysdeps/i386/fpu/libm-test-ulps: Update.
50539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50541 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50543         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
50545         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
50547         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
50548         declarations.
50549         (denorm): Likewise.
50550         (__mp_dbl): Likewise.
50551         (__inv): Likewise.
50553         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
50554         and adjust the header comment.
50556         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
50557         variable name from declaration.
50559 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
50561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50562         Initialize COMMON_CPUID_INDEX_7 element.
50563         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
50564         (CPUID_RTM): Likewise.
50565         (HAS_RTM): Likewise.
50566         (COMMON_CPUID_INDEX_7): New enum.
50568 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
50570         [BZ #14981]
50571         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
50572         size is zero, record memory as freed.
50574 2013-01-03  Andreas Jaeger  <aj@suse.de>
50576         * po/ia.po: Add new Interlingua translation.
50578 2012-01-03  Allan McRae  <allan@archlinux.org>
50580         * locale/programs/localedef.c: Fix description of '--posix' flag.
50582 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
50584         * NEWS: Update dates in second copyright notice.
50585         * README: Update copyright dates in example.
50586         * manual/libc.texinfo: Update copyright dates.
50587         * scripts/test-installation.pl: Update copyright date in --version
50588         output.
50590         * hurd/ctty-input.c: Fix copyright notice formatting.
50591         * hurd/ctty-output.c: Likewise.
50592         * hurd/dtable.c: Likewise.
50593         * hurd/hurd-raise.c: Likewise.
50594         * hurd/hurdprio.c: Likewise.
50595         * hurd/msgportdemux.c: Likewise.
50596         * misc/sys/file.h: Likewise.
50597         * misc/sys/ioctl.h: Likewise.
50598         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50599         * sysdeps/mach/hurd/chdir.c: Likewise.
50600         * sysdeps/mach/hurd/fchdir.c: Likewise.
50601         * sysdeps/mach/hurd/rename.c: Likewise.
50602         * sysdeps/mach/hurd/rmdir.c: Likewise.
50603         * sysdeps/mach/hurd/seekdir.c: Likewise.
50604         * sysdeps/mach/hurd/setsid.c: Likewise.
50605         * sysdeps/posix/wait3.c: Likewise.
50607         * All files with FSF copyright notices: Update copyright dates
50608         using scripts/update-copyrights.
50609         * intl/plural.c: Regenerated.
50610         * locale/programs/charmap-kw.h: Likewise.
50611         * locale/programs/locfile-kw.h: Likewise.
50613 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50615         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50616         four values.
50618         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50619         calculation loop and add branch prediction.
50621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50622         check access beyond bounds of m1np.
50624         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50625         MPTWO.
50626         (__inv): Remove local variable MPTWO to use the global
50627         constant.
50628         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50629         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50630         variable MPTWO.
50631         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50632         MP3HALFS static const.
50634 2013-01-01  David S. Miller  <davem@davemloft.net>
50636         * po/ca.po: Update from translation team.
50638 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
50640         * scripts/update-copyrights: New file.
50641         * Makeconfig: Reformat copyright notice.
50642         * ctype/ctype.h: Likewise.
50643         * debug/swprintf_chk.c: Likewise.
50644         * elf/dl-cache.c: Likewise.
50645         * elf/dl-debug.c: Likewise.
50646         * elf/dl-object.c: Likewise.
50647         * grp/initgroups.c: Likewise.
50648         * hurd/Makefile: Likewise.
50649         * hurd/hurd/signal.h: Likewise.
50650         * hurd/hurdfault.c: Likewise.
50651         * hurd/hurdioctl.c: Likewise.
50652         * hurd/hurdlookup.c: Likewise.
50653         * hurd/intr-msg.c: Likewise.
50654         * iconv/gconv_open.c: Likewise.
50655         * libio/swprintf.c: Likewise.
50656         * locale/lc-ctype.c: Likewise.
50657         * locale/nl_langinfo.c: Likewise.
50658         * mach/Machrules: Likewise.
50659         * mach/Makefile: Likewise.
50660         * malloc/obstack.h: Likewise.
50661         * manual/Makefile: Likewise.
50662         * manual/tsort.awk: Likewise.
50663         * misc/bits/stab.def: Likewise.
50664         * nis/nis_print_group_entry.c: Likewise.
50665         * nis/nis_table.c: Likewise.
50666         * nis/nss_compat/compat-pwd.c: Likewise.
50667         * nis/nss_compat/compat-spwd.c: Likewise.
50668         * po/Makefile: Likewise.
50669         * posix/fnmatch.c: Likewise.
50670         * posix/regex.h: Likewise.
50671         * resolv/Makefile: Likewise.
50672         * resolv/nss_dns/dns-network.c: Likewise.
50673         * resolv/res_hconf.c: Likewise.
50674         * scripts/gen-sorted.awk: Likewise.
50675         * soft-fp/soft-fp.h: Likewise.
50676         * stdio-common/printf.h: Likewise.
50677         * stdlib/monetary.h: Likewise.
50678         * stdlib/random.c: Likewise.
50679         * stdlib/random_r.c: Likewise.
50680         * sysdeps/generic/Makefile: Likewise.
50681         * sysdeps/gnu/Makefile: Likewise.
50682         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50683         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50684         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50685         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50686         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50687         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50688         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50689         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50690         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50692         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50693         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50694         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50695         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50696         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
50697         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50698         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50699         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50700         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50701         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50702         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50703         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50704         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50705         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50706         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50707         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50708         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50709         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50710         * sysdeps/mach/hurd/errnos.awk: Likewise.
50711         * sysdeps/mach/hurd/fork.c: Likewise.
50712         * sysdeps/mach/hurd/getcwd.c: Likewise.
50713         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50714         * sysdeps/mach/hurd/mmap.c: Likewise.
50715         * sysdeps/mach/hurd/utimes.c: Likewise.
50716         * sysdeps/mach/hurd/xmknod.c: Likewise.
50717         * sysdeps/posix/profil.c: Likewise.
50718         * sysdeps/posix/readdir_r.c: Likewise.
50719         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50720         * sysdeps/powerpc/bits/setjmp.h: Likewise.
50721         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50722         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50724         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50726         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50728         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50729         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50730         * sysdeps/pthread/lio_listio.c: Likewise.
50731         * sysdeps/sparc/dl-procinfo.h: Likewise.
50732         * sysdeps/unix/i386/sysdep.S: Likewise.
50733         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50734         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50735         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50736         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50738         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50739         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50740         * sysdeps/unix/sysv/linux/speed.c: Likewise.
50741         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50742         * sysdeps/wordsize-32/divdi3.c: Likewise.
50743         * time/sys/time.h: Likewise.
50744         * wcsmbs/Makefile: Likewise.
50746 2013-01-01  David S. Miller  <davem@davemloft.net>
50748         * po/fr.po: Update from translation team.
50750         * catgets/gencat.c: Update copyright year.
50751         * csu/version.c: Likewise.
50752         * debug/catchsegv.sh: Likewise.
50753         * debug/pcprofiledump.c: Likewise.
50754         * debug/xtrace.sh: Likewise.
50755         * elf/ldconfig.c: Likewise.
50756         * elf/ldd.bash.in: Likewise.
50757         * elf/pldd.c: Likewise.
50758         * elf/sotruss.ksh: Likewise.
50759         * elf/sprof.c: Likewise.
50760         * iconv/iconv_prog.c: Likewise.
50761         * iconv/iconvconfig.c: Likewise.
50762         * locale/programs/locale.c: Likewise.
50763         * locale/programs/localedef.c: Likewise.
50764         * login/programs/pt_chown.c: Likewise.
50765         * malloc/memusage.sh: Likewise.
50766         * malloc/memusagestat.c: Likewise.
50767         * malloc/mtrace.pl: Likewise.
50768         * nscd/nscd.c: Likewise.
50769         * nss/getent.c: Likewise.
50770         * nss/makedb.c: Likewise.
50771         * posix/getconf.c: Likewise.
50773 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50775         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50776         numbers.
50778 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50780         * math/bits/mathcalls.h (modf): Use __nonnull.
50782 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50784         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50785         (split): Use macro CN instead of the bare value.
50786         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50787         could be used.
50788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50789         instead of the bare value.
50790         (power1): Likewise.
50792 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50794         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50795         __ATAN_TWOM.
50796         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50798         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50799         their values.
50800         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50801         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50802         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50803         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50805 2012-12-28  Andreas Jaeger  <aj@suse.de>
50807         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50808         values are from Linux 3.7.
50810         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50811         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50813 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50815         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50816         TRUE case.
50818         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50819         (norm): Likewise.
50820         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50821         variables with preprocessor constants.
50822         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50823         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50824         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50826 2012-12-27  Bruno Haible  <bruno@clisp.org>
50828         [BZ #14317]
50829         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50830         only if needed.
50832 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50835         and use variable directly.
50836         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50838         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50839         MPONE.
50840         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50841         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50842         variable MPONE.
50843         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50845         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50846         include directive.  Remove local variable MPONE.
50847         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50848         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50849         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50851 2012-12-25  David S. Miller  <davem@davemloft.net>
50853         * version.h (RELEASE): Set to "development".
50854         (VERSION): Set to "2.17.90".
50855         * NEWS: Add 2.18 section.
50857 2012-12-21  David S. Miller  <davem@davemloft.net>
50859         * po/hr.po: Update from translation team.
50861 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50863         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50865 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50867         * NEWS:  Mention new memcpy for MIPS.
50869 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50871         * manual/contrib.texi (Contributors): Spelling correction.
50873 2012-12-15  David S. Miller  <davem@davemloft.net>
50875         * po/ru.po: Update from translation team.
50877 2012-12-13  David S. Miller  <davem@davemloft.net>
50879         * NEWS: Mention IFUNC testsuite enhancements.
50881         * po/pl.po: Update from translation team.
50882         * po/bg.po: Likewise.
50884         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50885         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50887 2012-12-11  David S. Miller  <davem@davemloft.net>
50889         * po/sv.po: Update from translation team.
50891         * po/vi.po: Update from translation team.
50893         * po/cs.po: Update from translation team.
50895         * po/de.po: Update from translation team.
50896         * po/eo.po: Likewise.
50897         * po/nl.po: Likewise.
50899 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50901         [BZ #14246]
50902         * manual/argp.texi (Argp Helper Functions): Move node to follow
50903         Argp Parsing State.
50905         [BZ #14872]
50906         * manual/conf.texi (Limits on File System Capacity): Mention if
50907         terminating null is included in the max size.
50909 2012-12-10  Andreas Jaeger  <aj@suse.de>
50911         * po/cs.po: Update from translation team.
50913 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50915         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50916         void pointer and cast to uintptr_t.
50917         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50918         path.
50919         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50920         * sysdeps/s390/s390-64/memset.S: Likewise.
50922 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50924         [BZ #14833]
50925         * menual/message.texi (Message Translation): Fix typos.
50926         (Helper programs for gettext): Likewise.
50928 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50930         [BZ #14898]
50931         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50932         Change to -1.
50934 2012-12-07  David S. Miller  <davem@davemloft.net>
50936         * po/libc.pot: Update.
50938 2012-12-07  Richard Henderson  <rth@redhat.com>
50940         [BZ #10114]
50941         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50942         normal/normal case to before the switch.
50943         (_FP_DIV): Likewise.
50945 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50946             Mike Frysinger  <vapier@gentoo.org>
50948         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50949         check for __NR_fadvise64_64.
50951 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50953         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50954         0, not just to plain "0" as a statement.
50955         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50956         with cw.
50958 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50960         * NEWS: Use sourceware.org in Bugzilla URL.
50962 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50965         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50967         * stdio-common/tst-put-error.c (do_test): Add newline to the
50968         padded test to ensure flush.
50970 2012-12-05  Jeff Law  <law@redhat.com>
50972         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50974 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50976         * README: Don't refer to ports add-on as distributed separately.
50977         Mention AArch64 in list of systems supported in the ports add-on.
50979         * LICENSES: Add more non-FSF copyright and license notices.
50981         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50982         ((unused)).
50984         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50986         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50987         10000 as width of padded output.
50989 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50991         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50993         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50994         variable LX with __attribute__ ((unused)).
50995         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50996         Likewise.
50997         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50999         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51000         with __attribute__ ((unused)).
51002 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51004         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51006 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51008         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51009         (CFLAGS-nldbl-acos.c): New variable.
51010         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51011         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51012         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51013         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51014         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51015         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51016         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51017         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51018         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51019         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51020         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51021         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51022         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51023         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51024         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51025         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51026         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51027         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51028         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51029         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51030         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51031         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51032         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51033         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51034         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51035         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51036         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51037         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51038         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51039         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51040         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51041         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51042         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51043         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51044         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51045         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51046         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51047         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51048         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51049         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51050         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51051         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51052         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51053         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51054         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51055         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51056         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51057         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51058         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51059         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51060         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51061         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51062         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51063         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51064         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51065         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51066         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51067         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51068         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51069         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51070         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51071         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51072         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51073         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51074         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51075         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51076         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51077         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51078         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51079         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51080         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51081         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51082         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51083         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51084         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51085         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51086         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51087         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51088         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51089         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51090         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51091         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51092         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51093         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51094         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51095         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51096         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51097         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51098         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51099         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51100         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51101         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51102         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51103         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51104         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51105         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51106         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51109         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51111         [BZ #14914]
51112         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51113         whole low double instead of just low 47 bits when splitting values
51114         into two parts.
51116 2012-12-03  Allan McRae  <allan@archlinux.org>
51118         * manual/stdio.texi (Predefined Printf Handlers): Remove
51119         @hsep and @vsep usage.
51121 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
51123         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51124         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51126 2012-12-03  Jeff Law  <law@redhat.com>
51128         * time/sys/time.h (settimeofday): Do not mark TV argument
51129         as __nonnull.
51131 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
51133         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
51134         when currently writing and seek to current position when not.
51135         * libio/Makefile (tests): Remove bug-fclose1.
51136         * libio/bug-fclose1.c: Delete.
51138 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
51140         * manual/arith.texi (feenableexcept): Fix typo.
51141         (fedisableexcept): Likewise.
51143 2012-11-30  Roland McGrath  <roland@hack.frob.com>
51145         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
51146         second, differently-typed declaration, rather than a cast.
51148 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51150         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
51151         * include/rpc/svc.h: ... here.
51153 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
51155         [BZ #13013]
51156         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
51157         depending n and resplen2 to catch cases where answer
51158         equals answerp2.
51160 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
51162         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
51163         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
51165 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
51167         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
51169 2012-11-29  Roland McGrath  <roland@hack.frob.com>
51171         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
51173 2012-11-28  Jeff Law  <law@redhat.com>
51175         [BZ #13761]
51176         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
51177         dataset_temporary.  Track alloca usage into alloca_used.
51178         If dataset is large allocate and release it via malloc/free.
51180 2012-06-04  Florian Weimer  <fweimer@redhat.com>
51182         [BZ #14197]
51183         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
51185 2012-11-28  David S. Miller  <davem@davemloft.net>
51187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51189 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51191         [BZ #14803]
51192         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51193         of pi/2 rounded to nearest to 64 bits.
51194         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
51195         nearest to 64 bits.
51196         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
51197         bits.
51199 2012-11-28  Jeff Law <law@redhat.com>
51200             Martin Osvald <mosvald@redhat.com>
51202         [BZ #14889]
51203         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
51204         * sunrpc/svc.c: Include time.h.
51205         (__svc_accept_failed): New function.
51206         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
51207         any reason other than EINTR, call __svc_accept_failed.
51208         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
51209         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
51211 2012-11-28  Andreas Schwab  <schwab@suse.de>
51213         * scripts/abilist.awk: Also handle indirect functions in .opd
51214         section.
51216 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51218         [BZ #13881]
51219         * sysdeps/x86/fpu/powl_helper.c: New file.
51220         * sysdeps/x86/fpu/Makefile: Likewise.
51221         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
51222         (p3): New object.
51223         (__ieee754_powl): Use __powl_helper for finite arguments except
51224         integer exponents below 8.
51225         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
51226         (p3): New object.
51227         (__ieee754_powl): Use __powl_helper for finite arguments except
51228         integer exponents below 8.
51229         * math/libm-test.inc (pow_test): Add more tests and enable some
51230         previously disabled tests.
51231         * sysdeps/i386/fpu/libm-test-ulps: Update.
51232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51234 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51235             Carlos O'Donell  <carlos_odonell@mentor.com>
51237         * nss/makedb.c (is_prime): Assert that input is odd and greater
51238         than 4.  Note that fact in a comment too.
51239         (next_prime): Add 4 to input.
51241 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51243         [BZ #11741]
51244         * libio/Makefile (tests): Add test case tst-fwrite-error.
51245         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
51246         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
51247         * libio/tst-fwrite-error.c: New test case.
51249 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
51251         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
51252         before casting to void *.
51253         * include/libc-internal.h (__pointer_type): New macro.
51254         (__integer_if_pointer_type_sub): Likewise.
51255         (__integer_if_pointer_type): Likewise.
51256         (cast_to_integer): Likewise.
51257         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
51258         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
51259         before casting to atomic64_t.
51260         (atomic_exchange_acq): Likewise.
51261         (__arch_exchange_and_add_body): Likewise.
51262         (__arch_add_body): Likewise.
51263         (atomic_add_negative): Likewise.
51264         (atomic_add_zero): Likewise.
51266 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
51268         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
51269         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
51270         (add_fdes): Likewise.
51271         (linear_search_fdes): Likewise.
51272         (binary_search_unencoded_fdes): Likewise.
51274 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
51276         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
51278 2012-11-24  Adam Conrad  <adconrad@0c3.net>
51280         * configure.in: Autodetect C++ header directories.
51281         * configure: Regenerated.
51283 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
51285         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
51287 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
51289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51291 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
51293         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
51294         LDBL_MANT_DIG == 106]: Disable some tests.
51295         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51296         Likewise.
51297         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51298         Likewise.
51300         [BZ #14871]
51301         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
51302         input for small inputs.  Return +/- pi/2 for large inputs.
51303         * math/libm-test.inc (atan_test): Add more tests.
51305         * sysdeps/generic/unwind-dw2-fde-glibc.c
51306         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
51307         __attribute__ ((unused)).
51309         [BZ #14645]
51310         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
51311         x * y if x and y are nonzero and z is zero.
51313         [BZ #14811]
51314         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
51315         nonzero exponents with absolute value below 0x1p-117 to +/-
51316         0x1p-117.
51318         [BZ #14869]
51319         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
51320         up arguments below 2**-450, not just those below 2**-500.
51321         * math/libm-test.inc (hypot_test): Add another test.
51323         [BZ #14868]
51324         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
51325         Return a+b for ratio over 2**120, not 2**60.
51326         * math/libm-test.inc (hypot_test): Add another test.
51328         * math/libm-test.inc (clog_test): Use
51329         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
51330         (clog10_test): Likewise.
51332         [BZ #6778]
51333         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
51335 2012-11-22  Andreas Schwab  <schwab@suse.de>
51337         * sysdeps/i386/fpu/libm-test-ulps: Update.
51339 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
51341         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
51342         printf output with newline.
51344 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
51346         [BZ #14865]
51347         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
51348         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
51349         -z nodlopen, -z initfirst and -z execstack support.
51350         * configure: Regenerated.
51352         * elf/elf.h (DF_1_NODIRECT): New macro.
51353         (DF_1_IGNMULDEF): Likewise.
51354         (DF_1_NOKSYMS): Likewise.
51355         (DF_1_NOHDR): Likewise.
51356         (DF_1_EDITED): Likewise.
51357         (DF_1_NORELOC): Likewise.
51358         (DF_1_SYMINTPOSE): Likewise.
51359         (DF_1_GLOBAUDIT): Likewise.
51360         (DF_1_SINGLETON): Likewise.
51361         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
51362         DT_1_SUPPORTED_MASK bits.
51363         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
51365 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
51367         * sysdeps/unix/make-syscalls.sh: Document prefixes.
51369 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
51371         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
51372         macro.
51374         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
51375         (sendmmsg): Move declarations...
51376         * socket/sys/socket.h: ... here.
51377         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
51378         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
51379         include it from...
51380         * socket/recvmmsg.c: ... this new file.
51381         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
51382         (sendmmsg): Rename to __sendmmsg, create weak alias and make
51383         definition of __sendmmsg hidden.
51384         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
51385         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
51386         Move ENOSYS stub into and include it from...
51387         * socket/sendmmsg.c: ... this new file.
51388         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
51389         (sysdep_routines): Move recvmmsg and sendmmsg...
51390         * socket/Makefile (routines): ... here.
51391         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
51392         (GLIBC_PRIVATE): Add __sendmmsg.
51393         * include/sys/socket.h (__sendmmsg): Add declarations.
51394         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
51395         sendmmsg.
51397 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
51399         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
51400         variable I1 with __attribute__ ((unused)).
51401         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51403 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51405         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
51406         DUMMY variables with __attribute__ ((unused)).
51408         * bits/byteswap.h: Include <bits/types.h>.
51409         (__bswap_64): Use __uint64_t instead of unsigned long long int.
51411 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51413         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
51414         string_t.  Do not manually set errno.
51415         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
51416         length with __strnlen.  Make sure to both set errno and return it on
51417         failure.
51419 2012-11-19  David S. Miller  <davem@davemloft.net>
51421         With help from Joseph Myers.
51422         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
51423         very large arguments properly.
51424         * math/libm-test.inc (atan_test): New tests.
51425         (atan2_test): New tests.
51426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51429 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51431         [BZ #14856]
51432         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
51433         Define to 3.
51435         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
51436         [POSIX] (EADDRNOTAVAIL): Likewise.
51437         [POSIX] (EAFNOSUPPORT): Likewise.
51438         [POSIX] (EALREADY): Likewise.
51439         [POSIX] (ECONNABORTED): Likewise.
51440         [POSIX] (ECONNREFUSED): Likewise.
51441         [POSIX] (ECONNRESET): Likewise.
51442         [POSIX] (EDESTADDRREQ): Likewise.
51443         [POSIX] (EDQUOT): Likewise.
51444         [POSIX] (EHOSTUNREACH): Likewise.
51445         [POSIX] (EIDRM): Likewise.
51446         [POSIX] (EISCONN): Likewise.
51447         [POSIX] (ELOOP): Likewise.
51448         [POSIX] (EMULTIHOP): Likewise.
51449         [POSIX] (ENETDOWN): Likewise.
51450         [POSIX] (ENETUNREACH): Likewise.
51451         [POSIX] (ENOBUFS): Likewise.
51452         [POSIX] (ENODATA): Likewise.
51453         [POSIX] (ENOLINK): Likewise.
51454         [POSIX] (ENOMSG): Likewise.
51455         [POSIX] (ENOPROTOOPT): Likewise.
51456         [POSIX] (ENOSR): Likewise.
51457         [POSIX] (ENOSTR): Likewise.
51458         [POSIX] (ENOTCONN): Likewise.
51459         [POSIX] (ENOTSOCK): Likewise.
51460         [POSIX] (EOPNOTSUPP): Likewise.
51461         [POSIX] (EOVERFLOW): Likewise.
51462         [POSIX] (EPROTO): Likewise.
51463         [POSIX] (EPROTONOSUPPORT): Likewise.
51464         [POSIX] (EPROTOTYPE): Likewise.
51465         [POSIX] (ESTALE): Likewise.
51466         [POSIX] (ETIME): Likewise.
51467         [POSIX] (ETXTBSY): Likewise.
51468         [POSIX] (EWOULDBLOCK): Likewise.
51469         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
51470         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
51471         [POSIX] (SEEK_CUR): Likewise.
51472         [POSIX] (SEEK_END): Likewise.
51473         [POSIX || UNIX98] (mode_t): Do not require.
51474         [POSIX] (off_t): Likewise.
51475         [POSIX] (pid_t): Likewise.
51476         [POSIX] (sys/stat.h): Do not allow header.
51477         [POSIX] (unistd.h): Likewise.
51478         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
51479         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
51480         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
51481         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
51482         require.
51483         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
51484         sigevent): Specify elements.
51485         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
51486         entry.
51487         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
51488         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
51490         * conform/data/cpio.h-data [POSIX]: Disable whole file.
51491         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
51492         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
51493         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
51494         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
51495         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
51496         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
51497         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
51498         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
51499         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
51500         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
51501         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
51502         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
51503         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
51504         Likewise.
51505         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
51506         Likewise.
51507         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
51508         Likewise.
51509         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
51510         Likewise.
51511         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
51512         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
51513         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
51514         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
51515         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
51516         Specify lower bound on value.
51517         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
51518         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
51519         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
51520         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
51521         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
51522         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
51523         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
51524         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
51525         value.
51526         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
51527         as optional.
51528         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
51529         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
51530         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
51531         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
51532         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
51533         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
51534         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
51535         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
51536         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
51537         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
51538         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
51539         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
51540         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
51541         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
51542         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
51543         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
51544         entry.
51545         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
51546         optional.
51547         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
51548         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
51549         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
51550         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
51551         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
51552         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
51553         Likewise.
51554         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
51555         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
51556         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
51557         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
51558         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
51559         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
51560         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
51561         as optional.
51562         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
51563         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
51564         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
51565         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
51566         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
51567         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
51568         specify as optional.
51569         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
51570         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
51571         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
51572         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
51573         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
51574         [XPG3] (NL_LANGMAX): Likewise.
51575         [POSIX || XPG3] (NL_MSGMAX): Likewise.
51576         [POSIX || XPG3] (NL_NMAX): Likewise.
51577         [POSIX || XPG3] (NL_SETMAX): Likewise.
51578         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
51579         [XPG3] (NZERO): Likewise.
51580         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
51581         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
51582         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
51583         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
51584         (REG_ERANGE): Expect.
51585         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
51586         optional-constant.
51587         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
51588         Use (void) in prototype.
51589         [POSIX] (*_t): Allow.
51590         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
51591         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
51592         (WRDE_BADVAL): Expect.
51594         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
51595         expect.
51596         [XPG3 || XPG4] (O_RSYNC): Likewise.
51597         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
51598         Likewise.
51599         [XPG3 || XPG4] (pthread_sigmask): Likewise.
51600         [XPG3 || XPG4] (sigqueue): Likewise.
51601         [XPG3 || XPG4] (sigtimedwait): Likewise.
51602         [XPG3 || XPG4] (sigwaitinfo): Likewise.
51603         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
51604         [XPG3 || XPG4] (vsnprintf): Likewise.
51605         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
51606         Likewise.
51607         [XPG3 || XPG4] (blksize_t): Likewise.
51608         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
51609         Likewise.
51610         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
51611         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51612         [XPG3 || XPG4] (struct itimerspec): Likewise.
51613         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
51614         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
51615         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
51616         [XPG3 || XPG4] (clockid_t): Likewise.
51617         [XPG3 || XPG4] (timer_t): Likewise.
51618         [XPG3 || XPG4] (clock_getres): Likewise.
51619         [XPG3 || XPG4] (clock_gettime): Likewise.
51620         [XPG3 || XPG4] (clock_settime): Likewise.
51621         [XPG3 || XPG4] (nanosleep): Likewise.
51622         [XPG3 || XPG4] (timer_create): Likewise.
51623         [XPG3 || XPG4] (timer_delete): Likewise.
51624         [XPG3 || XPG4] (timer_gettime): Likewise.
51625         [XPG3 || XPG4] (timer_getoverrun): Likewise.
51626         [XPG3 || XPG4] (timer_settime): Likewise.
51627         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51628         [XPG3 || XPG4] (getlogin_r): Likewise.
51629         [XPG3 || XPG4] (pread): Likewise.
51630         [XPG3 || XPG4] (pthread_atfork): Likewise.
51631         [XPG3 || XPG4] (pwrite): Likewise.
51633         [BZ #14835]
51634         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51635         <bits/siginfo.h>.
51637 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51639         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51640         finalizing MALLSTREAM.
51642         * sysdeps/mach/hurd/syncfs.c: New file.
51644 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51646         [BZ #14719]
51647         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51648         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51649         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51650         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51651         (_nss_dns_gethostbyname4_r): Likewise.
51652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51653         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51655 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
51657         [BZ #13763]
51658         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51660 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
51662         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
51663         * elf/cache.c (print_entry): Print ",AArch64" for
51664         FLAG_AARCH64_LIB64
51666         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
51667         * elf/cache.c (print_entry): Print ",hard-float" for
51668         FLAG_ARM_LIBHF.
51670 2012-11-18  David S. Miller  <davem@davemloft.net>
51672         With help from Joseph Myers.
51673         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
51674         cutoff to 2**-13.
51675         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
51676         cutoff to 2**-25.
51677         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
51678         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
51679         small.
51680         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51681         * math/libm-test.inc (y0_test): New tests.
51682         (y1_test): New tests.
51683         * sysdeps/i386/fpu/libm-test-ulps: Update.
51684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51687 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
51689         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
51690         64-bit targets.
51691         * configure: Regenerated.
51693 2012-11-17  David S. Miller  <davem@davemloft.net>
51695         [BZ #14811]
51696         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
51697         nonzero exponents with absolute value below 0x1p-128 to +/-
51698         0x1p-128.
51700 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
51702         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
51704         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51706         * posix/getconf-speclist.c: New file.
51707         * posix/posix-envs.def: Likewise.
51708         * posix/confstr.c (START_ENV_GROUP): New macro.
51709         (END_ENV_GROUP): Likewise.
51710         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51711         (KNOWN_PRESENT_ENV_STRING): Likewise.
51712         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51713         (UNKNOWN_ENVIRONMENT): Likewise.
51714         (confstr): Include posix-envs.def instead of handling
51715         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51716         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51717         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51718         (END_ENV_GROUP): Likewise.
51719         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51720         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51721         (UNKNOWN_ENVIRONMENT): Likewise.
51722         (__sysconf): Include posix-envs.def instead of handling associated
51723         cases directly here.
51724         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51725         preprocessing getconf-speclist.c rather than running getconf or
51726         generating empty file.
51728 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
51730         * scripts/check-local-headers.sh: Ignore 'mach' headers.
51732 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
51734         [BZ #14672]
51735         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51737 2012-11-16  David S. Miller  <davem@davemloft.net>
51739         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51740         smaller than LDBL_EPSILON/2.0L, just return xm1.
51742 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
51744         * elf/tst-array1.c (init): Set constructor priority to 1000.
51745         (fini): Set destructor priority to 1000.
51746         * elf/tst-array2dep.c: Likewise.
51748 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51750         [BZ #11741]
51751         * libio/fileops.c (_IO_new_file_write): Correctly return error.
51752         (_IO_new_file_xsputn): Also return EOF if none of the input
51753         data was written when overflow failed.
51754         * libio/iopadn.c (_IO_padn): Likewise.
51755         * libio/iowpadn.c (_IO_wpadn): Likewise.
51756         * stdio-common/tst-put-error.c: Add copyright notice.
51757         (do_test): Add case for printing padded string.
51758         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51759         _IO_padn returned error.
51760         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51761         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51762         return EOF.
51764 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51766         * libio/libioP.h: Add comment note that the references to C++
51767         bits are now obsolete.
51769 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51771         * math/libm-test.inc (check_complex): Use asprintf.
51773 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51775         * debug/pcprofiledump.c (print_version): Update copyright year.
51776         * malloc/memusagestat.c (print_version): Likewise.
51778 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51780         [BZ #14831]
51781         * elf/Makefile (tests): Add tst-audit8.
51782         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51783         ($(objpfx)tst-audit8.out): New target.
51784         (tst-audit8-ENV): New variable.
51785         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51786         audit if l_reloc_result is NULL.
51787         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51788         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51789         * elf/tst-audit8.c: New file.
51791 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51793         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51794         * misc/Makefile (CFLAGS-select.c): Define.
51795         * posix/Makefile (CFLAGS-pause.c): Define.
51797 2012-11-13  David S. Miller  <davem@davemloft.net>
51799         * crypt/Makefile: Move test targets after toplevel Rules
51800         inclusion.  Grab any necessary sysdep routines when linking.
51801         * crypt/md5.c (md5_process_block): Remove define, we will always
51802         name it __md5_process_block.
51803         (md5_finish_ctx): Update md5_process_block call.
51804         (md5_stream): Likewise.
51805         (md5_process_bytes): Likewise.
51806         (md5_process_block): Rename to __md5_process_block and move to ...
51807         * crypt/md5-block.c: ... here.
51808         * crypt/sha256.c (sha256_process_block): Move to ...
51809         * crypt/sha256-block.c: ... here.
51810         * crypt/sha512.c (sha512_process_block): Move to ...
51811         * crypt/sha512-block.c: ... here.
51812         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51813         path.
51814         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51815         * sysdeps/sparc/sparc64/multiarch/Makefile
51816         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51817         crypt subdir.
51818         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51819         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51820         multiarch changes.
51821         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51822         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51823         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51824         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51825         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51826         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51827         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51828         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51829         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51830         file.
51831         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51832         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51833         file.
51834         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51836 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51838         * timezone/tzselect.ksh: Update from tzcode git revision
51839         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51840         * timezone/zdump.c: Likewise.
51841         * timezone/zic.c: Likewise.
51842         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51843         in TZVERSION setting, not $(PKGVERSION).
51844         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51845         REPORT_BUGS_TO settings.
51847         [BZ #14838]
51848         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51849         macro.
51851 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51853         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51854         detection to immediately after _FP_ROUND().
51855         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51856         bits are 0.
51858 2012-11-11  David S. Miller  <davem@davemloft.net>
51860         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51861         inttypes.h
51862         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51863         __close rather than their public counterparts.
51865 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51867         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51868         file.
51869         [UNIX98] (sem_timedwait): Do not expect.
51870         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51871         [XPG4 || UNIX98] (sockatmark): Do not expect.
51872         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51873         (clock_getcpuclockid): Do not expect.
51874         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51875         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51876         Do not expect.
51877         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51878         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51879         [UNIX98] (vwscanf): Likewise.
51880         [UNIX98] (vswscanf): Likewise.
51882 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51884         * timezone/version.h: Remove file.
51885         * timezone/README: Do not refer to version.h.
51886         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51887         $(objpfx)version.h.
51888         ($(objpfx)zdump.o): Likewise.
51889         ($(objpfx)version.h): New target.
51891         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51892         2012i.
51893         * timezone/README: Don't mention modification to tzselect.ksh.
51894         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51895         work on unmodified tzselect.ksh.  Substitute version numbers in
51896         tzselect.ksh.
51898         * Makefile (format-me): Remove.
51899         (INSTALL): Adjust indentation.  Use commands directly instead of
51900         using $(format-me).
51902         * aclocal.m4 (ACX_PKGVERSION): New macro.
51903         (ACX_BUGURL): Likewise.
51904         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51905         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51906         (REPORT_BUGS_TO): Likewise.
51907         * configure: Regenerated.
51908         * config.h.in (PKGVERSION): New macro.
51909         (REPORT_BUGS_TO): Likewise.
51910         * config.make.in (PKGVERSION): New variable.
51911         (PKGVERSION_TEXI): Likewise.
51912         (REPORT_BUGS_TO): Likewise.
51913         (REPORT_BUGS_TEXI): Likewise.
51914         * Makefile (format-me): Use -I$(common-objpfx)manual.
51915         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51916         ($(common-objpfx)manual/%): New target.
51917         (manual/%): Remove target.
51918         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51919         (print_version): Use PKGVERSION.
51920         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51921         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51922         and REPORT_BUGS_TO.
51923         ($(objpfx)xtrace): Likewise.
51924         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51925         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51926         (print_version): Use PKGVERSION.
51927         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51928         (do_version): Use PKGVERSION.
51929         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51930         REPORT_BUGS_TO.
51931         (common-ldd-rewrite): Likewise.
51932         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51933         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51934         (print_version): Use PKGVERSION.
51935         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51936         * elf/pldd.c (argp_program_bug_address): Remove variable.
51937         (more_help): New function.
51938         (argp): Use more_help.
51939         (print_version): Use PKGVERSION.
51940         * elf/sln.c (main): Use PKGVERSION.
51941         (usage): Use REPORT_BUGS_TO.
51942         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51943         (top level): Use PKGVERSION.
51944         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51945         (print_version): Use PKGVERSION.
51946         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51947         (print_version): Use PKGVERSION.
51948         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51949         (print_version): Use PKGVERSION.
51950         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51951         (print_version): Use PKGVERSION.
51952         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51953         (print_version): Use PKGVERSION.
51954         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51955         (print_version): Use PKGVERSION.
51956         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51957         and BUGURL.
51958         ($(objpfx)memusage): Likewise.
51959         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51960         (do_version): Use PKGVERSION.
51961         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51962         (print_version): Use PKGVERSION.
51963         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51964         ($PKGVERSION): New variable.
51965         ($REPORT_BUGS_TO): Likewise.
51966         (usage): Use $REPORT_BUGS_TO.
51967         (top level): Use $PKGVERSION.
51968         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51969         ($(objpfx)pkgvers.texi): New rule.
51970         ($(objpfx)stamp-pkgvers): Likewise.
51971         * manual/install.texi: Include pkgvers.texi.
51972         (--with-pkgversion): Document new configure option.
51973         (--with-bugurl): Likewise.
51974         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51975         than necessarily for this particular distribution.  Use
51976         REPORT_BUGS_TO for where to report bugs.
51977         * INSTALL: Regenerated.
51978         * manual/libc.texinfo: Include pkgvers.texi.
51979         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51980         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51981         (print_version): Use PKGVERSION.
51982         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51983         (print_version): Use PKGVERSION.
51984         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51985         (print_version): Use PKGVERSION.
51986         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51987         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51988         macro.
51989         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51990         (print_version): Use PKGVERSION.
51991         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51992         (print_version): Use PKGVERSION.
51993         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51994         and PKGVERSION.
51996         * timezone/checktab.awk: Update from tzcode 2012i.
51997         * timezone/ialloc.c: Likewise.
51998         * timezone/private.h: Likewise.
51999         * timezone/scheck.c: Likewise.
52000         * timezone/tzfile.h: Likewise.
52001         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52002         (TZVERSION): Hardcode tzcode version number.
52003         * timezone/zdump.c: Update from tzcode 2012i.
52004         * timezone/zic.c: Likewise.
52005         * timezone/version.h: New file.
52006         * timezone/README: Describe version.h.  Update upstream location.
52008         [BZ #14824]
52009         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52010         (mktemp): Enable declaration.
52011         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52012         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52013         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52014         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52015         Likewise.
52016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52017         Likewise.
52018         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52019         Likewise.
52020         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52021         Likewise.
52022         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52023         Likewise.
52024         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52025         Likewise.
52027         [BZ #14821]
52028         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52029         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
52030         for copies of such integer values.
52031         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52032         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52034 2012-11-09  Andreas Jaeger  <aj@suse.de>
52036         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52037         definitions and declarations that are provided by
52038         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52040 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52042         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52043         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52044         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52045         definition.
52047 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52049         * elf/elf.h: Update comment before AArch64 relocations.
52051 2012-11-07  David S. Miller  <davem@davemloft.net>
52053         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52054         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52055         (__start_context): Declare.
52056         (__makecontext_ret): Delete.
52057         (__makecontext): Hook up __start_context instead of
52058         __makecontext_ret.
52059         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52060         (sysdep_routines): Add __start_context when in stdlib.
52062 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52064         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52065         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52066         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
52067         hardcoded "nm".
52068         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
52069         (READELF): New variable.  Use it instead of hardcoded "readelf".
52071 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52073         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52074         * sysdeps/x86/Makefile: Here.
52075         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52076         * sysdeps/x86/tst-xmmymm.sh: This.
52078 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52080         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52081         expectations.
52082         [UNIX98] (pthread_barrier_t): Do not expect.
52083         [UNIX98] (pthread_barrierattr_t): Likewise.
52084         [UNIX98] (pthread_spinlock_t): Likewise.
52085         [UNIX98] (pthread_barrier_destroy): Likewise.
52086         [UNIX98] (pthread_barrier_init): Likewise.
52087         [UNIX98] (pthread_barrier_wait): Likewise.
52088         [UNIX98] (pthread_barrierattr_destroy): Likewise.
52089         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52090         [UNIX98] (pthread_barrierattr_init): Likewise.
52091         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52092         [UNIX98] (pthread_getcpuclockid): Likewise.
52093         [UNIX98] (pthread_mutex_timedlock): Likewise.
52094         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52095         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52096         [UNIX98] (pthread_sigmask): Likewise.
52097         [UNIX98] (pthread_spin_destroy): Likewise.
52098         [UNIX98] (pthread_spin_init): Likewise.
52099         [UNIX98] (pthread_spin_lock): Likewise.
52100         [UNIX98] (pthread_spin_trylock): Likewise.
52101         [UNIX98] (pthread_spin_unlock): Likewise.
52102         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52103         Do not expect.
52104         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52105         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52106         [XPG3 || XPG4] (pthread_cond_t): Likewise.
52107         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52108         [XPG3 || XPG4] (pthread_key_t): Likewise.
52109         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52110         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52111         [XPG3 || XPG4] (pthread_once_t): Likewise.
52112         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52113         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52114         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52115         [XPG3 || XPG4] (pthread_t): Likewise.
52117         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52118         not expect.
52119         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52121         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52122         Change function return type to int.
52124         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52125         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52126         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52127         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52128         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52129         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
52130         [!POSIX] (posix_madvise): Likewise.
52131         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
52132         && !UNIX98].
52133         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
52134         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
52135         (mode_t): Likewise.
52136         (posix_mem_offset): Likewise.
52137         (posix_typed_mem_get_info): Likewise.
52138         (posix_typed_mem_open): Likewise.
52140         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
52141         Change condition to [XOPEN2K8].
52143         * conform/conformtest.pl: Preprocess allow-header data with -x c
52144         instead of from stdin.
52145         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
52146         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
52147         [C99-based standards] (cerfc): Likewise.
52148         [C99-based standards] (cexp2): Likewise.
52149         [C99-based standards] (cexpm1): Likewise.
52150         [C99-based standards] (clog10): Likewise.
52151         [C99-based standards] (clog1p): Likewise.
52152         [C99-based standards] (clog2): Likewise.
52153         [C99-based standards] (clgamma): Likewise.
52154         [C99-based standards] (ctgamma): Likewise.
52155         [C99-based standards] (cerff): Likewise.
52156         [C99-based standards] (cerfcf): Likewise.
52157         [C99-based standards] (cexp2f): Likewise.
52158         [C99-based standards] (cexpm1f): Likewise.
52159         [C99-based standards] (clog10f): Likewise.
52160         [C99-based standards] (clog1pf): Likewise.
52161         [C99-based standards] (clog2f): Likewise.
52162         [C99-based standards] (clgammaf): Likewise.
52163         [C99-based standards] (ctgammaf): Likewise.
52164         [C99-based standards] (cerfl): Likewise.
52165         [C99-based standards] (cerfcl): Likewise.
52166         [C99-based standards] (cexp2l): Likewise.
52167         [C99-based standards] (cexpm1l): Likewise.
52168         [C99-based standards] (clog10l): Likewise.
52169         [C99-based standards] (clog1pl): Likewise.
52170         [C99-based standards] (clog2l): Likewise.
52171         [C99-based standards] (clgammal): Likewise.
52172         [C99-based standards] (ctgammal): Likewise.
52173         * conform/data/inttypes.h-data [C99-based standards]: Include
52174         stdint.h-data.  Remove all expectations for stdint.h contents.
52175         [C99-based standards] (PRI*): Do not allow.
52176         [C99-based standards] (SCN*): Likewise.
52177         [C99-based standards] (*_t): Likewise.
52178         [C99-based-standards] (PRId8): Expect macro.
52179         [C99-based-standards] (PRIi8): Likewise.
52180         [C99-based-standards] (PRIo8): Likewise.
52181         [C99-based-standards] (PRIu8): Likewise.
52182         [C99-based-standards] (PRIx8): Likewise.
52183         [C99-based-standards] (PRIX8): Likewise.
52184         [C99-based-standards] (SCNd8): Likewise.
52185         [C99-based-standards] (SCNi8): Likewise.
52186         [C99-based-standards] (SCNo8): Likewise.
52187         [C99-based-standards] (SCNu8): Likewise.
52188         [C99-based-standards] (SCNx8): Likewise.
52189         [C99-based-standards] (PRIdLEAST8): Likewise.
52190         [C99-based-standards] (PRIiLEAST8): Likewise.
52191         [C99-based-standards] (PRIoLEAST8): Likewise.
52192         [C99-based-standards] (PRIuLEAST8): Likewise.
52193         [C99-based-standards] (PRIxLEAST8): Likewise.
52194         [C99-based-standards] (PRIXLEAST8): Likewise.
52195         [C99-based-standards] (SCNdLEAST8): Likewise.
52196         [C99-based-standards] (SCNiLEAST8): Likewise.
52197         [C99-based-standards] (SCNoLEAST8): Likewise.
52198         [C99-based-standards] (SCNuLEAST8): Likewise.
52199         [C99-based-standards] (SCNxLEAST8): Likewise.
52200         [C99-based-standards] (PRIdFAST8): Likewise.
52201         [C99-based-standards] (PRIiFAST8): Likewise.
52202         [C99-based-standards] (PRIoFAST8): Likewise.
52203         [C99-based-standards] (PRIuFAST8): Likewise.
52204         [C99-based-standards] (PRIxFAST8): Likewise.
52205         [C99-based-standards] (PRIXFAST8): Likewise.
52206         [C99-based-standards] (SCNdFAST8): Likewise.
52207         [C99-based-standards] (SCNiFAST8): Likewise.
52208         [C99-based-standards] (SCNoFAST8): Likewise.
52209         [C99-based-standards] (SCNuFAST8): Likewise.
52210         [C99-based-standards] (SCNxFAST8): Likewise.
52211         [C99-based-standards] (PRId16): Likewise.
52212         [C99-based-standards] (PRIi16): Likewise.
52213         [C99-based-standards] (PRIo16): Likewise.
52214         [C99-based-standards] (PRIu16): Likewise.
52215         [C99-based-standards] (PRIx16): Likewise.
52216         [C99-based-standards] (PRIX16): Likewise.
52217         [C99-based-standards] (SCNd16): Likewise.
52218         [C99-based-standards] (SCNi16): Likewise.
52219         [C99-based-standards] (SCNo16): Likewise.
52220         [C99-based-standards] (SCNu16): Likewise.
52221         [C99-based-standards] (SCNx16): Likewise.
52222         [C99-based-standards] (PRIdLEAST16): Likewise.
52223         [C99-based-standards] (PRIiLEAST16): Likewise.
52224         [C99-based-standards] (PRIoLEAST16): Likewise.
52225         [C99-based-standards] (PRIuLEAST16): Likewise.
52226         [C99-based-standards] (PRIxLEAST16): Likewise.
52227         [C99-based-standards] (PRIXLEAST16): Likewise.
52228         [C99-based-standards] (SCNdLEAST16): Likewise.
52229         [C99-based-standards] (SCNiLEAST16): Likewise.
52230         [C99-based-standards] (SCNoLEAST16): Likewise.
52231         [C99-based-standards] (SCNuLEAST16): Likewise.
52232         [C99-based-standards] (SCNxLEAST16): Likewise.
52233         [C99-based-standards] (PRIdFAST16): Likewise.
52234         [C99-based-standards] (PRIiFAST16): Likewise.
52235         [C99-based-standards] (PRIoFAST16): Likewise.
52236         [C99-based-standards] (PRIuFAST16): Likewise.
52237         [C99-based-standards] (PRIxFAST16): Likewise.
52238         [C99-based-standards] (PRIXFAST16): Likewise.
52239         [C99-based-standards] (SCNdFAST16): Likewise.
52240         [C99-based-standards] (SCNiFAST16): Likewise.
52241         [C99-based-standards] (SCNoFAST16): Likewise.
52242         [C99-based-standards] (SCNuFAST16): Likewise.
52243         [C99-based-standards] (SCNxFAST16): Likewise.
52244         [C99-based-standards] (PRId32): Likewise.
52245         [C99-based-standards] (PRIi32): Likewise.
52246         [C99-based-standards] (PRIo32): Likewise.
52247         [C99-based-standards] (PRIu32): Likewise.
52248         [C99-based-standards] (PRIx32): Likewise.
52249         [C99-based-standards] (PRIX32): Likewise.
52250         [C99-based-standards] (SCNd32): Likewise.
52251         [C99-based-standards] (SCNi32): Likewise.
52252         [C99-based-standards] (SCNo32): Likewise.
52253         [C99-based-standards] (SCNu32): Likewise.
52254         [C99-based-standards] (SCNx32): Likewise.
52255         [C99-based-standards] (PRIdLEAST32): Likewise.
52256         [C99-based-standards] (PRIiLEAST32): Likewise.
52257         [C99-based-standards] (PRIoLEAST32): Likewise.
52258         [C99-based-standards] (PRIuLEAST32): Likewise.
52259         [C99-based-standards] (PRIxLEAST32): Likewise.
52260         [C99-based-standards] (PRIXLEAST32): Likewise.
52261         [C99-based-standards] (SCNdLEAST32): Likewise.
52262         [C99-based-standards] (SCNiLEAST32): Likewise.
52263         [C99-based-standards] (SCNoLEAST32): Likewise.
52264         [C99-based-standards] (SCNuLEAST32): Likewise.
52265         [C99-based-standards] (SCNxLEAST32): Likewise.
52266         [C99-based-standards] (PRIdFAST32): Likewise.
52267         [C99-based-standards] (PRIiFAST32): Likewise.
52268         [C99-based-standards] (PRIoFAST32): Likewise.
52269         [C99-based-standards] (PRIuFAST32): Likewise.
52270         [C99-based-standards] (PRIxFAST32): Likewise.
52271         [C99-based-standards] (PRIXFAST32): Likewise.
52272         [C99-based-standards] (SCNdFAST32): Likewise.
52273         [C99-based-standards] (SCNiFAST32): Likewise.
52274         [C99-based-standards] (SCNoFAST32): Likewise.
52275         [C99-based-standards] (SCNuFAST32): Likewise.
52276         [C99-based-standards] (SCNxFAST32): Likewise.
52277         [C99-based-standards] (PRId64): Likewise.
52278         [C99-based-standards] (PRIi64): Likewise.
52279         [C99-based-standards] (PRIo64): Likewise.
52280         [C99-based-standards] (PRIu64): Likewise.
52281         [C99-based-standards] (PRIx64): Likewise.
52282         [C99-based-standards] (PRIX64): Likewise.
52283         [C99-based-standards] (SCNd64): Likewise.
52284         [C99-based-standards] (SCNi64): Likewise.
52285         [C99-based-standards] (SCNo64): Likewise.
52286         [C99-based-standards] (SCNu64): Likewise.
52287         [C99-based-standards] (SCNx64): Likewise.
52288         [C99-based-standards] (PRIdLEAST64): Likewise.
52289         [C99-based-standards] (PRIiLEAST64): Likewise.
52290         [C99-based-standards] (PRIoLEAST64): Likewise.
52291         [C99-based-standards] (PRIuLEAST64): Likewise.
52292         [C99-based-standards] (PRIxLEAST64): Likewise.
52293         [C99-based-standards] (PRIXLEAST64): Likewise.
52294         [C99-based-standards] (SCNdLEAST64): Likewise.
52295         [C99-based-standards] (SCNiLEAST64): Likewise.
52296         [C99-based-standards] (SCNoLEAST64): Likewise.
52297         [C99-based-standards] (SCNuLEAST64): Likewise.
52298         [C99-based-standards] (SCNxLEAST64): Likewise.
52299         [C99-based-standards] (PRIdFAST64): Likewise.
52300         [C99-based-standards] (PRIiFAST64): Likewise.
52301         [C99-based-standards] (PRIoFAST64): Likewise.
52302         [C99-based-standards] (PRIuFAST64): Likewise.
52303         [C99-based-standards] (PRIxFAST64): Likewise.
52304         [C99-based-standards] (PRIXFAST64): Likewise.
52305         [C99-based-standards] (SCNdFAST64): Likewise.
52306         [C99-based-standards] (SCNiFAST64): Likewise.
52307         [C99-based-standards] (SCNoFAST64): Likewise.
52308         [C99-based-standards] (SCNuFAST64): Likewise.
52309         [C99-based-standards] (SCNxFAST64): Likewise.
52310         [C99-based-standards] (PRIdMAX): Likewise.
52311         [C99-based-standards] (PRIiMAX): Likewise.
52312         [C99-based-standards] (PRIoMAX): Likewise.
52313         [C99-based-standards] (PRIuMAX): Likewise.
52314         [C99-based-standards] (PRIxMAX): Likewise.
52315         [C99-based-standards] (PRIXMAX): Likewise.
52316         [C99-based-standards] (SCNdMAX): Likewise.
52317         [C99-based-standards] (SCNiMAX): Likewise.
52318         [C99-based-standards] (SCNoMAX): Likewise.
52319         [C99-based-standards] (SCNuMAX): Likewise.
52320         [C99-based-standards] (SCNxMAX): Likewise.
52321         [C99-based-standards] (PRIdPTR): Likewise.
52322         [C99-based-standards] (PRIiPTR): Likewise.
52323         [C99-based-standards] (PRIoPTR): Likewise.
52324         [C99-based-standards] (PRIuPTR): Likewise.
52325         [C99-based-standards] (PRIxPTR): Likewise.
52326         [C99-based-standards] (PRIXPTR): Likewise.
52327         [C99-based-standards] (SCNdPTR): Likewise.
52328         [C99-based-standards] (SCNiPTR): Likewise.
52329         [C99-based-standards] (SCNoPTR): Likewise.
52330         [C99-based-standards] (SCNuPTR): Likewise.
52331         [C99-based-standards] (SCNxPTR): Likewise.
52332         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
52333         allow.
52334         * conform/data/stdint.h-data: Update comments to clarify
52335         requirements.
52336         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
52337         type.
52338         [C99-based standards] (INT8_MAX): Likewise.
52339         [C99-based standards] (INT16_MIN): Likewise.
52340         [C99-based standards] (INT16_MAX): Likewise.
52341         [C99-based standards] (INT32_MIN): Likewise.
52342         [C99-based standards] (INT32_MAX): Likewise.
52343         [C99-based standards] (INT64_MIN): Likewise.
52344         [C99-based standards] (INT64_MAX): Likewise.
52345         [C99-based standards] (UINT8_MAX): Likewise.
52346         [C99-based standards] (UINT16_MAX): Likewise.
52347         [C99-based standards] (UINT32_MAX): Likewise.
52348         [C99-based standards] (UINT64_MAX): Likewise.
52349         [C99-based standards] (INT_LEAST8_MIN): Likewise.
52350         [C99-based standards] (INT_LEAST8_MAX): Likewise.
52351         [C99-based standards] (INT_LEAST16_MIN): Likewise.
52352         [C99-based standards] (INT_LEAST16_MAX): Likewise.
52353         [C99-based standards] (INT_LEAST32_MIN): Likewise.
52354         [C99-based standards] (INT_LEAST32_MAX): Likewise.
52355         [C99-based standards] (INT_LEAST64_MIN): Likewise.
52356         [C99-based standards] (INT_LEAST64_MAX): Likewise.
52357         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
52358         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
52359         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
52360         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
52361         [C99-based standards] (INT_FAST8_MIN): Likewise.
52362         [C99-based standards] (INT_FAST8_MAX): Likewise.
52363         [C99-based standards] (INT_FAST16_MIN): Likewise.
52364         [C99-based standards] (INT_FAST16_MAX): Likewise.
52365         [C99-based standards] (INT_FAST32_MIN): Likewise.
52366         [C99-based standards] (INT_FAST32_MAX): Likewise.
52367         [C99-based standards] (INT_FAST64_MIN): Likewise.
52368         [C99-based standards] (INT_FAST64_MAX): Likewise.
52369         [C99-based standards] (UINT_FAST8_MAX): Likewise.
52370         [C99-based standards] (UINT_FAST16_MAX): Likewise.
52371         [C99-based standards] (UINT_FAST32_MAX): Likewise.
52372         [C99-based standards] (UINT_FAST64_MAX): Likewise.
52373         [C99-based standards] (INTPTR_MIN): Likewise.
52374         [C99-based standards] (INTPTR_MAX): Likewise.
52375         [C99-based standards] (UINTPTR_MAX): Likewise.
52376         [C99-based standards] (INTMAX_MIN): Likewise.
52377         [C99-based standards] (INTMAX_MAX): Likewise.
52378         [C99-based standards] (UINTMAX_MAX): Likewise.
52379         [C99-based standards] (PTRDIFF_MIN): Likewise.
52380         [C99-based standards] (PTRDIFF_MAX): Likewise.
52381         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
52382         [C99-based standards] (SIZE_MAX): Likewise.
52383         [C99-based standards] (WCHAR_MAX): Likewise.
52384         [C99-based standards] (WINT_MAX): Likewise.
52385         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
52386         constraint on value.
52387         [C99-based standards] (WCHAR_MIN): Likewise.
52388         [C99-based standards] (WINT_MIN): Likewise.
52389         [C99-based standards] (*_t): Allow.
52390         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
52391         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
52392         Include math.h-data and complex.h-data.  Remove all expectations
52393         of math.h and complex.h contents.
52394         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
52395         at end of line.
52396         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
52397         (struct tm): Expect tag.
52398         [C99-based-standards] (wcstof): Expect function.
52399         [C99-based-standards] (wcstold): Likewise.
52400         [C99-based-standards] (wcstoll): Likewise.
52401         [C99-based-standards] (wcstoull): Likewise.
52402         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
52403         macro-int-constant.  Specify type.
52404         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
52405         constraint on value.
52406         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52407         Specify type.
52408         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
52409         Specify value.
52410         [ISO C standards]: Do not allow headers.
52411         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
52412         wcs[abcdefghijklmnopqrstuvwxyz]*.
52413         [ISO C standards] (*_t): Do not allow.
52414         * conform/data/wctype.h-data [C99-based standards] (iswblank):
52415         Expect function.
52416         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
52417         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52418         Specify type.
52419         [ISO C standards]: Do not allow headers.
52420         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
52421         is[abcdefghijklmnopqrstuvwxyz]*.
52422         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
52423         to[abcdefghijklmnopqrstuvwxyz]*.
52424         [ISO C standards] (*_t): Do not allow.
52425         * conform/data/stdalign.h-data: New file.
52426         * conform/data/stdbool.h-data: Likewise.
52427         * conform/data/stdnoreturn.h-data: Likewise.
52429 2012-11-07  Roland McGrath  <roland@hack.frob.com>
52431         [BZ #14815]
52432         * manual/filesys.texi (Directory Entries): Typo fix.
52433         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
52435 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52437         * elf/elf.h (EM_AARCH64): New macro.
52438         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
52439         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
52440         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
52441         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
52442         (R_AARCH64_TLSDESC): Likewise.
52443         (NT_ARM_TLS): Likewise.
52444         (NT_ARM_HW_BREAK): Likewise.
52445         (NT_ARM_HW_WATCH): Likewise.
52447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52449         [BZ #14811]
52450         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
52451         (__ieee754_powl): Saturate nonzero exponents with absolute value
52452         below 0x1p-79 to +/- 0x1p-79.
52453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
52454         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
52455         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
52456         nonzero exponents with absolute value below 0x1p-32 to +/-
52457         0x1p-32.
52458         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
52459         (__ieee754_powl): Saturate nonzero exponents with absolute value
52460         below 0x1p-79 to +/- 0x1p-79.
52461         * math/libm-test.inc (pow_test): Add more tests.
52463 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52465         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
52466         _dl_s390_cap_flags with kernel. Increase string length.
52467         (_dl_s390_platforms): Add z196 and zEC12.
52469 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52471         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
52472         Change XOPEN21K to XOPEN2K.
52474 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
52476         * string/memmove.c: Use memcpy when possible.
52478 2012-11-06  Andreas Jaeger  <aj@suse.de>
52480         * po/eo.po: Update from translation team.
52482 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
52484         [BZ #14793]
52485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
52486         exponent and small x and y exponents, scale x or y up.  Increase
52487         by 2 the exponent used in scaling up.
52488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52489         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52490         * math/libm-test.inc (fma_test): Add more tests.
52491         (fma_test_towardzero): Likewise.
52492         (fma_test_downward): Likewise.
52493         (fma_test_upward): Likewise.
52495 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
52497         [BZ #14805]
52498         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
52499         fenv_t *.
52501         [BZ #14801]
52502         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
52503         namespace for names of struct fields.
52504         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
52505         fenv_t fields.
52506         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
52507         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
52509 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52511         [BZ #3665]
52512         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
52514 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52516         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
52517         PTR_DEMANGLE.
52519         [BZ #5246]
52520         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
52521         PTR_DEMANGLE.
52523 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
52525         [BZ #14797]
52526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
52527         definitely overflow as x * y not x * y + z.
52528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52529         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52530         * math/libm-test.inc (fma_test): Add more tests.
52531         (fma_test_towardzero): Likewise.
52532         (fma_test_downward): Likewise.
52533         (fma_test_upward): Likewise.
52535 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52537         [BZ #157]
52539         * include/stub-tag.h: Remove file.
52540         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
52541         '#include' of it.
52542         * manual/maint.texi (Porting): Don't reference it.
52543         * Makerules ($(objpfx)stubs): Likewise.
52544         * dirent/closedir.c: Don't include <stub-tag.h>.
52545         * dirent/dirfd.c: Likewise.
52546         * dirent/fdopendir.c: Likewise.
52547         * dirent/getdents.c: Likewise.
52548         * dirent/getdents64.c: Likewise.
52549         * dirent/opendir.c: Likewise.
52550         * dirent/readdir.c: Likewise.
52551         * dirent/readdir64.c: Likewise.
52552         * dirent/readdir64_r.c: Likewise.
52553         * dirent/readdir_r.c: Likewise.
52554         * dirent/rewinddir.c: Likewise.
52555         * dirent/seekdir.c: Likewise.
52556         * dirent/telldir.c: Likewise.
52557         * gmon/profil.c: Likewise.
52558         * grp/setgroups.c: Likewise.
52559         * inet/if_index.c: Likewise.
52560         * io/access.c: Likewise.
52561         * io/chdir.c: Likewise.
52562         * io/chmod.c: Likewise.
52563         * io/chown.c: Likewise.
52564         * io/close.c: Likewise.
52565         * io/dup.c: Likewise.
52566         * io/dup2.c: Likewise.
52567         * io/dup3.c: Likewise.
52568         * io/euidaccess.c: Likewise.
52569         * io/faccessat.c: Likewise.
52570         * io/fchdir.c: Likewise.
52571         * io/fchmod.c: Likewise.
52572         * io/fchmodat.c: Likewise.
52573         * io/fchown.c: Likewise.
52574         * io/fchownat.c: Likewise.
52575         * io/fcntl.c: Likewise.
52576         * io/flock.c: Likewise.
52577         * io/fstatfs.c: Likewise.
52578         * io/fstatfs64.c: Likewise.
52579         * io/fstatvfs.c: Likewise.
52580         * io/fstatvfs64.c: Likewise.
52581         * io/futimens.c: Likewise.
52582         * io/fxstat.c: Likewise.
52583         * io/fxstat64.c: Likewise.
52584         * io/fxstatat.c: Likewise.
52585         * io/fxstatat64.c: Likewise.
52586         * io/getcwd.c: Likewise.
52587         * io/isatty.c: Likewise.
52588         * io/lchmod.c: Likewise.
52589         * io/lchown.c: Likewise.
52590         * io/link.c: Likewise.
52591         * io/linkat.c: Likewise.
52592         * io/lseek.c: Likewise.
52593         * io/lseek64.c: Likewise.
52594         * io/lxstat64.c: Likewise.
52595         * io/mkdir.c: Likewise.
52596         * io/mkdirat.c: Likewise.
52597         * io/mkfifo.c: Likewise.
52598         * io/mkfifoat.c: Likewise.
52599         * io/open.c: Likewise.
52600         * io/open64.c: Likewise.
52601         * io/openat.c: Likewise.
52602         * io/openat64.c: Likewise.
52603         * io/pipe.c: Likewise.
52604         * io/pipe2.c: Likewise.
52605         * io/poll.c: Likewise.
52606         * io/posix_fadvise.c: Likewise.
52607         * io/posix_fadvise64.c: Likewise.
52608         * io/posix_fallocate.c: Likewise.
52609         * io/posix_fallocate64.c: Likewise.
52610         * io/read.c: Likewise.
52611         * io/readlink.c: Likewise.
52612         * io/readlinkat.c: Likewise.
52613         * io/rmdir.c: Likewise.
52614         * io/sendfile.c: Likewise.
52615         * io/sendfile64.c: Likewise.
52616         * io/statfs.c: Likewise.
52617         * io/statfs64.c: Likewise.
52618         * io/statvfs.c: Likewise.
52619         * io/statvfs64.c: Likewise.
52620         * io/symlink.c: Likewise.
52621         * io/symlinkat.c: Likewise.
52622         * io/ttyname.c: Likewise.
52623         * io/ttyname_r.c: Likewise.
52624         * io/umask.c: Likewise.
52625         * io/unlink.c: Likewise.
52626         * io/unlinkat.c: Likewise.
52627         * io/utime.c: Likewise.
52628         * io/utimensat.c: Likewise.
52629         * io/write.c: Likewise.
52630         * io/xmknod.c: Likewise.
52631         * io/xmknodat.c: Likewise.
52632         * io/xstat.c: Likewise.
52633         * io/xstat64.c: Likewise.
52634         * login/getpt.c: Likewise.
52635         * login/grantpt.c: Likewise.
52636         * login/unlockpt.c: Likewise.
52637         * math/e_acoshl.c: Likewise.
52638         * math/e_acosl.c: Likewise.
52639         * math/e_asinl.c: Likewise.
52640         * math/e_atan2l.c: Likewise.
52641         * math/e_atanhl.c: Likewise.
52642         * math/e_coshl.c: Likewise.
52643         * math/e_expl.c: Likewise.
52644         * math/e_fmodl.c: Likewise.
52645         * math/e_gammal_r.c: Likewise.
52646         * math/e_hypotl.c: Likewise.
52647         * math/e_j0l.c: Likewise.
52648         * math/e_j1l.c: Likewise.
52649         * math/e_jnl.c: Likewise.
52650         * math/e_lgammal_r.c: Likewise.
52651         * math/e_log10l.c: Likewise.
52652         * math/e_log2l.c: Likewise.
52653         * math/e_logl.c: Likewise.
52654         * math/e_powl.c: Likewise.
52655         * math/e_rem_pio2l.c: Likewise.
52656         * math/e_sinhl.c: Likewise.
52657         * math/e_sqrtl.c: Likewise.
52658         * math/fclrexcpt.c: Likewise.
52659         * math/fedisblxcpt.c: Likewise.
52660         * math/feenablxcpt.c: Likewise.
52661         * math/fegetenv.c: Likewise.
52662         * math/fegetexcept.c: Likewise.
52663         * math/fegetround.c: Likewise.
52664         * math/feholdexcpt.c: Likewise.
52665         * math/fesetenv.c: Likewise.
52666         * math/fesetround.c: Likewise.
52667         * math/feupdateenv.c: Likewise.
52668         * math/fgetexcptflg.c: Likewise.
52669         * math/fraiseexcpt.c: Likewise.
52670         * math/fsetexcptflg.c: Likewise.
52671         * math/ftestexcept.c: Likewise.
52672         * math/k_cosl.c: Likewise.
52673         * math/k_rem_pio2l.c: Likewise.
52674         * math/k_sinl.c: Likewise.
52675         * math/k_tanl.c: Likewise.
52676         * math/s_asinhl.c: Likewise.
52677         * math/s_atanl.c: Likewise.
52678         * math/s_cbrtl.c: Likewise.
52679         * math/s_erfl.c: Likewise.
52680         * math/s_expm1l.c: Likewise.
52681         * math/s_log1pl.c: Likewise.
52682         * math/s_tanhl.c: Likewise.
52683         * misc/acct.c: Likewise.
52684         * misc/brk.c: Likewise.
52685         * misc/chflags.c: Likewise.
52686         * misc/chroot.c: Likewise.
52687         * misc/fchflags.c: Likewise.
52688         * misc/fgetxattr.c: Likewise.
52689         * misc/flistxattr.c: Likewise.
52690         * misc/fremovexattr.c: Likewise.
52691         * misc/fsetxattr.c: Likewise.
52692         * misc/fsync.c: Likewise.
52693         * misc/ftruncate.c: Likewise.
52694         * misc/futimes.c: Likewise.
52695         * misc/futimesat.c: Likewise.
52696         * misc/getdomain.c: Likewise.
52697         * misc/getdtsz.c: Likewise.
52698         * misc/gethostid.c: Likewise.
52699         * misc/gethostname.c: Likewise.
52700         * misc/getloadavg.c: Likewise.
52701         * misc/getpagesize.c: Likewise.
52702         * misc/getsysstats.c: Likewise.
52703         * misc/getxattr.c: Likewise.
52704         * misc/gtty.c: Likewise.
52705         * misc/ioctl.c: Likewise.
52706         * misc/lgetxattr.c: Likewise.
52707         * misc/listxattr.c: Likewise.
52708         * misc/llistxattr.c: Likewise.
52709         * misc/lremovexattr.c: Likewise.
52710         * misc/lsetxattr.c: Likewise.
52711         * misc/lutimes.c: Likewise.
52712         * misc/madvise.c: Likewise.
52713         * misc/mincore.c: Likewise.
52714         * misc/mlock.c: Likewise.
52715         * misc/mlockall.c: Likewise.
52716         * misc/mmap.c: Likewise.
52717         * misc/mprotect.c: Likewise.
52718         * misc/msync.c: Likewise.
52719         * misc/munlock.c: Likewise.
52720         * misc/munlockall.c: Likewise.
52721         * misc/munmap.c: Likewise.
52722         * misc/preadv.c: Likewise.
52723         * misc/preadv64.c: Likewise.
52724         * misc/ptrace.c: Likewise.
52725         * misc/pwritev.c: Likewise.
52726         * misc/pwritev64.c: Likewise.
52727         * misc/readv.c: Likewise.
52728         * misc/reboot.c: Likewise.
52729         * misc/remap_file_pages.c: Likewise.
52730         * misc/removexattr.c: Likewise.
52731         * misc/revoke.c: Likewise.
52732         * misc/select.c: Likewise.
52733         * misc/setdomain.c: Likewise.
52734         * misc/setegid.c: Likewise.
52735         * misc/seteuid.c: Likewise.
52736         * misc/sethostid.c: Likewise.
52737         * misc/sethostname.c: Likewise.
52738         * misc/setregid.c: Likewise.
52739         * misc/setreuid.c: Likewise.
52740         * misc/setxattr.c: Likewise.
52741         * misc/sstk.c: Likewise.
52742         * misc/stty.c: Likewise.
52743         * misc/swapoff.c: Likewise.
52744         * misc/swapon.c: Likewise.
52745         * misc/sync.c: Likewise.
52746         * misc/syncfs.c: Likewise.
52747         * misc/syscall.c: Likewise.
52748         * misc/truncate.c: Likewise.
52749         * misc/ualarm.c: Likewise.
52750         * misc/usleep.c: Likewise.
52751         * misc/ustat.c: Likewise.
52752         * misc/utimes.c: Likewise.
52753         * misc/vhangup.c: Likewise.
52754         * misc/writev.c: Likewise.
52755         * posix/_exit.c: Likewise.
52756         * posix/alarm.c: Likewise.
52757         * posix/execve.c: Likewise.
52758         * posix/fexecve.c: Likewise.
52759         * posix/fork.c: Likewise.
52760         * posix/fpathconf.c: Likewise.
52761         * posix/getaddrinfo.c: Likewise.
52762         * posix/getegid.c: Likewise.
52763         * posix/geteuid.c: Likewise.
52764         * posix/getgid.c: Likewise.
52765         * posix/getgroups.c: Likewise.
52766         * posix/getlogin.c: Likewise.
52767         * posix/getlogin_r.c: Likewise.
52768         * posix/getpgid.c: Likewise.
52769         * posix/getpid.c: Likewise.
52770         * posix/getppid.c: Likewise.
52771         * posix/getresgid.c: Likewise.
52772         * posix/getresuid.c: Likewise.
52773         * posix/getsid.c: Likewise.
52774         * posix/getuid.c: Likewise.
52775         * posix/glob64.c: Likewise.
52776         * posix/nanosleep.c: Likewise.
52777         * posix/pathconf.c: Likewise.
52778         * posix/pause.c: Likewise.
52779         * posix/posix_madvise.c: Likewise.
52780         * posix/pread.c: Likewise.
52781         * posix/pread64.c: Likewise.
52782         * posix/pwrite.c: Likewise.
52783         * posix/pwrite64.c: Likewise.
52784         * posix/sched_getaffinity.c: Likewise.
52785         * posix/sched_getp.c: Likewise.
52786         * posix/sched_gets.c: Likewise.
52787         * posix/sched_primax.c: Likewise.
52788         * posix/sched_primin.c: Likewise.
52789         * posix/sched_rr_gi.c: Likewise.
52790         * posix/sched_setaffinity.c: Likewise.
52791         * posix/sched_setp.c: Likewise.
52792         * posix/sched_sets.c: Likewise.
52793         * posix/sched_yield.c: Likewise.
52794         * posix/setgid.c: Likewise.
52795         * posix/setlogin.c: Likewise.
52796         * posix/setpgid.c: Likewise.
52797         * posix/setresgid.c: Likewise.
52798         * posix/setresuid.c: Likewise.
52799         * posix/setsid.c: Likewise.
52800         * posix/setuid.c: Likewise.
52801         * posix/sleep.c: Likewise.
52802         * posix/spawni.c: Likewise.
52803         * posix/sysconf.c: Likewise.
52804         * posix/times.c: Likewise.
52805         * posix/wait.c: Likewise.
52806         * posix/wait3.c: Likewise.
52807         * posix/wait4.c: Likewise.
52808         * posix/waitpid.c: Likewise.
52809         * resolv/gai_sigqueue.c: Likewise.
52810         * resource/getpriority.c: Likewise.
52811         * resource/getrlimit.c: Likewise.
52812         * resource/getrusage.c: Likewise.
52813         * resource/nice.c: Likewise.
52814         * resource/setpriority.c: Likewise.
52815         * resource/setrlimit.c: Likewise.
52816         * resource/ulimit.c: Likewise.
52817         * rt/aio_cancel.c: Likewise.
52818         * rt/aio_fsync.c: Likewise.
52819         * rt/aio_read.c: Likewise.
52820         * rt/aio_sigqueue.c: Likewise.
52821         * rt/aio_suspend.c: Likewise.
52822         * rt/aio_write.c: Likewise.
52823         * rt/clock_getres.c: Likewise.
52824         * rt/clock_gettime.c: Likewise.
52825         * rt/clock_nanosleep.c: Likewise.
52826         * rt/clock_settime.c: Likewise.
52827         * rt/lio_listio.c: Likewise.
52828         * rt/mq_close.c: Likewise.
52829         * rt/mq_getattr.c: Likewise.
52830         * rt/mq_notify.c: Likewise.
52831         * rt/mq_open.c: Likewise.
52832         * rt/mq_receive.c: Likewise.
52833         * rt/mq_send.c: Likewise.
52834         * rt/mq_setattr.c: Likewise.
52835         * rt/mq_timedreceive.c: Likewise.
52836         * rt/mq_timedsend.c: Likewise.
52837         * rt/mq_unlink.c: Likewise.
52838         * rt/shm_open.c: Likewise.
52839         * rt/shm_unlink.c: Likewise.
52840         * rt/timer_create.c: Likewise.
52841         * rt/timer_delete.c: Likewise.
52842         * rt/timer_getoverr.c: Likewise.
52843         * rt/timer_gettime.c: Likewise.
52844         * rt/timer_settime.c: Likewise.
52845         * setjmp/__longjmp.c: Likewise.
52846         * setjmp/setjmp.c: Likewise.
52847         * signal/kill.c: Likewise.
52848         * signal/killpg.c: Likewise.
52849         * signal/raise.c: Likewise.
52850         * signal/sigaction.c: Likewise.
52851         * signal/sigaltstack.c: Likewise.
52852         * signal/sigblock.c: Likewise.
52853         * signal/sigignore.c: Likewise.
52854         * signal/sigintr.c: Likewise.
52855         * signal/signal.c: Likewise.
52856         * signal/sigpause.c: Likewise.
52857         * signal/sigpending.c: Likewise.
52858         * signal/sigqueue.c: Likewise.
52859         * signal/sigreturn.c: Likewise.
52860         * signal/sigset.c: Likewise.
52861         * signal/sigsetmask.c: Likewise.
52862         * signal/sigstack.c: Likewise.
52863         * signal/sigsuspend.c: Likewise.
52864         * signal/sigtimedwait.c: Likewise.
52865         * signal/sigvec.c: Likewise.
52866         * signal/sigwait.c: Likewise.
52867         * signal/sigwaitinfo.c: Likewise.
52868         * signal/sysv_signal.c: Likewise.
52869         * socket/accept.c: Likewise.
52870         * socket/accept4.c: Likewise.
52871         * socket/bind.c: Likewise.
52872         * socket/connect.c: Likewise.
52873         * socket/getpeername.c: Likewise.
52874         * socket/getsockname.c: Likewise.
52875         * socket/getsockopt.c: Likewise.
52876         * socket/isfdtype.c: Likewise.
52877         * socket/listen.c: Likewise.
52878         * socket/recv.c: Likewise.
52879         * socket/recvfrom.c: Likewise.
52880         * socket/recvmsg.c: Likewise.
52881         * socket/send.c: Likewise.
52882         * socket/sendmsg.c: Likewise.
52883         * socket/sendto.c: Likewise.
52884         * socket/setsockopt.c: Likewise.
52885         * socket/shutdown.c: Likewise.
52886         * socket/sockatmark.c: Likewise.
52887         * socket/socket.c: Likewise.
52888         * socket/socketpair.c: Likewise.
52889         * stdio-common/ctermid.c: Likewise.
52890         * stdio-common/cuserid.c: Likewise.
52891         * stdio-common/remove.c: Likewise.
52892         * stdio-common/rename.c: Likewise.
52893         * stdio-common/renameat.c: Likewise.
52894         * stdio-common/tempname.c: Likewise.
52895         * stdlib/getcontext.c: Likewise.
52896         * stdlib/makecontext.c: Likewise.
52897         * stdlib/setcontext.c: Likewise.
52898         * stdlib/swapcontext.c: Likewise.
52899         * stdlib/system.c: Likewise.
52900         * streams/fattach.c: Likewise.
52901         * streams/fdetach.c: Likewise.
52902         * streams/getmsg.c: Likewise.
52903         * streams/getpmsg.c: Likewise.
52904         * streams/putmsg.c: Likewise.
52905         * streams/putpmsg.c: Likewise.
52906         * sysdeps/unix/bsd/getpt.c: Likewise.
52907         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52908         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52909         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52911         Likewise.
52912         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52913         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52914         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52915         * sysvipc/msgctl.c: Likewise.
52916         * sysvipc/msgget.c: Likewise.
52917         * sysvipc/msgrcv.c: Likewise.
52918         * sysvipc/msgsnd.c: Likewise.
52919         * sysvipc/semctl.c: Likewise.
52920         * sysvipc/semget.c: Likewise.
52921         * sysvipc/semop.c: Likewise.
52922         * sysvipc/semtimedop.c: Likewise.
52923         * sysvipc/shmat.c: Likewise.
52924         * sysvipc/shmctl.c: Likewise.
52925         * sysvipc/shmdt.c: Likewise.
52926         * sysvipc/shmget.c: Likewise.
52927         * termios/tcdrain.c: Likewise.
52928         * termios/tcflow.c: Likewise.
52929         * termios/tcflush.c: Likewise.
52930         * termios/tcgetattr.c: Likewise.
52931         * termios/tcgetpgrp.c: Likewise.
52932         * termios/tcsendbrk.c: Likewise.
52933         * termios/tcsetattr.c: Likewise.
52934         * termios/tcsetpgrp.c: Likewise.
52935         * time/adjtime.c: Likewise.
52936         * time/clock.c: Likewise.
52937         * time/getitimer.c: Likewise.
52938         * time/gettimeofday.c: Likewise.
52939         * time/setitimer.c: Likewise.
52940         * time/settimeofday.c: Likewise.
52941         * time/stime.c: Likewise.
52942         * time/time.c: Likewise.
52944 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52946         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52947         /usr/old/bin.
52949         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52950         instead of spaces.
52951         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52953 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52955         [BZ #14796]
52956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52957         FE_TONEAREST before applying Dekker multiplication and Knuth
52958         addition.  Clear inexact exceptions and check for exact zero
52959         results afterwards.
52960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52961         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52963         * math/libm-test.inc (fma_test): Add more tests.
52964         (fma_test_towardzero): Likewise.
52965         (fma_test_downward): Likewise.
52966         (fma_test_upward): Likewise.
52967         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52968         function.
52969         (libc_fesetround): New macro.
52970         (libc_fesetroundf): Likewise.
52971         (libc_fesetroundl): Likewise.
52972         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52973         function.
52974         (libc_fesetround_387): Likewise.
52975         (libc_fesetroundf): New macro.
52976         (libc_fesetround): Likewise.
52977         (libc_fesetroundl): Likewise.
52978         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52979         function.
52980         (libc_fesetroundf): New macro.
52981         (libc_fesetround): Likewise.
52982         (libc_fesetroundl): Likewise.
52983         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52984         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52985         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52986         libm_hidden_ver.
52987         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52988         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52989         libm_hidden_def.
52990         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52991         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52992         libm_hidden_ver.
52993         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52994         libm_hidden_def.
52996         [BZ #3439]
52997         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52998         integer constant usable in #if and use that to give value to enum
52999         constant.
53000         (FE_DIVBYZERO): Likewise.
53001         (FE_UNDERFLOW): Likewise.
53002         (FE_OVERFLOW): Likewise.
53003         (FE_INVALID): Likewise.
53004         (FE_INVALID_SNAN): Likewise.
53005         (FE_INVALID_ISI): Likewise.
53006         (FE_INVALID_IDI): Likewise.
53007         (FE_INVALID_ZDZ): Likewise.
53008         (FE_INVALID_IMZ): Likewise.
53009         (FE_INVALID_COMPARE): Likewise.
53010         (FE_INVALID_SOFTWARE): Likewise.
53011         (FE_INVALID_SQRT): Likewise.
53012         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53013         (FE_TONEAREST): Likewise.
53014         (FE_TOWARDZERO): Likewise.
53015         (FE_UPWARD): Likewise.
53016         (FE_DOWNWARD): Likewise.
53017         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53018         (FE_DIVBYZERO): Likewise.
53019         (FE_OVERFLOW): Likewise.
53020         (FE_UNDERFLOW): Likewise.
53021         (FE_INEXACT): Likewise.
53022         (FE_TONEAREST): Likewise.
53023         (FE_DOWNWARD): Likewise.
53024         (FE_UPWARD): Likewise.
53025         (FE_TOWARDZERO): Likewise.
53026         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53027         (FE_UNDERFLOW): Likewise.
53028         (FE_OVERFLOW): Likewise.
53029         (FE_DIVBYZERO): Likewise.
53030         (FE_INVALID): Likewise.
53031         (FE_TONEAREST): Likewise.
53032         (FE_TOWARDZERO): Likewise.
53033         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53034         (FE_OVERFLOW): Likewise.
53035         (FE_UNDERFLOW): Likewise.
53036         (FE_DIVBYZERO): Likewise.
53037         (FE_INEXACT): Likewise.
53038         (FE_TONEAREST): Likewise.
53039         (FE_TOWARDZERO): Likewise.
53040         (FE_UPWARD): Likewise.
53041         (FE_DOWNWARD): Likewise.
53042         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53043         (FE_DIVBYZERO): Likewise.
53044         (FE_OVERFLOW): Likewise.
53045         (FE_UNDERFLOW): Likewise.
53046         (FE_INEXACT): Likewise.
53047         (FE_TONEAREST): Likewise.
53048         (FE_DOWNWARD): Likewise.
53049         (FE_UPWARD): Likewise.
53050         (FE_TOWARDZERO): Likewise.
53052 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53054         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53056 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53058         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53059         commands.  Quote $PWD.
53060         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53061         -x" by "export".
53062         (remove_newlines): Remove.
53064 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53066         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53067         * stdlib/stdlib.h (atof): Moved to ...
53068         * include/bits/stdlib-float.h: Here.  New file.
53069         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53070         * stdlib/bits/stdlib-float.h: New file.
53071         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53072         -mno-sse -mno-mmx.
53073         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53074         <xmmintrin.h>.
53076 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53078         * conform/conformtest.pl (@headers): Add fenv.h.
53079         * conform/data/fenv.h-data: New file.
53080         * include/fenv.h [_ISOMAC]: Disable all contents of file except
53081         include of <math/fenv.h>.
53083         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53084         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53085         && !UNIX98].  Enables tests for XOPEN2K8.
53086         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53087         POSIX2008]: Likewise.
53089         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53090         (struct rusage): Do not expect type or its members.
53092         [BZ #3439]
53093         * math/math.h (FP_NAN): Define macro to integer constant usable in
53094         #if and use that to give value to enum constant.
53095         (FP_INFINITE): Likewise.
53096         (FP_ZERO): Likewise.
53097         (FP_SUBNORMAL): Likewise.
53098         (FP_NORMAL): Likewise.
53100 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
53102         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53103         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53104         arguments.
53106 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53108         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53109         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53110         autoconf-time if not.
53111         * configure.in: Remove AC_PREREQ.
53113 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53115         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53116         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53117         of the internal implementation.
53119 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53121         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53122         except include of <misc/sys/syslog.h>.
53124 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53127         function returns with a NULL context exit with zero.
53129 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53131         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
53133 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
53135         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
53136         (run_program_cmd): This.
53137         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
53138         (tst_langinfo): New variable.  Use it.
53140 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
53142         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
53143         floating point opcodes.
53145 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53147         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
53148         variable.
53150         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53152         * sysdeps/mach/hurd/powerpc: Remove directory.
53153         * sysdeps/mach/powerpc: Likewise.
53155 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53157         * scripts/check-local-headers.sh: Ignore c++ headers.
53159 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53161         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
53162         __libc_cleanup_region_start argument.
53164 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
53166         [BZ #14784]
53167         [BZ #14785]
53168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
53169         x * y using scaling, not as x * y + z.
53170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53171         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53172         * math/libm-test.inc (fma_test): Add more tests.
53173         (fma_test_towardzero): Likewise.
53174         (fma_test_downward): Likewise.
53175         (fma_test_upward): Likewise.
53177 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53179         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
53181 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53183         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
53184         New variable.
53186 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
53188         * rt/tst-shm.c (worker): Correct checking for mmap failure.
53190 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53193         Fix sort order.
53194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53195         Likewise.
53197 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53200         Fix the order of the list for glibc 2.17.
53201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53202         Likewise.
53204 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53208 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53210         [BZ #14610]
53211         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
53212         for low part of x being zero before using __atanl (y).
53213         * math/libm-test.inc (atan2_test): Add another test.
53215         * manual/install.texi (Configuring and compiling): Document
53216         general use of test-wrapper and test-wrapper-env.
53217         * INSTALL: Regenerated.
53219         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
53220         (__fma): Do not extract and scale down low bits on after-rounding
53221         systems when result rounded to normal precision would have normal
53222         exponent.
53223         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
53224         (__fmal): Do not extract and scale down low bits on after-rounding
53225         systems when result rounded to normal precision would have normal
53226         exponent.
53227         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
53228         (__fmal): Do not extract and scale down low bits on after-rounding
53229         systems when result rounded to normal precision would have normal
53230         exponent.
53231         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
53232         macro.
53233         (fma_test): Add more tests.
53234         (fma_test_towardzero): Likewise.
53235         (fma_test_downward): Likewise.
53236         (fma_test_upward): Likewise.
53238 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
53240         * sysdeps/i386/tininess.h: Renamed to ...
53241         * sysdeps/x86/tininess.h: This.
53242         * sysdeps/x86_64/tininess.h: Removed.
53244 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53246         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
53247         input.  Use $(build-program-cmd).
53248         ($(objpfx)tst-array1-static.out): Likewise.
53249         ($(objpfx)tst-array2.out): Likewise.
53250         ($(objpfx)tst-array3.out): Likewise.
53251         ($(objpfx)tst-array4.out): Likewise.
53252         ($(objpfx)tst-array5.out): Likewise.
53253         ($(objpfx)tst-array5-static.out): Likewise.
53255 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
53257         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
53258         if defined.
53260         * nss/nsswitch.h (nss_interface_function): Provide new
53261         macro for use with NSS functions.
53262         * grp/initgroups.c: Use new macro.
53263         * nss/getXXbyYY.c: Likewise.
53264         * nss/getXXbyYY_r.c: Likewise.
53265         * nss/getXXent.c: Likewise.
53266         * nss/getXXent_r.c: Likewise.
53267         * sysdeps/posix/getaddrinfo.c: Likewise.
53269 2012-10-30  Andreas Jaeger  <aj@suse.de>
53271         * po/ru.po: Update Russion translation from translation project.
53273 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53275         [BZ #14152]
53276         [BZ #14783]
53277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
53278         result and shift together with sticky bit instead of replicating
53279         round-to-nearest rounding.
53280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53282         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
53283         missing underflow exceptions.
53284         (fma_test_towardzero): Add more tests.
53285         (fma_test_downward): Likewise.
53286         (fma_test_upward): Likewise.
53288         [BZ #14047]
53289         * sysdeps/generic/tininess.h: New file.
53290         * sysdeps/i386/tininess.h: Likewise.
53291         * sysdeps/sh/tininess.h: Likewise.
53292         * sysdeps/x86_64/tininess.h: Likewise.
53293         * stdlib/tst-strtod-underflow.c: Likewise.
53294         * stdlib/tst-tininess.c: Likewise.
53295         * stdlib/strtod_l.c: Include <tininess.h>.
53296         (round_and_return): Do not set errno for exact underflow cases.
53297         Force an underflow exception when setting errno for underflow.
53298         Determine underflow based on rounding to normal precision if
53299         TININESS_AFTER_ROUNDING.
53300         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
53301         ERANGE for exact underflow cases.
53302         * stdlib/Makefile (tests): Add tst-tininess and
53303         tst-strtod-underflow.
53304         ($(objpfx)tst-tininess): Use $(link-libm).
53305         ($(objpfx)tst-strtod-underflow): Likewise.
53307 2012-10-30  Andreas Jaeger  <aj@suse.de>
53309         [BZ#14767]
53310         * elf/Makefile (tests): Remove conditional for have-initfini-array
53311         since this is now always required and the variable does not exist
53312         anymore.
53313         (tests-static): Likewise.
53314         (modules-names): Likewise.
53316         * po/eo.po: Add Esperanto translation from translation project.
53318         * elf/tst-array1.c (fini_array): Make writeable so that it can be
53319         merged with constructor/destructor.
53320         (init_array): Likewise.
53321         * elf/tst-array2dep.c (fini_array): Likewise.
53322         (init_array): Likewise.
53324 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
53326         * manual/message.texi: Delete @cartouche tags.
53328 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
53330         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
53331         EOPNOTSUPP.
53332         * sysdeps/mach/hurd/fsync.c: Likewise.
53334         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
53335         [_POSIX_REALTIME_SIGNALS]: Change condition to
53336         [_POSIX_REALTIME_SIGNALS > 0].
53338 2012-10-27  Andreas Jaeger  <aj@suse.de>
53340         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
53341         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
53342         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
53343         [__WORDSIZE != 64]: Likewise.
53345 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
53347         *  iconvdata/tst-table.sh: Remove ${SHELL}.
53348         *  iconvdata/tst-tables.sh: Likewise.
53350 2012-10-25  David S. Miller  <davem@davemloft.net>
53352         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53353         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
53354         of strtoull.
53356         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
53357         ifunc-impl-list.c
53358         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53359         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
53360         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
53361         file.
53363 2012-10-25  Roland McGrath  <roland@hack.frob.com>
53365         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53366         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
53367         __getdirentries.
53369 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53370             Jim Blandy  <jimb@codesourcery.com>
53372         * scripts/cross-test-ssh.sh: New file.
53373         * manual/install.texi (Configuring and compiling): Document use of
53374         cross-test-ssh.sh.
53375         * INSTALL: Regenerated.
53377 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
53379         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
53380         EOPNOTSUPP.
53382 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53384         * Makeconfig (run-program-prefix): Fix comment.
53386 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53387             Jim Blandy  <jimb@codesourcery.com>
53389         * Makeconfig (test-wrapper): New variable,
53390         (test-wrapper-env): Likewise.
53391         [$(cross-compiling) = yes && $(test-wrapper) != ""]
53392         (run-built-tests): Define to yes.
53393         (run-program-prefix): Use $(test-wrapper).
53394         (built-program-cmd): Likewise.
53395         * Rules (make-test-out): Use $(test-wrapper-env) and
53396         $(host-built-program-cmd).
53397         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
53398         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
53399         tst-pathopt.sh.
53400         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
53401         $(test-wrapper-env) to tst-rtld-load-self.sh.
53402         ($(objpfx)order2.out): Use $(test-wrapper).
53403         ($(objpfx)tst-initorder.out): Likewise.
53404         ($(objpfx)tst-initorder2.out): Likewise.
53405         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
53406         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
53407         (test_wrapper_env): New variable.  Use it to run ld.so.
53408         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
53409         Use it to run ld.so.
53410         (test_wrapper_env): Likewise.
53411         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
53412         $(test-wrapper) to run-iconv-test.sh.
53413         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
53414         (ICONV): Use $test_wrapper.
53415         * posix/Makefile ($(objpfx)globtest.out): Pass
53416         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
53417         globtest.sh, not $(run-program-prefix).
53418         * posix/globtest.sh (run_via_rtld_prefix): New variable.
53419         (test_wrapper): Likewise.
53420         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
53421         set together with run_via_rtld_prefix.
53422         (run_program_prefix): Define in terms of test_wrapper and
53423         run_via_rtld_prefix.
53425 2012-10-24  Roland McGrath  <roland@hack.frob.com>
53427         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
53428         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
53429         Targets removed.
53431         [BZ #14743]
53432         * include/time.h: Remove librt_hidden_proto (clock_gettime).
53433         Declare __clock_getres, __clock_gettime, __clock_settime,
53434         __clock_nanosleep, and __clock_getcpuclockid.
53435         * rt/clock_gettime.c: Define __clock_gettime as an alias.
53436         Remove librt_hidden_def (clock_gettime).
53437         * sysdeps/unix/clock_gettime.c: Likewise.
53438         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
53439         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
53440         * rt/clock_getres.c: Define __clock_getres as an alias.
53441         * sysdeps/posix/clock_getres.c: Likewise.
53442         * rt/clock_settime.c: Define __clock_settime as an alias.
53443         * sysdeps/unix/clock_settime.c: Likewise.
53444         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
53445         * sysdeps/unix/clock_nanosleep.c: Likewise.
53446         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
53447         * rt/clock-compat.c: New file.
53448         * rt/Makefile (librt-routines): Add clock-compat and move
53449         $(clock-routines) to ...
53450         (routines): ... here, new variable.
53451         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
53452         Don't add get_clockfreq here.
53453         * rt/Versions (libc: GLIBC_2.17): New version set.
53454         Add clock_* symbols here.
53455         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
53456         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
53457         (GLIBC_2.17): Add clock_* symbols.
53458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53460         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53462         Likewise.
53463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53464         Likewise.
53465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53469         * NEWS: Mention the move.
53471         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53472         Use __open, __read, __close rather than their public counterparts.
53473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53474         (__get_clockfreq_via_cpuinfo): Likewise.
53475         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
53476         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
53478         * config.h.in (HAVE_IFUNC): New #undef.
53479         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
53480         was successful.
53481         * configure: Regenerated.
53483 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53485         * configure.in: Move READELF check to start of file.
53486         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
53487         libc_cv_asm_gnu_indirect_function in the process.
53488         * configure: Regenerated.
53490 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53492         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
53493         send the output to /dev/null.
53494         (libc_cv_cc_with_libunwind): Likewise.
53495         (libc_cv_as_noexecstack): Likewise.
53496         * configure: Regenerate.
53498 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53500         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
53502         * posix/globtest.sh (TMPDIR): Do not set.
53503         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
53504         (testout): Likewise.
53506 2012-10-24  Andreas Jaeger  <aj@suse.de>
53508         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
53509         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
53510         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
53511         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
53512         posix_fadvise64, posix_fallocate64.
53514         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
53515         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
53516         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
53517         Likewise.
53518         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
53519         Likewise.
53520         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
53522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
53523         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
53524         <bits/fcntl-linux.h>.
53525         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
53527         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
53528         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
53529         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
53530         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
53531         [__WORDSIZE != 64]: Likewise.
53533 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53535         * Makeconfig (run-built-tests): New variable.
53536         * Rules [$(cross-compiling) = yes]: Change condition to
53537         [$(run-built-tests) = no].
53538         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
53539         to [$(run-built-tests) = yes].
53540         * elf/Makefile [$(cross-compiling) = no]: Likewise.
53541         * grp/Makefile [$(cross-compiling) = no]: Likewise.
53542         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
53543         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
53544         * intl/Makefile [$(cross-compiling) = no]: Likewise.
53545         * io/Makefile [$(cross-compiling) = no]: Likewise.
53546         * libio/Makefile [$(cross-compiling) = no]: Likewise.
53547         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
53548         * misc/Makefile [$(cross-compiling) = no]: Likewise.
53549         * posix/Makefile [$(cross-compiling) = no]: Likewise.
53550         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
53551         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
53552         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
53553         * string/Makefile [$(cross-compiling) = no]: Likewise.
53555         * posix/Makefile ($(objpfx)globtest.out): Pass
53556         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
53557         $(rtld-installed-name).
53558         * posix/globtest.sh (elf_objpfx): Remove variable.
53559         (rtld_installed_name): Likewise.
53560         (library_path): Likewise.
53561         (run_program_prefix): New variable.  Use for running globtest
53562         binary.
53564 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
53565             Joseph Myers  <joseph@codesourcery.com>
53567         * Makeconfig (host-built-program-cmd): New variable.
53568         * elf/Makefile (tst-stackguard1-ARGS): Use
53569         $(host-built-program-cmd).
53570         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
53571         (tst-spawn-ARGS): Likewise.
53572         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
53574 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53575             Jim Blandy  <jimb@codesourcery.com>
53577         * Makeconfig (run-via-rtld-prefix): New variable.
53578         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
53579         (built-program-cmd): Likewise.
53581 2012-10-22  Andreas Jaeger  <aj@suse.de>
53583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
53584         __O_RSYNC if it exists, otherwise to O_SYNC.
53586 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
53587             Joseph Myers  <joseph@codesourcery.com>
53589         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
53590         /dev/null.
53591         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
53592         from /dev/null
53593         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
53594         /dev/null.
53596 2012-10-22  Andreas Jaeger  <aj@suse.de>
53598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
53599         Define always.
53600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
53602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53603         bits/fcntl-linux.h.
53605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
53606         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
53608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
53609         to __O_LARGEFILE.
53610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
53611         to __O_LARGEFILE.
53613 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
53614             Joseph Myers  <joseph@codesourcery.com>
53616         * config.make.in (NM): New variable.
53618 2012-10-21  Andreas Jaeger  <aj@suse.de>
53620         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53621         definitions and declarations that are provided by
53622         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53624 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53626         [BZ #14683]
53627         * elf/Makefile (tests-static): Add tst-leaks1-static.
53628         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53629         ($(objpfx)tst-leaks1-static): New rule.
53630         ($(objpfx)tst-leaks1-static-mem): Likewise.
53631         (tst-leaks1-static-ENV): New macro.
53632         * elf/dl-open.c (dl_open_worker): Check the main application
53633         only if SHARED is defined.
53634         * elf/tst-leaks1-static.c: New file.
53636 2012-10-20  Andreas Jaeger  <aj@suse.de>
53638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53639         generic values for Linux.
53640         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53641         and declarations that are provided by <bits/fcntl-linux.h> and
53642         include <bits/fcntl-linux.h>.
53643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53646 2012-10-20  Roland McGrath  <roland@hack.frob.com>
53648         * io/fcntl.h: Move include of <bits/types.h> to the top and
53649         include it unconditionally.
53651 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53653         * wcsmbs/Makefile (tests-ifunc): New variable.
53654         (tests): Add $(tests-ifunc).
53655         * wcsmbs/test-wcschr-ifunc.c: New file.
53656         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53657         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53658         * wcsmbs/test-wcslen-ifunc.c: Likewise.
53659         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53660         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
53662         * string/Makefile (tests-ifunc): New variable.
53663         (tests): Add $(tests-ifunc).
53664         * string/test-memccpy.c (TEST_NAME): New macro.
53665         * string/test-memchr.c (TEST_NAME): Likewise.
53666         * string/test-memcmp.c (TEST_NAME): Likewise.
53667         * string/test-memcpy.c (TEST_NAME): Likewise.
53668         * string/test-memmem.c (TEST_NAME): Likewise.
53669         * string/test-memmove.c (TEST_NAME): Likewise.
53670         * string/test-memset.c (TEST_NAME): Likewise.
53671         * string/test-rawmemchr.c (TEST_NAME): Likewise.
53672         * string/test-stpcpy.c (TEST_NAME): Likewise.
53673         * string/test-stpncpy.c (TEST_NAME): Likewise.
53674         * string/test-strcasecmp.c (TEST_NAME): Likewise.
53675         * string/test-strcasestr.c (TEST_NAME): Likewise.
53676         * string/test-strcat.c (TEST_NAME): Likewise.
53677         * string/test-strchr.c (TEST_NAME): Likewise.
53678         * string/test-strcmp.c(TEST_NAME): Likewise.
53679         * string/test-strcpy.c (TEST_NAME): Likewise.
53680         * string/test-strcspn.c (TEST_NAME): Likewise.
53681         * string/test-strlen.c (TEST_NAME): Likewise.
53682         * string/test-strncasecmp.c (TEST_NAME): Likewise.
53683         * string/test-strncmp.c (TEST_NAME): Likewise.
53684         * string/test-strncpy.c (TEST_NAME): Likewise.
53685         * string/test-strnlen.c (TEST_NAME): Likewise.
53686         * string/test-strpbrk.c (TEST_NAME): Likewise.
53687         * string/test-strrchr.c (TEST_NAME): Likewise.
53688         * string/test-strspn.c (TEST_NAME): Likewise.
53689         * string/test-strstr.c (TEST_NAME): Likewise.
53690         * string/test-bcopy-ifunc.c: New file.
53691         * string/test-bzero-ifunc.c: Likewise.
53692         * string/test-memccpy-ifunc.c: Likewise.
53693         * string/test-memchr-ifunc.c: Likewise.
53694         * string/test-memcmp-ifunc.c: Likewise.
53695         * string/test-memcpy-ifunc.c: Likewise.
53696         * string/test-memmem-ifunc.c: Likewise.
53697         * string/test-memmove-ifunc.c: Likewise.
53698         * string/test-mempcpy-ifunc.c: Likewise.
53699         * string/test-memset-ifunc.c: Likewise.
53700         * string/test-rawmemchr-ifunc.c: Likewise.
53701         * string/test-stpcpy-ifunc.c: Likewise.
53702         * string/test-stpncpy-ifunc.c: Likewise.
53703         * string/test-strcasecmp-ifunc.c: Likewise.
53704         * string/test-strcasestr-ifunc.c: Likewise.
53705         * string/test-strcat-ifunc.c: Likewise.
53706         * string/test-strchr-ifunc.c: Likewise.
53707         * string/test-strchrnul-ifunc.c: Likewise.
53708         * string/test-strcmp-ifunc.c: Likewise.
53709         * string/test-strcpy-ifunc.c: Likewise.
53710         * string/test-strcspn-ifunc.c: Likewise.
53711         * string/test-strlen-ifunc.c: Likewise.
53712         * string/test-strncasecmp-ifunc.c: Likewise.
53713         * string/test-strncat-ifunc.c: Likewise.
53714         * string/test-strncmp-ifunc.c: Likewise.
53715         * string/test-strncpy-ifunc.c: Likewise.
53716         * string/test-strnlen-ifunc.c: Likewise.
53717         * string/test-strpbrk-ifunc.c: Likewise.
53718         * string/test-strrchr-ifunc.c: Likewise.
53719         * string/test-strspn-ifunc.c: Likewise.
53720         * string/test-strstr-ifunc.c: Likewise.
53722         * debug/Makefile (tests-ifunc): New variable.
53723         (tests): Add $(tests-ifunc).
53724         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53725         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53726         * debug/test-stpcpy_chk-ifunc.c: New file.
53727         * debug/test-strcpy_chk-ifunc.c: Likewise.
53729 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53731         [BZ #13601]
53732         * elf/dl-load.c (open_verify): Retry read if the entire ELF
53733         header is not read in.
53735 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
53737         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
53738         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
53739         directly.  Pass built executable to script as
53740         $(built-program-cmd).
53741         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
53742         $testprogram without using LD_LIBRARY_PATH and $ldso.
53744         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53745         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53746         $(rtld-installed-name).
53747         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53748         (rtld_installed_name): Likewise.
53749         (library_path): Likewise.
53750         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
53751         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53752         $(run-program-prefix) to tst-tables.sh.
53753         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
53754         it to run tst-table-from and tst-table-to.
53755         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53756         Pass it to tst-table.sh.
53757         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53758         $(run-program-prefix) to tst-gettext.sh.
53759         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53760         tst-translit.sh.
53761         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53762         tst-gettext2.sh.
53763         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53764         to run tst-gettext.
53765         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53766         to run tst-gettext2.
53767         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53768         to run tst-translit.
53769         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53770         $(run-program-prefix) to tst-mtrace.sh.
53771         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53772         to run tst-mtrace.
53773         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53774         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53775         $(rtld-installed-name).
53776         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53777         (rtld_installed_name): Likewise.
53778         (run_program_prefix): New variable.  Use it to run wordexp-test.
53780         * Makeconfig (ARCH): Remove all definitions.
53781         (machine): Likewise.
53782         [ARCH]: Remove conditional code.
53783         [!objdir]: Give error.
53784         [!objdir] (objpfx): Remove.
53785         [!objdir] (common-objpfx): Likewise.
53786         [!objdir] (common-objdir): Likewise.
53787         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53788         AC_CONFIG_FILES call.
53789         * configure: Regenerated.
53791         [BZ #13888]
53792         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53793         or TMPDIR.
53794         (testout): Likewise.
53796         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53797         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53798         $(rtld-installed-name).
53799         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53800         (rtld_installed_name): Likwise.
53801         (runit): Remove function.
53802         (run_getconf): New variable,  Use it for running getconf binary.
53804 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53806         [BZ #14716]
53807         * string/test-memmem.c (check_result): New function.
53808         (do_one_test): Use it.
53809         (check1): New function.
53810         (test_main): Use it.
53812 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53814         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53816 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53818         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53819         (_G_LSEEK64): Likewise.
53820         (_G_MMAP64): Likewise.
53821         (_G_FSTAT64): Likewise.
53822         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53823         (_G_LSEEK64): Likewise.
53824         (_G_MMAP64): Likewise.
53825         (_G_FSTAT64): Likewise.
53826         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53827         unconditional.  Call __mmap64 directly.
53828         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53829         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53830         __lseek64 directly.
53831         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53832         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53833         __mmap64 directly.
53834         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53835         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53836         __lseek64 directly.
53837         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53838         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53839         __lseek64 directly.
53840         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53841         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53842         __lseek64 directly.
53843         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53844         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53845         __fxstat64 directly.
53846         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53847         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53848         unconditional.
53849         (freopen64) [!_G_OPEN64]: Remove conditional code.
53850         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53851         unconditional.
53852         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53853         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53854         unconditional.
53855         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53856         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53857         unconditional.
53858         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53859         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53860         unconditional.
53861         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53862         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53863         unconditional.
53864         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53865         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53866         unconditional.
53867         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53868         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53869         unconditional.
53870         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53872 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53874         [BZ #12140]
53875         * manual/memory.texi (Malloc Tunable Parameters): Add note
53876         about free list pointers overwriting some perturb bytes.
53877         Wording suggested by Roland McGrath.
53879 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53881         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53882         (lgamma_test): Likewise.
53883         (tgamma_test): Likewise.
53885 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53887         [BZ #14700]
53888         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53889         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53891 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53893         * NEWS: Mention BZ #14716.
53894         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53895         when removing AVAILABLE1_USES_J macro.
53897 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53899         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53900         (__bswap_64): __uint64_t for unsigned 64-bit int.
53902 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53904         * include/string.h (memmem): Declare libc hidden alias.
53905         * string/memmem.c (memmem): Define libc hidden alias.
53906         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53907         __read, __close instead of open, read, close.
53909 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53912         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53913         global and hidden.
53914         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53915         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53916         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53917         Likewise.
53918         (__rawmemchr_sse2): Likewise.
53919         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53920         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53921         (__strchr_sse2): Likewise.
53922         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53923         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53924         (__strcasecmp_sse2): Likewise.
53925         (__strncasecmp_sse2): Likewise.
53926         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53927         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53928         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53929         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53930         (__strrchr_sse2): Likewise.
53931         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53932         ifunc-impl-list.c.
53933         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53934         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53935         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53936         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53937         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53938         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53939         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53940         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53941         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53942         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53943         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53944         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53945         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53946         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53947         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53948         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53949         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53950         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53951         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53952         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53953         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53954         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53955         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53956         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53957         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53958         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53959         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53960         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53961         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53962         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53964         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53965         global and hidden.
53966         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53967         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53968         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53969         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53970         Likewise.
53971         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53972         Likewise.
53973         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53974         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53975         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53976         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53977         ifunc-impl-list.c.
53978         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53979         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53980         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53981         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53982         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53983         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53984         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53985         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53987         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53988         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53989         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53990         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53991         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53992         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53993         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53994         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53995         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53996         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53997         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53998         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53999         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54000         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54001         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54002         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54003         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54004         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54005         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54006         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54007         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54008         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54009         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54010         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54011         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54012         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54013         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54014         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54015         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54016         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54017         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54018         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54020         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54021         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54022         * include/ifunc-impl-list.h: New file.
54023         * misc/ifunc-impl-list.c: Likewise.
54024         * misc/Makefile (routines): Add ifunc-impl-list.
54025         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54026         * string/test-string.h: Include <ifunc-impl-list.h>.
54027         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54028         TEST_NAME]: New variables.
54029         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54030         are defined.
54031         (test_init): Call __libc_ifunc_impl_list to initialize
54032         func_list if TEST_IFUNC and TEST_NAME are defined.
54034         * string/Makefile (strop-tests): Add bcopy and bzero.
54035         * string/test-bcopy.c: New file.
54036         * string/test-bzero.c: Likewise.
54037         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54038         defined.
54039         * string/test-memset.c: Support bzero test if TEST_BZERO is
54040         defined.
54041         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54042         __libc_memmove.
54043         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54044         __libc_memset.
54045         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54046         of memset.
54048 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54050         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54051         * configure: Regenerated.
54053         * Makeconfig (+link-static-before-libc): Don't include
54054         $(link-static-libc).
54056         * libio/libio.h (_IO_pos_t): Remove.
54058 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54060         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54061         McGrath.
54063 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54065         * crypt/crypt-entry.c: Include fips-private.h.
54066         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54067         * crypt/md5c-test.c (main): Tolerate disabled MD5.
54068         * sysdeps/unix/sysv/linux/fips-private.h: New file.
54069         * sysdeps/generic/fips-private.h: New file, dummy fallback.
54071 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54073         * crypt/crypt-private.h: Include stdbool.h.
54074         (_ufc_setup_salt_r): Return bool.
54075         * crypt/crypt-entry.c: Include errno.h.
54076         (__crypt_r): Return NULL with EINVAL for bad salt.
54077         * crypt/crypt_util.c (bad_for_salt): New.
54078         (_ufc_setup_salt_r): Check that salt is long enough and within
54079         the specified alphabet.
54080         * crypt/badsalttest.c: New file.
54081         * crypt/Makefile (tests): Add it.
54082         ($(objpfx)badsalttest): New.
54084 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
54086         * NEWS: Add entry for BZ #14602.
54088 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54090         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54091         type-generic.
54092         * math/libm-test.inc: Update comment listing what functions and
54093         macros are tested.
54094         (isgreater_test): New function.
54095         (isgreaterequal_test): Likewise.
54096         (isless_test): Likewise.
54097         (islessequal_test): Likewise.
54098         (islessgreater_test): Likewise.
54099         (isunordered_test): Likewise.
54100         (main): Call the new functions.
54102 2012-10-09  Roland McGrath  <roland@hack.frob.com>
54104         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54105         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54106         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54107         * sysdeps/i386/configure: Regenerated.
54108         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54109         * sysdeps/mach/configure: Regenerated.
54110         * sysdeps/mach/hurd/configure: Regenerated.
54111         * sysdeps/powerpc/configure: Regenerated.
54112         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54113         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54114         * sysdeps/s390/s390-32/configure: Regenerated.
54115         * sysdeps/s390/s390-64/configure: Regenerated.
54116         * sysdeps/sh/configure: Regenerated.
54117         * sysdeps/sparc/configure: Regenerated.
54118         * sysdeps/unix/sysv/linux/configure: Regenerated.
54119         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54120         * sysdeps/x86_64/configure: Regenerated.
54122         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54123         defined.  Don't check if MAP is NULL.
54125 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54127         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54128         (_G_stat64): Likewise.
54129         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
54130         (_G_stat64): Likewise.
54131         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
54132         instead of struct _G_stat64.
54133         * libio/fileops.c (mmap_remap_check): Likewise.
54134         (decide_maybe_mmap): Likewise.
54135         (_IO_new_file_seekoff): Likewise.
54136         (_IO_file_stat): Likewise.
54137         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
54138         _G_off64_t.
54139         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
54140         instead of struct _G_stat64.
54141         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54143 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
54145         [BZ #14602]
54146         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54147         Replace with ...
54148         (CHECK_EOL): New macro.
54149         (two_way_short_needle): Check beginning of haystack for EOL.  Use
54150         CHECK_EOL.
54151         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54152         Replace with CHECK_EOL.
54153         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54154         Replace with CHECK_EOL.
54156 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
54158         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
54159         type-generic.
54160         * math/libm-test.inc: Update comment listing what functions and
54161         macros are tested.
54162         (finite_test): New function.
54163         (isinf_test): Likewise.
54164         (isnan_test): Likewise.
54165         (fpclassify_test): Test subnormal input.
54166         (isfinite_test): Likewise.
54167         (isnormal_test): Likewise.
54168         (main): Call the new functions.
54170 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
54172         [BZ #14660]
54173         * Makerules (%.dynsym): Force C locale when running
54174         $(OBJDUMP) --dynamic-syms.
54176 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
54178         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
54179         <stdint.h>.
54181 2012-10-06  David S. Miller  <davem@davemloft.net>
54183         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
54184         upper 32-bits of the length value in %o2 since we use branch-on-register
54185         tests which consider the entire 64-bit register.
54187 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
54189         * string/test-strstr.c (check2): Add a test for page boundary.
54191 2012-10-05  David S. Miller  <davem@davemloft.net>
54193         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
54194         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
54195         file.
54196         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54197         sysdep_routines.
54198         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54199         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
54200         and bzero when HWCAP_SPARC_CRYPTO is present.
54202 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
54204         [BZ #14602]
54205         * string/test-strstr.c (check2): New function.
54206         (test_main): Call check2.
54208         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
54209         and bug-strchr1.
54210         * string/bug-strcasestr1.c (do_test): Moved to ...
54211         * string/test-strcasestr.c (check1): Here.  New function.
54212         (do_one_test): Break out result checking code into ...
54213         (check_result): This.  New function.
54214         (do_one_test): Call check_result.
54215         (test_main): Call check1.
54216         * string/bug-strchr1.c (do_test): Moved to ...
54217         * string/test-strchr.c (check1): Here.  New function.
54218         (do_one_test): Break out result checking code into ...
54219         (check_result): This.  New function.
54220         (do_one_test): Call check_result.
54221         (test_main): Call check1.
54222         * string/bug-strstr1.c (main): Moved to ...
54223         * string/test-strstr.c (check1): Here.  New function.
54224         (do_one_test): Break out result checking code into ...
54225         (check_result): This.  New function.
54226         (do_one_test): Call check_result.
54227         (test_main): Call check1.
54228         * string/bug-strcasestr1.c: Removed.
54229         * string/bug-strchr1.c: Likewise.
54230         * string/bug-strstr1.c: Likewise.
54232         * elf/Makefile (dl-routines): Add hwcaps.
54233         * elf/dl-support.c (_dl_important_hwcaps): Removed.
54234         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
54235         (_dl_important_hwcaps): Moved to ...
54236         * elf/dl-hwcaps.c: Here.  New file.
54237         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
54239         [BZ #14557]
54240         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
54241         if IS_IN_rtld isn't defined.
54243         * elf/dl-support.c (_dl_sysinfo_map): New.
54244         Include "get-dynamic-info.h" and "setup-vdso.h".
54245         (_dl_non_dynamic_init): Call setup_vdso.
54246         * elf/dynamic-link.h: Don't include <assert.h>.
54247         (elf_get_dynamic_info): Moved to ...
54248         * elf/get-dynamic-info.h: Here.  New file.
54249         * elf/dynamic-link.h: Include "get-dynamic-info.h".
54250         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
54251         * elf/setup-vdso.h: Here.  New file.
54252         * elf/rtld.c: Include "setup-vdso.h".
54253         (dl_main): Call setup_vdso.
54255 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
54257         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
54258         creal in comment listing functions tested.  List finite, isinf,
54259         isnan, isless, islessequal, isgreater, isgreaterequal,
54260         islessgreater, isunordered, lgamma_r and pow10 as functions and
54261         macros not tested.  Mention which functions not tested are aliases
54262         for other functions.  Fix typo.  Note that signs of NaNs are not
54263         tested.
54265         * scripts/config.guess: Update from config.git.
54266         * scripts/config.sub: Likewise.
54268 2012-10-04  Roland McGrath  <roland@hack.frob.com>
54270         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
54271         * misc/madvise.c (madvise): Renamed to __madvise.
54272         Make madvise a weak alias.
54273         * include/sys/mman.h: Declare __madvise.
54274         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
54275         * sysdeps/unix/syscalls.list
54276         (madvise): Make __madvise the strong name, and madvise a weak alias.
54277         * sysdeps/unix/sysv/linux/syscalls.list
54278         (madvise, mmap): Remove redundant entries.
54279         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
54280         * malloc/malloc.c (mtrim): Likewise.
54281         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
54283 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54285         * sysdeps/mach/hurd/dl-cache.c: File removed.
54286         * config.h.in (USE_LDCONFIG): New #undef.
54287         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
54288         * configure: Regenerated.
54289         * elf/Makefile (dl-routines): Add dl-cache only under
54290         [$(use-ldconfig) = yes].
54291         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
54292         cache on [USE_LDCONFIG].
54293         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
54294         [USE_LDCONFIG].
54295         * elf/rtld.c (dl_main): Likewise.
54297 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
54299         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
54300         _SC_LEVEL4_CACHE_LINESIZE.
54302 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54304         * sysdeps/unix/bsd/confstr.h: File removed.
54306 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
54308         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
54309         sys/sdt-config.h.
54311 2012-10-02  Roland McGrath  <roland@hack.frob.com>
54313         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
54314         Make 'mapoff' field ElfW(Off) rather than off_t.
54316 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
54318         * nscd/Makefile: Remove nscd-cflags and all its users.
54319         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
54320         (CFLAGS-nonlib): Add compiler flags for nscd modules.
54322         [BZ #10631]
54323         * malloc.c (malloc_printerr): Clarify error message.
54325 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
54327         [BZ #14648]
54328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54329         Set bit_FMA_Usable if FMA is supported.
54330         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
54331         macro.
54332         (bit_FMA4_Usable): Updated.
54333         (index_FMA_Usable): New macro.
54334         (CPUID_FMA): Likewise.
54335         (HAS_FMA): Defined with bit_FMA_Usable.
54337 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54339         * bits/types.h (__swblk_t): Type removed.
54340         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
54341         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
54342         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54343         (__SWBLK_T_TYPE): Likewise.
54344         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54345         (__SWBLK_T_TYPE): Likewise.
54346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54347         (__SWBLK_T_TYPE): Likewise.
54348         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54349         (__SWBLK_T_TYPE): Likewise.
54351 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
54352             Honza Horak <hhorak@redhat.com>
54354         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
54355         (xdr_mapname): Use YPMAXMAP as maxsize.
54356         (xdr_peername): Use YPMAXPEER as maxsize.
54357         (xdr_keydat): Use YPAXRECORD as maxsize.
54358         (xdr_valdat): Use YPMAXRECORD as maxsize.
54360 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54362         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
54364         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
54365         * csu/init-first.c: ... here.
54366         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
54367         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
54368         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
54369         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
54370         * sysdeps/i386/init-first.c: File removed.
54371         * sysdeps/sh/init-first.c: File removed.
54373 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
54375         [BZ #14645]
54376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
54377         if x * y might underflow to zero and z is zero.
54378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54379         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54380         * math/libm-test.inc (min_subnorm_value): New variable.
54381         (fma_test): Add more tests.
54382         (fma_test_towardzero): Likewise.
54383         (fma_test_downward): Likewise.
54384         (fma_test_upward): Likewise.
54385         (initialize): Set min_subnorm_value.
54387 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
54389         [BZ #14638]
54390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
54391         0 + 0.
54392         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
54393         mode for addition resulting in exact zero.
54394         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
54395         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
54396         exact 0 + 0.
54397         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54399         * math/libm-test.inc (fma_test): Add more tests.
54400         (fma_test_towardzero): New function.
54401         (fma_test_downward): Likewise.
54402         (fma_test_upward): Likewise.
54403         (main): Call the new functions.
54405 2012-09-28  David S. Miller  <davem@davemloft.net>
54407         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
54409 2012-09-28  Roland McGrath  <roland@hack.frob.com>
54411         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
54412         instead of SIGALRM.
54414         * sysdeps/gnu/_G_config.h: Moved to ...
54415         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
54416         * sysdeps/mach/hurd/_G_config.h: Moved to ...
54417         * sysdeps/generic/_G_config.h: ... here.
54419         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
54421         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
54423         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
54424         Conditionalize target on [libnss_test1.so-version].
54426         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
54428         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
54429         (elfobjdir): Move out of conditionals.
54431         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
54432         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
54433         (__nss_lookup_function): Conditionalize label remove_from_tree on
54434         [!DO_STATIC_NSS || SHARED], matching its only use.
54436 2012-09-28  David S. Miller  <davem@davemloft.net>
54438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
54439         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
54440         file.
54441         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54442         sysdep_routines.
54443         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54444         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
54445         when HWCAP_SPARC_CRYPTO is present.
54447 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54449         * io/tst-mknodat.c: Create a FIFO instead of a socket.
54451 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
54453         [BZ #6530]
54454         * stdio-common/vfprintf.c (process_string_arg): Revert
54455         2000-07-22 change.
54457 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
54459         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
54460         for testcase.
54461         * stdio-common/tst-sprintf.c: Include <locale.h>
54462         (main): Test sprintf's handling of incomplete multibyte
54463         characters.
54465 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
54467         * elf/dl-runtime.c (VERSYMIDX): Removed.
54468         * elf/dl-version.c (VERSYMIDX): Likewise.
54469         * elf/do-rel.h (VERSYMIDX): Likewise.
54470         (VALIDX): Likewise.
54471         * elf/dynamic-link.h (VERSYMIDX): Likewise.
54472         * elf/rtld.c (VALIDX): Likewise.
54473         (ADDRIDX): Likewise.
54474         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
54475         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
54476         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
54477         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
54478         (VALIDX): Likewise.
54479         (ADDRIDX): Likewise.
54481 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54483         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
54485 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
54487         [BZ #11438]
54488         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
54489         to global scope.
54490         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
54491         addresses are in the same scope as 192.0.2/24.
54492         * posix/gai.conf: Document new scope table defaults.
54494 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54496         [BZ #5298]
54497         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
54498         for ftell.  Compute offsets from write pointers instead.
54499         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54501 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54503         [BZ #14543]
54504         * libio/Makefile (tests): New test case tst-fseek.
54505         * libio/tst-fseek.c: New test case to verify that fseek/ftell
54506         combination works in wide mode.
54507         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
54508         state when the external buffer state changes.
54510 2012-09-27  David S. Miller  <davem@davemloft.net>
54512         [BZ #14376]
54513         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
54514         pass reloc->r_addend in as the 'high' argument to
54515         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
54517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54519 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54521         * rt/tst-aio2.c: Include <pthread.h>.
54522         * rt/tst-aio3.c: Likewise.
54524 2012-09-27  Steve Ellcey  <sellcey@mips.com>
54526         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
54528 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
54530         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
54531         contents on [SHARED].
54533 2012-09-26  Marek Polacek  <polacek@redhat.com>
54535         [BZ #14530]
54536         [BZ #13741]
54537         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
54538         for C++ and GCC <4.3 as well as for non GCC compilers.
54540 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54544 2012-09-25  Roland McGrath  <roland@hack.frob.com>
54546         * Makefile.in (all, install): Declare with .PHONY.
54547         Reported by Michael Hope <michael.hope@linaro.org>.
54549 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54551         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
54552         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
54553         system header.
54554         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
54555         Likewise.
54556         (sydep_routines): Add the new and the internal functions.
54557         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
54558         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
54559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
54560         (GLIBC_2.17): Add the new function.
54561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54562         (GLIBC_2.17): Likewise.
54563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
54564         (GLIBC_2.17): Likewise.
54565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
54566         (GLIBC_2.17): Likewise.
54567         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
54569 2012-09-25  Alan Modra  <amodra@gmail.com>
54571         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
54572         Add release barrier before setting once_control to say
54573         initialisation is done.  Add hints on lwarx.  Use macro in
54574         place of isync.
54575         (clear_once_control): Add release barrier.
54577 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54579         [BZ #13629]
54580         * math/s_clog.c (__clog): Handle more values close to |z| = 1
54581         specially.
54582         * math/s_clog10.c (__clog10): Likewise.
54583         * math/s_clog10f.c (__clog10f): Likewise.
54584         * math/s_clog10l.c (__clog10l): Likewise.
54585         * math/s_clogf.c (__clogf): Likewise.
54586         * math/s_clogl.c (__clogl): Likewise.
54587         * math/Makefile (libm-calls): Add x2y2m1.
54588         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
54589         (__x2y2m1): Likewise.
54590         (__x2y2m1l): Likewise.
54591         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
54592         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
54593         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
54594         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54595         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
54596         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
54597         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
54598         * sysdeps/i386/fpu/libm-test-ulps: Update.
54599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54601         [BZ #14621]
54602         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
54603         int as type of variable DEPTH.
54604         (glob): Use size_t instead of int as type of variables NEWCOUNT
54605         and OLD_PATHC.
54607 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54609         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54610         Add s_sincosf-sse2.
54611         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
54612         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
54613         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
54614         macros for using routine as __sincosf_ia32.
54615         Use macro for function declaration and weak_alias.
54616         * sysdeps/i386/fpu/libm-test-ulps: Update.
54618         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54621         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54622         subnormal argument.
54623         * math/s_cexpf.c (__cexpf): Likewise.
54624         * math/s_csinf.c (__csinf): Likewise.
54625         * math/s_csinhf.c (__csinhf): Likewise.
54626         * math/s_ctanf.c (__ctanf): Likewise.
54627         * math/s_ctanhf.c (__ctanhf): Likewise.
54628         * math/s_ccosh.c (__ccoshf): Likewise.
54629         * math/s_cexp.c (__cexpl): Likewise.
54630         * math/s_csin.c (__csin): Likewise.
54631         * math/s_csinh.c (__csinh): Likewise.
54632         * math/s_ctan.c (__ctan): Likewise.
54633         * math/s_ctanh.c (ctanh): Likewise.
54634         * math/s_ccoshl.c (__ccoshl): Likewise.
54635         * math/s_cexpl.c (__cexpl): Likewise.
54636         * math/s_csinl.c (__csinl): Likewise.
54637         * math/s_csinhl.c (__csinhl): Likewise.
54638         * math/s_ctanl.c (__ctanl): Likewise.
54639         * math/s_ctanhl.c (__ctanhl): Likewise.
54641 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54643         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54644         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54645         (_IO_off_t): Define to __off_t, not _G_off_t.
54646         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54647         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54648         (_IO_wint_t): Define to wint_t, not _G_wint_t.
54649         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54650         type of __dummy and __dummy2 fields.
54651         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54652         (_G_ssize_t): Likewise.
54653         (_G_off_t): Likewise.
54654         (_G_pid_t): Likewise.
54655         (_G_uid_t): Likewise.
54656         (_G_wchar_t): Likewise.
54657         (_G_wint_t): Likewise.
54658         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54659         (_G_ssize_t): Likewise.
54660         (_G_off_t): Likewise.
54661         (_G_pid_t): Likewise.
54662         (_G_uid_t): Likewise.
54663         (_G_wchar_t): Likewise.
54664         (_G_wint_t): Likewise.
54665         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
54666         (_G_ssize_t): Likewise.
54667         (_G_off_t): Likewise.
54668         (_G_pid_t): Likewise.
54669         (_G_uid_t): Likewise.
54670         (_G_wchar_t): Likewise.
54671         (_G_wint_t): Likewise.
54673 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54675         * malloc/arena.c: Include malloc-sysdep.h.
54676         (shrink_heap): Use check_may_shrink_heap to decide if madvise
54677         is sufficient to shrink the heap or an unmap is needed.
54678         * sysdeps/generic/malloc-sysdep.h: New file.  Define
54679         new function check_may_shrink_heap.
54680         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
54681         new function check_may_shrink_heap.
54683 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54685         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
54686         comments.
54688 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
54690         * catgets/test-gencat.sh: Add "set -e".
54691         * elf/tst-pathopt.sh: Likewise.
54692         * grp/tst_fgetgrent.sh: Likewise.
54693         * iconvdata/run-iconv-test.sh: Likewise.
54694         * intl/tst-gettext.sh: Likewise.
54695         * intl/tst-gettext2.sh: Likewise.
54696         * intl/tst-gettext4.sh: Likewise.
54697         * intl/tst-gettext6.sh: Likewise.
54698         * intl/tst-translit.sh: Likewise.
54699         * io/ftwtest-sh: Likewise.
54700         * libio/test-freopen.sh: Likewise.
54701         * malloc/tst-mtrace.sh: Likewise.
54702         * posix/globtest.sh: Likewise.
54703         * posix/tst-getconf.sh: Likewise.
54704         * posix/wordexp-tst.sh: Likewise.
54705         * stdio-common/tst-printf.sh: Likewise.
54706         * stdio-common/tst-unbputc.sh: Likewise.
54707         * stdlib/tst-fmtmsg.sh: Likewise.
54708         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54709         * catgets/Makefile: Do not specify -e option when running
54710         testsuite shell scripts.
54711         * elf/Makefile: Likewise.
54712         * grp/Makefile: Likewise.
54713         * iconvdata/Makefile: Likewise.
54714         * intl/Makefile: Likewise.
54715         * io/Makefile: Likewise.
54716         * libio/Makefile: Likewise.
54717         * malloc/Makefile: Likewise.
54718         * posix/Makefile: Likewise.
54719         * stdio-common/Makefile: Likewise.
54720         * stdlib/Makefile: Likewise.
54721         * sysdeps/x86_64/Makefile: Likewise.
54723         * io/ftwtest-sh: Add copyright header.
54724         * posix/globtest.sh: Likewise.
54725         * posix/tst-getconf.sh: Likewise.
54726         * posix/wordexp-tst.sh: Likewise.
54727         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54729 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
54731         [BZ #13679]
54732         * Makeconfig (+link): Defined as $(+link-static) if
54733         $(build-shared) isn't yes.
54734         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54735         isn't yes.
54736         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54738         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54740         [BZ #14562]
54741         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54742         new chunk size with MALLOC_ALIGN_MASK.
54744 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
54746         [BZ #5044]
54747         * stdio-common/printf_fphex.c: Include <stdbool.h> and
54748         <rounding-mode.h>.
54749         (__printf_fphex): Determine rounding using get_rounding_mode and
54750         round_away.
54751         * stdio-common/tst-printf-round.c (struct hex_test): New
54752         structure.
54753         (hex_tests): New variable.
54754         (test_hex_in_one_mode): New function.
54755         (do_test): Also run tests for hex float output.
54757 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54759         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54760         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54761         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54762         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54763         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54764         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54765         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54766         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54768 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54770         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54771         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54772         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54773         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54775 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54777         [BZ #14579]
54778         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54779         mode only.
54780         * elf/tst-rtld-load-self.sh: New test.
54781         * elf/Makefile: Run it.
54783 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54785         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54786         (tst-writev-ENV): Remove.
54787         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54789 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54791         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54793 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54795         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54796         unconditional.
54797         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54798         Likewise.
54799         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54800         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54801         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54802         Likewise.
54804 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54806         [BZ #14587]
54807         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54808         * config.make.in (have-cpp-asm-debuginfo): Removed.
54809         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54810         * configure: Regenerated.
54812 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54814         [BZ #5044]
54815         * stdio-common/printf_fp.c: Include <stdbool.h> and
54816         <rounding-mode.h>.
54817         (___printf_fp): Determine rounding using get_rounding_mode and
54818         round_away.
54819         * stdio-common/tst-printf-round.c: New file.
54820         * stdio-common/Makefile (tests): Add tst-printf-round.
54821         (link-libm): New variable.
54822         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54824 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54826         [BZ #14576]
54827         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54828         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54829         Likewise.
54830         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54831         Likewise.
54833 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54835         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54836         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54837         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54838         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54840 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54842         [BZ #14518]
54843         * include/rounding-mode.h: New file.
54844         * sysdeps/generic/get-rounding-mode.h: Likewise.
54845         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54846         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54847         (MAX_VALUE): New macro.
54848         (MIN_VALUE): Likewise.
54849         (overflow_value): New function.
54850         (underflow_value): Likewise.
54851         (round_and_return): Use overflow_value and underflow_value to
54852         determine return values in overflow and underflow cases.  Use
54853         round_away to determine rounding depending on rounding mode.
54854         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54855         determine return values in overflow and underflow cases.
54856         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54857         (struct test_results): New structure.
54858         (struct test): Use struct test_results to store expected results
54859         for all rounding modes.
54860         (TEST): Include expected results for all rounding modes.
54861         (test_in_one_mode): New function.
54862         (do_test): Use test_in_one_mode to compute and check results.
54863         Check results for all rounding modes.
54864         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54865         $(link-libm).
54867 2012-12-09  Allan McRae  <allan@archlinux.org>
54869         * sysdeps/i386/fpu/libm-test-ulps: Update
54871 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54873         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54874         (_G_int32_t): Likewise.
54875         (_G_uint16_t): Likewise.
54876         (_G_uint32_t): Likewise.
54877         (_G_HAVE_BOOL): Likewise.
54878         (_G_HAVE_ATEXIT): Likewise.
54879         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54880         (_G_HAVE_IO_FILE_OPEN): Likewise.
54881         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54882         (_G_int32_t): Likewise.
54883         (_G_uint16_t): Likewise.
54884         (_G_uint32_t): Likewise.
54885         (_G_HAVE_BOOL): Likewise.
54886         (_G_HAVE_ATEXIT): Likewise.
54887         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54888         (_G_HAVE_IO_FILE_OPEN): Likewise.
54889         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54890         (_G_int32_t): Likewise.
54891         (_G_uint16_t): Likewise.
54892         (_G_uint32_t): Likewise.
54893         (_G_HAVE_BOOL): Likewise.
54894         (_G_HAVE_ATEXIT): Likewise.
54895         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54896         (_G_HAVE_IO_FILE_OPEN): Likewise.
54898 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54900         * csu/libc-tls.c: Update copyright years.
54902 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54904         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54905         [!_G_USING_THUNKS]: Remove conditional code.
54906         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54907         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54909         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54910         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54911         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54912         (_G_VTABLE_LABEL_PREFIX): Likewise.
54913         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54914         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54915         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54916         (_G_VTABLE_LABEL_PREFIX): Likewise.
54917         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54918         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54919         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54920         (_G_VTABLE_LABEL_PREFIX): Likewise.
54921         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54923 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54925         * libio/Makefile: Include ../Makeconfig before tests.
54926         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54927         only if $(build-shared) is yes.
54929         * iconv/gconv_db.c: Update copyright years.
54931 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54933         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54934         unwind info if defined PIC. Fix special cases description.
54935         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54937         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54938         DP_HI_MASK entry.
54939         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54941 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54943         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54945         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54946         is NULL.
54948         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54949         (LDLIBS-tst-chk4): This.
54950         (LDFLAGS-tst-chk5): Renamed to ...
54951         (LDLIBS-tst-chk5): This.
54952         (LDFLAGS-tst-chk6): Renamed to ...
54953         (LDLIBS-tst-chk6): This.
54954         (LDFLAGS-tst-lfschk4): Renamed to ...
54955         (LDLIBS-tst-lfschk4): This.
54956         (LDFLAGS-tst-lfschk5): Renamed to ...
54957         (LDLIBS-tst-lfschk5): This.
54958         (LDFLAGS-tst-lfschk6): Renamed to ...
54959         (LDLIBS-tst-lfschk6): This.
54961         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54962         on $(common-objpfx)soversions.mk.
54964 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54966         [BZ #10014]
54967         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54968         example host name.
54970 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54972         * malloc/arena.c (arena_get_retry): New function that gets
54973         another arena for the caller to try its request on.
54974         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54975         current arena cannot fulfill the request.
54976         (__libc_memalign): Likewise.
54977         (__libc_memalign): Likewise.
54978         (__libc_pvalloc): Likewise.
54979         (__libc_calloc): Likewise.
54981 2012-09-05  John Tobey  <john.tobey@gmail.com>
54983         [BZ #13542]
54984         * manual/arith.texi (Operations on Complex): Fix description
54985         of carg branch cut.
54987 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54989         [BZ #10014]
54990         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54991         host name.
54993         [BZ #10038]
54994         * manual/memory.texi (Memory): Make order of menu items match
54995         order of sections.
54997 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54999         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55000         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55001         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55005         * csu/libc-tls.c (static_dtv): Renamed to ...
55006         (_dl_static_dtv): This.  Make it global.
55007         (_dl_initial_dtv): Removed.
55008         (__libc_setup_tls): Updated.
55009         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55010         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55011         DL_INITIAL_DTV.
55013 2012-09-06  Petr Machata  <pmachata@redhat.com>
55015         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55016         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55017         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55018         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55020 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55022         [BZ #14545]
55023         * csu/libc-tls.c (_dl_initial_dtv): New variable.
55024         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55025         freeing dtv[-1].
55027 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55029         [BZ #14544]
55030         * Makeconfig (link-static-before-libc): Replace $(+prector)
55031         with $(+prectorT).
55032         (link-static-after-libc): Replace $(+postctor) with
55033         $(+postctorT).
55034         (link-bounded): Replace $(+prector)/$(+postctor) with
55035         $(+prectorT)/$(+postctorT).
55036         (+prectorT): New macro.
55037         (+postctorT): Likewise.
55039 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55041         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55042         (round_str): Handle values above the maximum for IBM long double
55043         as inexact.
55044         * stdlib/tst-strtod-round.c (tests): Regenerated.
55046 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55048         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55049         assembler flag.
55050         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55051         zarch_nohighgprs around the zarch optimized routines.
55052         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55053         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55055         for zarch.
55057 2012-09-05  David S. Miller  <davem@davemloft.net>
55059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55061         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55062         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55063         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55064         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55065         entries.
55067 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55069         * malloc/arena.c: Fold copyright years.
55070         * malloc/mcheck.c, malloc/memusage.c: Likewise.
55072 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55074         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55076 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55078         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
55080 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55082         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55083         change internal state upon failure.
55085 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55087         * malloc/mcheck.c (mcheck_check_all): Fix typo.
55088         * malloc/memusage.c (mmap): Likewise.
55089         (mmap64, mremap): Likewise.  Adjust name in comment.
55091 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55093         * libio/fileops.c: Fix typos in comments.
55094         * libio/oldfileops.c: Likewise.
55095         * libio/wfileops.c: Likewise.
55097 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55099         [BZ #1349]
55100         * malloc/Makefile (tests): Add tst-malloc-usable test case.
55101         (tst-malloc-usable-ENV): Set environment for test case.
55102         * malloc/hooks.c (malloc_check_get_size): New function to get
55103         requested size.
55104         * malloc/malloc.c (musable): Use malloc_check_get_size.
55105         * malloc/tst-malloc-usable.c: New test case.
55107 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55109         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55111 2012-09-05  Allan McRae  <allan@archlinux.org>
55113         [BZ #13966]
55114         * configure.in (CXX_SYSINCLUDES): Use compiler output to
55115         determine header location.
55116         * configure: Regenerated.
55118 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55120         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55121         float format.
55122         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55123         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55124         format.
55125         (test): Regenerate.
55127 2012-09-04  David S. Miller  <davem@davemloft.net>
55129         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
55130         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
55131         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
55133 2012-09-04  Florian Weimer  <fweimer@redhat.com>
55135         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
55136         failures.
55138         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
55140 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
55142         [BZ #9914]
55143         * libio/iogetdelim.c: Include <limits.h>.
55144         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
55145         + len + 1 would overflow.
55147 2012-09-03  Andreas Jaeger  <aj@suse.de>
55149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55150         * sysdeps/i386/fpu/libm-test-ulps: Update.
55152 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55154         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55155         Add s_sinf-sse2, s_conf-sse2.
55157         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
55158         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
55159         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
55160         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
55162         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
55163         for using routine as __sinf_ia32.
55164         Use macro for function declaration and weak_alias.
55165         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
55166         for using routine as __cosf_ia32.
55167         Use macro for function declaration and weak_alias.
55169         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
55170         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
55172         * sysdeps/x86_64/fpu/s_sinf.S: New file.
55173         * sysdeps/x86_64/fpu/s_cosf.S: New file.
55174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55176         * math/libm-test.inc (cos_test): Add more test cases.
55177         (sin_test): Likewise.
55178         (sincos_test): Likewise.
55180 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55182         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
55183         (IFUNC_RESOLVE): Make pointers to the specialized implementations
55184         hidden.
55185         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55187 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
55189         [BZ #14538]
55190         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
55191         first element of the GOT.
55192         (elf_machine_load_address): Return the difference between
55193         the runtime address of _DYNAMIC and elf_machine_dynamic ().
55195 2012-09-01  Allan McRae  <allan@archlinux.org>
55197         [BZ #13412]
55198         * configure.in (AWK): Require gawk version 3.0 or later.
55199         * configure: Regenerated.
55201 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
55203         * sysdeps/unix/sysv/linux/kernel-features.h
55204         (__ASSUME_POSIX_CPU_TIMERS): Remove.
55205         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55206         [__NR_clock_getres]: Make code unconditional.
55207         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
55208         (clock_getcpuclockid): Remove code left unreachable by removal of
55209         conditionals.
55210         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
55211         code unconditional.
55212         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55213         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55214         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
55215         Make code unconditional.
55216         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55217         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55218         * sysdeps/unix/sysv/linux/clock_settime.c
55219         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
55220         conditional code.
55221         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
55222         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55224 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
55226         [BZ #14476]
55227         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
55228         scripts/test-installation.pl.
55230         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
55231         and $ld_so_version if it is set.
55233 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55235         [BZ #14516]
55236         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
55237         failure if reading from procfs failed.
55238         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
55240 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55242         * sysdeps/unix/sysv/linux/kernel-features.h
55243         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
55244         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55245         Remove conditional code.
55246         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55247         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
55248         Remove conditional code.
55249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55250         * sysdeps/unix/sysv/linux/i386/fxstat.c
55251         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55252         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55253         * sysdeps/unix/sysv/linux/i386/fxstatat.c
55254         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55255         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55256         * sysdeps/unix/sysv/linux/i386/lxstat.c
55257         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55258         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55259         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
55260         Remove conditional code.
55261         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55262         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55263         Remove conditional code.
55264         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55265         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
55266         <kernel-features.h>.
55267         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
55268         Remove.
55269         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
55270         Remove conditional code.
55271         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55272         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
55273         Remove conditional.
55275 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
55277         [BZ #5400]
55278         * NEWS: Add fixed bug number.
55280 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55282         [BZ #14519]
55283         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
55284         underflowing exponent in case of negative sign.
55285         * stdlib/tst-strtod-round-data: Add more tests.
55286         * stdlib/tst-strtod-round.c (tests): Regenerated.
55288         [BZ #3479]
55289         * stdlib/strtod_l.c (NDIG): Remove.
55290         (HEXNDIG): Likewise.
55291         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
55292         smallest representable value.
55293         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
55294         lie within an exact representation of 1/2 ulp of the result.
55295         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
55296         unconditionally.
55297         (TENS_P9_IDX): Define unconditionally.
55298         (TENS_P9_SIZE): Likewise.
55299         (TENS_P10_IDX): Likewise.
55300         (TENS_P10_SIZE): Likewise.
55301         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
55302         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
55303         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
55304         entries for 10^2^13 and 10^2^14.
55305         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
55306         (TENS_P13_IDX): Define.
55307         (TENS_P13_SIZE): Likewise.
55308         (TENS_P14_IDX): Likewise.
55309         (TENS_P14_SIZE): Likewise.
55310         (_fpioconst_pow10): Change array size to
55311         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
55312         unconditional.
55313         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
55314         1024]: Add entries for 10^2^13 and 10^2^14.
55315         [LAST_POW10 > _LAST_POW10]: Remove #error.
55316         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
55317         (_fpioconst_pow10): Change array size to
55318         FPIOCONST_POW10_ARRAY_SIZE.
55319         * stdlib/gen-fpioconst.c: New file.
55320         * stdlib/gen-tst-strtod-round.c: Likewise.
55321         * stdlib/tst-strtod-round-data: Likewise.
55322         * stdlib/tst-strtod-round.c: Likewise.
55323         * stdlib/Makefile (tests): Add tst-strtod-round.
55325         [BZ #14459]
55326         * stdlib/strtod_l.c: Include <stdint.h>.
55327         (NDEBUG): Do not define.
55328         (round_and_return): Change EXPONENT parameter to type intmax_t.
55329         Rearrange calculations to avoid internal overflow possibilities.
55330         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
55331         Rearrange calculations to avoid internal overflow possibilities.
55332         Assert that number fits inside MPNSIZE limbs.
55333         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
55334         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
55335         calculations and add assertions to avoid internal overflow
55336         possibilities.  Add casts to avoid signed/unsigned operations.
55337         * stdlib/tst-strtod-overflow.c: New file.
55338         * stdlib/Makefile (tests): Add tst-strtod-overflow.
55340 2012-08-25  Marek Polacek  <polacek@redhat.com>
55342         * time/time.h: Fix some typos in comments.
55344 2012-08-23  Roland McGrath  <roland@hack.frob.com>
55346         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
55347         * posix/tst-rfc3484-2.c: Likewise.
55348         * posix/tst-rfc3484-3.c: Likewise.
55350 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
55352         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
55353         (EF_ARM_ABI_FLOAT_HARD): Likewise.
55355 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
55357         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
55358         #include of fxstatat64.c.
55360 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55362         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
55363         * shadow/getspent_r.c: Likewise.
55364         * shadow/getspnam.c: Likewise.
55365         * shadow/getspnam_r.c: Likewise.
55366         * gshadow/getsgent.c: Likewise.
55367         * gshadow/getsgent_r.c: Likewise.
55368         * gshadow/getsgnam.c: Likewise.
55369         * gshadow/getsgnam_r.c: Likewise.
55370         * inet/getnetbyad.c: Likewise.
55371         * inet/getnetbyad_r.c: Likewise.
55372         * inet/getnetbynm.c: Likewise.
55373         * inet/getnetbynm_r.c: Likewise.
55374         * inet/getnetent.c: Likewise.
55375         * inet/getnetent_r.c: Likewise.
55376         * inet/getproto.c: Likewise.
55377         * inet/getproto_r.c: Likewise.
55378         * inet/getprtent.c: Likewise.
55379         * inet/getprtent_r.c: Likewise.
55380         * inet/getprtname.c: Likewise.
55381         * inet/getprtname_r.c: Likewise.
55382         * inet/getrpcbyname.c: Likewise.
55383         * inet/getrpcbyname_r.c: Likewise.
55384         * inet/getrpcbynumber.c: Likewise.
55385         * inet/getrpcbynumber_r.c: Likewise.
55386         * inet/getrpcent.c: Likewise.
55387         * inet/getrpcent_r.c: Likewise.
55388         * inet/getaliasent.c: Likewise.
55389         * inet/getaliasent_r.c: Likewise.
55390         * inet/getaliasname.c: Likewise.
55391         * inet/getaliasname_r.c: Likewise.
55392         * nscd/getgrgid_r.c: Likewise.
55393         * nscd/getgrnam_r.c: Likewise.
55394         * nscd/gethstbyad_r.c: Likewise.
55395         * nscd/gethstbynm3_r.c: Likewise.
55396         * nscd/getpwnam_r.c: Likewise.
55397         * nscd/getpwuid_r.c: Likewise.
55398         * nscd/getsrvbynm_r.c: Likewise.
55399         * nscd/getsrvbypt_r.c: Likewise.
55400         * nscd/gai.c: Likewise.
55402         * configure.in (build_nscd): New substituted variable, set
55403         by --disable-build-nscd and defaults to $use_nscd.
55404         * configure: Regenerated.
55405         * config.make.in (build-nscd): New substituted variable.
55406         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
55407         Change conditional to require [$(build-nscd) = yes] as well.
55408         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
55410         [BZ# 13696]
55411         * configure.in (use_nscd): New substituted variable, set by
55412         --disable-nscd.  If enabled, define USE_NSCD.
55413         * configure: Regenerated.
55414         * config.h.in: Add USE_NSCD.
55415         * config.make.in (use-nscd): New substituted variable.
55416         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
55417         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
55418         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
55419         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
55420         (CFLAGS-getgrnam_r.c): Likewise.
55421         (CFLAGS-initgroups.c): Likewise.
55422         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
55423         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
55424         Variables removed.
55425         * inet/getnetgrent_r.c
55426         (nscd_setnetgrent): New function, broken out of ...
55427         (setnetgrent): ... here.  Call it.
55428         (innetgr): Conditionalize nscd bits on [USE_NSCD].
55429         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
55430         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
55431         * nscd/Makefile (routines, aux): Move definitions after include of
55432         Makeconfig.  Conditionalize on [$(use-nscd) != no].
55433         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
55434         Conditionalize on [USE_NSCD].
55435         (is_nscd, nscd_init_cb): Likewise.
55436         (nss_load_library): Conditionalize init callback on [USE_NSCD].
55437         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
55438         * nss/nss_db/db-init.c: Likewise.
55439         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
55440         [USE_NSCD].
55441         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
55442         (make_request): Use it.
55443         (cache_valid_p): New function.
55444         (__check_pf): Use it.
55445         * NEWS: Add item for --disable-nscd.
55447 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
55449         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
55450         to support sed >= 4.2.1-20-ga9bf076.
55451         * configure: Regenerated.
55453 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55455         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
55456         Conditionalize whole body on [IREL].
55458 2012-08-22  Jeff Law <law@redhat.com>
55460         [BZ #14505]
55461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
55462         if the family is PF_UNSPEC.
55464 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
55466         * Makerules (lib-version): Rename from V.
55467         (install-lib-nosubdir): Change V to lib-version.
55469 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
55471         [BZ #14252]
55472         * powerpc32/power6/wcschr.c: New file.
55473         * powerpc32/power6/wcscpy.c: New file.
55474         * powerpc32/power6/wcsrchr.c: New file.
55475         * powerpc64/power6/wcschr.c: New file.
55476         * powerpc64/power6/wcscpy.c: New file.
55477         * powerpc64/power6/wcsrchr.c: New file.
55479 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55481         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
55482         (two_way_short_needle): Use it.
55483         * string/strstr.c (AVAILABLE1_USES_J): Define.
55484         * string/strcasestr.c: Likewise.
55486         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
55487         array references.
55488         * string/strcasestr.c (TOLOWER): Make side-effect safe.
55490         [BZ #11607]
55491         * NEWS: Add an entry.
55492         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
55493         define their defaults.
55494         (two_way_short_needle): Detect end-of-string on-the-fly.
55495         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
55496         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
55497         * string/bug-strcasestr1.c: New test.
55498         * string/Makefile: Run it.
55500 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55502         [BZ #11607]
55503         * string/str-two-way.h (two_way_short_needle): Optimize matching of
55504         the first character.
55506 2012-08-21  Roland McGrath  <roland@hack.frob.com>
55508         * csu/elf-init.c (__libc_csu_irel): Function removed.
55509         * csu/libc-start.c (apply_irel): New function.
55510         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
55512 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
55514         * sysdeps/unix/sysv/linux/kernel-features.h
55515         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
55516         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55517         <kernel-features.h>.
55518         [__NR_fadvise64_64]: Make code unconditional.
55519         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
55520         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55521         !__NR_fadvise64_64)]: Likewise.
55522         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55523         !__NR_fadvise64_64))]: Likewise.
55524         [__NR_fadvise64]: Make code unconditional.
55525         [!__NR_fadvise64]: Remove conditional code.
55526         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
55527         <kernel-features.h>.
55528         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55529         unconditional.
55530         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55531         conditional code.
55532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
55533         not include <kernel-features.h>.
55534         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55535         unconditional.
55536         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55537         conditional code.
55538         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
55539         include <kernel-features.h>.
55540         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55541         unconditional.
55542         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55543         conditional code.
55545 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55547         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
55548         slight instruction rearrangements per scrollpipe analysis.
55549         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55551 2012-08-20  Roland McGrath  <roland@hack.frob.com>
55553         * manual/syslog.texi (syslog; vsyslog, closelog):
55554         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
55555         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
55557         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
55558         DSOCAPS to match condition on defining it.
55560 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
55562         * sysdeps/unix/sysv/linux/kernel-features.h
55563         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
55564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
55565         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55566         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
55568         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55569         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
55571         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55572         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55574         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
55575         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
55577         * sysdeps/unix/sysv/linux/kernel-features.h
55578         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
55579         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
55580         unconditional.
55581         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55582         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
55583         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55584         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55585         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
55586         Make code unconditional.
55587         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55588         (__mmap64) [!__NR_mmap2]: Likewise.
55589         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
55590         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55591         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55592         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
55593         [__NR_mmap2]: Make code unconditional.
55594         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55595         (__mmap64) [!__NR_mmap2]: Likewise.
55597 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55599         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
55601 2012-08-18  Andreas Jaeger  <aj@suse.de>
55603         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
55605 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55607         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
55608         * include/unistd.h (__have_sock_cloexec): Likewise.
55609         (__have_pipe2): Likewise.
55610         (__have_dup3): Likewise.
55612 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55614         [BZ #9685]
55615         * include/unistd.h (__have_pipe2): Change define into an extern int.
55616         (__have_dup3): Likewise.
55617         * socket/have_sock_cloexec.c: Include fcntl.h.
55618         (__have_pipe2): New variable.
55619         (__have_dup3): Likewise.
55621 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
55623         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55625 2012-08-17  Marek Polacek  <polacek@redhat.com>
55627         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55628         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55630 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55632         * configure.in: Add AC_SUBST for sysheaders.
55633         * configure: Regenerated.
55634         * config.make.in (sysheaders): New substituted variable.
55636         * sysdeps/unix/mkfifo.c: Moved ...
55637         * sysdeps/posix/mkfifo.c: ... here.
55638         * sysdeps/unix/mkfifoat.c: Moved ...
55639         * sysdeps/posix/mkfifoat.c: ... here.
55641         * sysdeps/unix/utime.c: Moved ...
55642         * sysdeps/posix/utime.c: ... here.
55644         * sysdeps/unix/time.c: Moved ...
55645         * sysdeps/posix/time.c: ... here.
55646         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55647         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55649         * sysdeps/unix/nice.c: Moved ...
55650         * sysdeps/posix/nice.c: ... here.
55652         * sysdeps/unix/alarm.c: Moved ...
55653         * sysdeps/posix/alarm.c: ... here.
55655         * intl/Makefile ($(codeset_mo)): Depend on the input file.
55657 2012-08-17  Jeff Law <law@redhat.com>
55659         * intl/Makefile (codeset_mo): New variable.
55660         ($(codeset_mo)): New target.
55661         (tst-codeset.out): Depend on that.  Remove explicit rule.
55662         (tst-gettext3.out, tst-gettext5.out): Likewise.
55663         (LOCPATH-ENV, tst-codeset-ENV): New variables.
55664         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
55665         * intl/tst-codeset.sh: Remove.
55666         * intl/tst-gettext3.sh: Likewise.
55667         * intl/tst-gettext5.sh: Likewise.
55669 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55671         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
55672         * sysdeps/unix/syscalls.list: ... here.
55674         * sysdeps/posix/getaddrinfo.c
55675         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
55676         (gaiconf_init, gaiconf_reload): Use them.
55677         [!_STATBUF_ST_NSEC]
55678         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55679         Define using time_t rather than struct timespec.
55681         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
55682         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
55683         Macros removed.
55684         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
55685         [!NO_THREADS].
55686         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
55687         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
55688         Likewise.
55690         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
55691         __libc_cleanup_push argument.
55693         * bits/param.h: New file.
55694         * misc/sys/param.h: New file.
55695         * include/sys/param.h: New file.
55696         * misc/Makefile (headers): Add bits/param.h.
55697         * sysdeps/generic/sys/param.h: File removed.
55698         * sysdeps/unix/sysv/linux/bits/param.h: New file.
55699         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
55700         * sysdeps/mach/hurd/bits/param.h: New file.
55701         * sysdeps/mach/hurd/sys/param.h: File removed.
55703         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55704         last change.
55706         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55707         [_IO_MTSAFE_IO].
55708         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55709         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55710         New macros.
55712         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55713         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55714         rather than -D_IO_MTSAFE_IO conditionally.
55715         * stdio-common/Makefile (CPPFLAGS): Likewise.
55716         * wcsmbs/Makefile (CPPFLAGS): Likewise.
55717         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55718         Use $(libio-mtsafe).
55719         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55720         of -D_IO_MTSAFE_IO.
55721         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55722         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55723         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55724         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55725         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55726         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55727         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55728         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55729         (CFLAGS-fread_u_chk.c): Likewise.
55730         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55731         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55732         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55733         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55734         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55735         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55736         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55737         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55738         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55740         * libio/Makefile: Test [$(libc-reentrant) = yes]
55741         instead of [$(filter %REENTRANT, $(defines)) nonempty].
55743         * Makeconfig
55744         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55745         * sysdeps/pthread/configure: File removed.
55746         * sysdeps/pthread/Makeconfig: New file.
55747         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55748         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55750 2012-08-16  Gary Benson  <gbenson@redhat.com>
55752         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55753         unmapping the first object in a namespace.
55755 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55757         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55758         (__internal_setnetgrent): ... this.  Add internal_function to
55759         definition.  Add libc_hidden_def.
55760         (setnetgrent): Update caller.
55761         (internal_endnetgrent): Renamed to ...
55762         (__internal_endnetgrent): ... this.  Add internal_function to
55763         definition.  Add libc_hidden_def.
55764         (endnetgrent): Update caller.
55765         (internal_getnetgrent_r): Renamed to ...
55766         (__internal_getnetgrent_r): ... this.  Add internal_function to
55767         definition.  Add libc_hidden_def.
55768         (__getnetgrent_r): Update caller.
55769         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55771 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55773         * stdlib/longlong.h: Update from GCC.
55775 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55777         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55778         on _QL, which is set by umul_ppmm but never used.
55779         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55780         variables, which are set by GMP macros but never used.
55781         * stdio-common/_itowa.c (_itowa): Likewise.
55782         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55783         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55785 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55787         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55788         struct La_sh_regs is not constant.
55789         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55790         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55791         and struct La_sparc64_regs are not constant.
55793 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55795         * sysdeps/unix/sysv/linux/kernel-features.h
55796         (__ASSUME_POSIX_TIMERS): Remove.
55797         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55798         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55799         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55800         Make code unconditional.
55801         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55802         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55803         Make code unconditional.
55804         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55805         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55806         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55807         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55808         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55809         Make code unconditional.
55810         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55811         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55812         (__libc_missing_posix_timers): Remove.
55814 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55816         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55817         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55819         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55821         * elf/dl-sym.c: Include <stdlib.h>.
55823         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55824         constants, which avoids warnings in 32-bit builds.
55826         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55827         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55829         * misc/lseek.c: File moved to ...
55830         * io/lseek.c: ... here.
55832         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55834         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55835         shifting LEN more than 31 bits at once.
55837 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55839         [BZ #14195]
55840         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55841         segmentation fault for a case of two empty input strings.
55842         * string/test-strncasecmp.c (check1): Renamed to...
55843         (bz12205): ...this.
55844         (bz14195): Add new testcase for two empty input strings and N > 0.
55845         (test_main): Call new testcase, adapt for renamed function.
55847 2012-08-15  Andreas Jaeger  <aj@suse.de>
55849         [BZ #14090]
55850         * crypt/md5test2.c: New test, based on test supplied by Serge
55851         Belyshev <belyshev@depni.sinp.msu.ru>.
55852         * crypt/Makefile (xtests): Add md5test-giant..
55853         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55855 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55857         [BZ #14090]
55858         * crypt/md5.c (md5_process_block): Don't assume the buffer
55859         length is less than 2**32.
55860         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55861         length is less than 2**64.
55863 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55865         * string/str-two-way.h: Include <sys/param.h>.
55866         (MAX): Macro removed.
55868         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55869         Move #define and #undef of memmove to just before and after
55870         including <string.h>.
55872         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55873         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55874         and after including <string.h>.  Move declarations of
55875         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55876         to before #include "string/memmove.c".
55878         * include/dirent.h: Declare __getdirentries.
55880         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55881         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55883 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55885         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55886         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55887         * sysdeps/i386/configure: Regenerated.
55888         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55889         STABS_CURRENT_FILE, and STABS_FUN.
55890         (END): Remove call to STABS_FUN_END.
55891         (STABS_CURRENT_FILE1): Delete.
55892         (STABS_CURRENT_FILE): Likewise.
55893         (STABS_FUN): Likewise.
55894         (STABS_FUN_END): Likewise.
55895         (STABS_FUN2): Likewise.
55896         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55897         * sysdeps/x86_64/configure: Regenerated.
55899 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55901         * elf/dl-open.c: Include <atomic.h>.
55902         * elf/dl-lookup.c: Likewise.
55904 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55906         * sysdeps/unix/sysv/linux/kernel-features.h
55907         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55908         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55909         unconditionally.
55910         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55911         unconditionally.
55912         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55913         condition on __ASSUME_CLONE_THREAD_FLAGS.
55915 2012-08-14  Andreas Jaeger  <aj@suse.de>
55917         * sysdeps/i386/fpu/libm-test-ulps: Update.
55919 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55921         * include/atomic.h (atomic_exchange_and_add): Split into ...
55922         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55923         New atomic macros.
55925 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55929 2012-08-13  Jeff Law <law@redhat.com>
55931         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55932         null byte in the output string.
55934 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55936         * sysdeps/unix/sysv/linux/kernel-features.h
55937         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55938         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55939         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55940         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55941         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55942         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55943         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55945 2012-08-09  Jeff Law <law@redhat.com>
55947         [BZ #13939]
55948         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55949         When avoid_arena is set, don't retry in the that arena.  Pick the
55950         next one, whatever it might be.
55951         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55952         (arena_lock): Pass in new parameter to arena_get2.
55953         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55954         arena_get2.
55955         (__libc_malloc): Unify retrying after main arena failure with
55956         __libc_memalign version.
55957         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55959 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55961         [BZ #14166]
55962         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55963         to __redirect_strstr.
55964         (__strstr_sse42): Use typeof __redirect_strstr.
55965         (__strstr_ia32): Likewise.
55966         (__libc_strstr): New prototype.
55967         (strstr): Renamed to ...
55968         (__libc_strstr): This.
55969         (strstr): New strong alias of __libc_strstr.
55970         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55971         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55972         __redirect_time.
55973         Include <time.h>.
55974         (__libc_time): New prototype.
55975         (time_ifunc): Replace time with __libc_time.
55976         (time): New strong alias and hidden definition of __libc_time.
55977         (__GI_time): Remove strong alias.
55978         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55979         Include <stddef.h>.
55980         (memmove): Redefined to __redirect_memmove.
55981         (__memmove_sse2): Use typeof __redirect_memmove.
55982         (__memmove_ssse3): Likewise.
55983         (__memmove_ssse3_back): Likewise.
55984         (__libc_memmove): New prototype.
55985         (memmove): Renamed to ...
55986         (__libc_memmove): This.
55987         (memmove): New strong alias of __libc_memmove.
55989 2012-08-08  Mark Salter  <msalter@redhat.com>
55991         * elf/elf.h
55992         (R_MN10300_TLS_GD): Define.
55993         (R_MN10300_TLS_LD): Likewise.
55994         (R_MN10300_TLS_LDO): Likewise.
55995         (R_MN10300_TLS_GOTIE): Likewise.
55996         (R_MN10300_TLS_IE): Likewise.
55997         (R_MN10300_TLS_LE): Likewise.
55998         (R_MN10300_TLS_DTPMOD): Likewise.
55999         (R_MN10300_TLS_DTPOFF): Likewise.
56000         (R_MN10300_TLS_TPOFF): Likewise.
56001         (R_MN10300_SYM_DIFF): Likewise.
56002         (R_MN10300_ALIGN): Likewise.
56003         (R_MN10300_NUM): Update.
56005 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56007         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56008         Remove.
56010 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56012         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56014         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56015         sysdeps/unix -> sysdeps/posix move.
56016         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56018 2012-08-07      Allan McRae     <allan@archlinux.org>
56020         [BZ #14303]
56021         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56022         (SUNOS_CPP): Likewise.
56023         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56024         not found.
56025         (open_input): Call CPP using execvp.
56027 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56029         * sysdeps/unix/sysv/linux/kernel-features.h
56030         (__ASSUME_PROT_GROWSUPDOWN): Remove.
56031         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56032         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56033         (__ASSUME_WAITID_SYSCALL): Likewise.
56034         * sysdeps/unix/sysv/linux/dl-execstack.c
56035         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56036         code unconditional.
56037         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56038         conditional code.
56039         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56040         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56041         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56042         code.
56043         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56044         unconditional.
56045         [__ASSUME_WAITID_SYSCALL]: Likewise.
56046         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56048 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56050         * sysdeps/unix/closedir.c: Renamed to ...
56051         * sysdeps/posix/closedir.c: ... here.
56052         * sysdeps/unix/dirfd.c: Renamed to ...
56053         * sysdeps/posix/dirfd.c: ... here.
56054         * sysdeps/unix/dirstream.h: Renamed to ...
56055         * sysdeps/posix/dirstream.h: ... here.
56056         * sysdeps/unix/fdopendir.c: Renamed to ...
56057         * sysdeps/posix/fdopendir.c: ... here.
56058         * sysdeps/unix/opendir.c: Renamed to ...
56059         * sysdeps/posix/opendir.c: ... here.
56060         * sysdeps/unix/readdir.c: Renamed to ...
56061         * sysdeps/posix/readdir.c: ... here.
56062         * sysdeps/unix/readdir_r.c: Renamed to ...
56063         * sysdeps/posix/readdir_r.c: ... here.
56064         * sysdeps/unix/rewinddir.c: Renamed to ...
56065         * sysdeps/posix/rewinddir.c: ... here.
56066         * sysdeps/unix/seekdir.c: Renamed to ...
56067         * sysdeps/posix/seekdir.c: ... here.
56068         * sysdeps/unix/telldir.c: Renamed to ...
56069         * sysdeps/posix/telldir.c: ... here.
56070         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56071         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56072         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56073         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56075         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56076         * bits/fcntl.h: ... here.
56078         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56079         not 0.
56080         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56081         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56082         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56083         (struct flock): Move l_start, l_len to the beginning.
56084         Use __pid_t for l_pid.
56085         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56086         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56087         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56088         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56089         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56090         [__USE_LARGEFILE64] (struct flock64): New type.
56091         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56093         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56094         * bits/dirent.h: ... here.
56096         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56097         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56099 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56102         Change from 2.6.0 to 2.6.16.
56103         * sysdeps/unix/sysv/linux/configure: Regenerated.
56104         * sysdeps/unix/sysv/linux/kernel-features.h
56105         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56106         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56107         version.
56108         (__ASSUME_UTIMES): Likewise.
56109         (__ASSUME_CLONE_STOPPED): Remove.
56110         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56111         architectures, not kernel version.
56112         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56113         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56114         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56115         (__ASSUME_WAITID_SYSCALL): Likewise.
56116         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56117         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56118         * README: State 2.6.16 as minimum Linux kernel version.  Do not
56119         refer to older versions.
56121 2012-08-06  Roland McGrath  <roland@hack.frob.com>
56123         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56124         Define alphasort64 as an alias.
56125         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56126         Define versionsort64 as an alias.
56127         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56128         Define scandir64 as an alias.
56129         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
56130         Define scandirat64 as an alias.
56131         * dirent/alphasort64.c (alphasort64):
56132         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
56133         * dirent/versionsort64.c: Likewise.
56134         * dirent/scandir64.c: Likewise.
56135         * dirent/scandirat64.c: Likewise.
56136         * sysdeps/wordsize-64/alphasort.c: File removed.
56137         * sysdeps/wordsize-64/alphasort64.c: File removed.
56138         * sysdeps/wordsize-64/scandir.c: File removed.
56139         * sysdeps/wordsize-64/scandir64.c: File removed.
56140         * sysdeps/wordsize-64/scandirat.c: File removed.
56141         * sysdeps/wordsize-64/scandirat64.c: File removed.
56142         * sysdeps/wordsize-64/versionsort.c: File removed.
56143         * sysdeps/wordsize-64/versionsort64.c: File removed.
56144         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
56145         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56146         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
56147         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
56148         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
56149         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
56150         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
56151         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
56153         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
56154         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56155         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
56156         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56157         [defined __arch64__ || defined __sparcv9]
56158         (__INO_T_MATCHES_INO64_T): New macro.
56159         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56160         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
56161         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
56162         * sysdeps/unix/sysv/linux/bits/dirent.h
56163         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
56164         (_DIRENT_MATCHES_DIRENT64): New macro.
56166         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
56167         Define lockf64 as an alias.
56168         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
56169         Define fseeko64 as an alias.
56170         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
56171         Define ftello64 as an alias.
56172         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
56173         Define _IO_fgetpos64 and fgetpos64 as aliases.
56174         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
56175         Define _IO_fsetpos64 and fsetpos64 as aliases.
56176         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
56177         Conditionalize body on this.
56178         * libio/fseeko64.c: Likewise.
56179         * libio/ftello64.c: Likewise.
56180         * libio/iofgetpos64.c: Likewise.
56181         * libio/iofsetpos64.c: Likewise.
56182         * sysdeps/wordsize-64/lockf.c: File removed.
56183         * sysdeps/wordsize-64/lockf64.c: File removed.
56184         * sysdeps/wordsize-64/fseeko.c: File removed.
56185         * sysdeps/wordsize-64/fseeko64.c: File removed.
56186         * sysdeps/wordsize-64/ftello.c: File removed.
56187         * sysdeps/wordsize-64/ftello64.c: File removed.
56188         * sysdeps/wordsize-64/iofgetpos.c: File removed.
56189         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
56190         * sysdeps/wordsize-64/iofsetpos.c: File removed.
56191         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
56192         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
56193         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
56194         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
56195         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
56196         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
56197         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
56198         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
56199         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
56200         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
56201         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
56203         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56204         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56205         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
56206         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56207         [defined __arch64__ || defined __sparcv9]
56208         (__OFF_T_MATCHES_OFF64_T): New macro.
56209         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56210         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56211         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56212         (__OFF_T_MATCHES_OFF64_T): New macro.
56214 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56216         * stdlib/secure-getenv.c (__secure_getenv): Replace
56217         GLIBC_2_16 with GLIBC_2_17.
56219 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56221         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
56222         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56224 2012-08-03  David S. Miller  <davem@davemloft.net>
56226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56228 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56230         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
56231         Remove.
56232         (__ASSUME_CORRECT_SI_PID): Likewise.
56233         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
56234         (__ASSUME_TMPFS_NAME): Likewise.
56235         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
56236         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
56237         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
56238         (HAVE_AUX_SECURE): Make definition unconditional.
56239         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
56240         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
56242 2012-08-03  Roland McGrath  <roland@hack.frob.com>
56244         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
56245         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
56246         * sysdeps/mach/hurd/eloop-threshold.h: New file.
56247         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56248         __eloop_threshold instead of SYMLOOP_MAX.
56250         * sysdeps/generic/eloop-threshold.h: New file.
56251         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
56252         of MAXSYMLINKS.
56253         * elf/chroot_canon.c (chroot_canon): Likewise.
56255 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56257         [BZ #13717]
56258         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56259         Change to 2.6.0 everywhere.
56260         * sysdeps/unix/sysv/linux/configure: Regenerated.
56261         * sysdeps/unix/sysv/linux/kernel-features.h
56262         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
56263         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
56264         kernel versions.
56265         (__ASSUME_POSIX_TIMERS): Define unconditionally.
56266         (__ASSUME_FUTEX_REQUEUE): Remove.
56267         (__ASSUME_STATFS64): Define unconditionally.
56268         (__ASSUME_AT_SECURE): Likewise.
56269         (__ASSUME_CORRECT_SI_PID): Likewise.
56270         (__ASSUME_TGKILL): Define without depending on kernel version for
56271         i386.
56272         (__ASSUME_UTIMES): Likewise.
56273         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
56274         kernel version.
56275         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
56276         (__ASSUME_TMPFS_NAME): Likewise.
56277         * README: Update reference to Linux kernel versions.
56279 2012-08-02  Marek Polacek  <polacek@redhat.com>
56281         [BZ# 14150]
56282         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
56283         libc_cv_asm_type_prefix with %.
56284         * configure: Regenerated.
56285         * include/libc-symbols.h: Remove comment about
56286         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56287         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
56288         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
56289         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
56290         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
56291         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56292         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
56293         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
56294         * elf/tst-unique2mod1.c: Likewise.
56295         * elf/tst-unique1mod2.c: Likewise.
56296         * elf/tst-unique1mod1.c: Likewise.
56297         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
56298         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
56299         Replace ASM_TYPE_DIRECTIVE with .type.
56300         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56301         * sysdeps/i386/sysdep.h: Likewise.
56302         * sysdeps/x86_64/sysdep.h: Likewise.
56303         * sysdeps/sh/sysdep.h: Likewise.
56304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56305         Do not define ASM_TYPE_DIRECTIVE.
56306         * sysdeps/powerpc/sysdep.h: Likewise.
56307         * sysdeps/powerpc/powerpc32/sysdep.h:
56308         Replace ASM_TYPE_DIRECTIVE with .type.
56309         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56310         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56311         * sysdeps/i386/fpu/e_powf.S: Likewise.
56312         * sysdeps/i386/fpu/e_expl.S: Likewise.
56313         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56314         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56315         * sysdeps/i386/fpu/e_pow.S: Likewise.
56316         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56317         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56318         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56319         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56320         * sysdeps/i386/fpu/e_log2.S: Likewise.
56321         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56322         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56323         * sysdeps/i386/fpu/e_powl.S: Likewise.
56324         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56325         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56326         * sysdeps/i386/fpu/e_logl.S: Likewise.
56327         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56328         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56329         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56330         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56331         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56332         * sysdeps/i386/fpu/e_log.S: Likewise.
56333         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56334         * sysdeps/i386/fpu/e_logf.S: Likewise.
56335         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56336         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56337         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56338         * sysdeps/i386/fpu/e_log10.S: Likewise.
56339         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56340         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56341         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56342         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56343         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56344         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
56345         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56346         * sysdeps/i386/i686/strtok.S: Likewise.
56347         * sysdeps/i386/i386-mcount.S: Likewise.
56348         * sysdeps/i386/strtok.S: Likewise.
56349         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
56350         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56351         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56352         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56353         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56354         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56355         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56356         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56357         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56358         * sysdeps/x86_64/_mcount.S: Likewise.
56359         * sysdeps/x86_64/strtok.S: Likewise.
56360         * sysdeps/sh/_mcount.S: Likewise.
56362 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56364         * libio/iofopen.c: Include <fcntl.h>.
56365         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
56366         (_IO_fopen64, fopen64): Define as aliases.
56367         * libio/iofopen64.c: Include <fcntl.h>.
56368         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
56369         Conditionalize body on this.
56370         * sysdeps/wordsize-64/iofopen.c: File removed.
56371         * sysdeps/wordsize-64/iofopen64.c: File removed.
56373 2012-08-01  Marek Polacek  <polacek@redhat.com>
56375         * libc/Makeconfig: Use elf in place of binfmt-subdir.
56376         Use dlfcn directly instead of a variable.
56377         (binfmt-subdir): Do not define.
56378         (dlfcn): Likewise.
56380 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
56382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
56383         Remove all definitions.
56384         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
56385         <kernel-features.h>.
56386         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56387         (miss_F_GETOWN_EX): Remove all definitions.
56388         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
56389         macro definition.
56390         [!__ASSUME_FCNTL64]: Remove conditional code.
56391         [__ASSUME_FCNTL64]: Make code unconditional.
56392         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
56393         <kernel-features.h>.
56394         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56395         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
56396         (lockf64) [__NR_fcntl64]: Make code unconditional.
56397         (lockf64) [__ASSUME_FCNTL64]: Likewise.
56399         * sysdeps/unix/sysv/linux/kernel-features.h
56400         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
56401         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
56402         Make code unconditional.
56403         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56404         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
56406         [__NR_vfork]: Make code unconditional.
56407         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56408         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
56410         [__NR_vfork]: Make code unconditional.
56411         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56412         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56414 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56416         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56417         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
56419         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56420         Define mkstemp64 as an alias.
56421         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56422         Define mkstemps64 as an alias.
56423         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56424         Define mkostemp64 as an alias.
56425         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56426         Define mkostemps64 as an alias.
56427         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
56428         Conditionalize body on this.
56429         * misc/mkostemp64.c: Likewise.
56430         * misc/mkostemps64.c: Likewise.
56431         * misc/mkstemps64.c: Likewise.
56432         * sysdeps/wordsize-64/mkstemp64.c: File removed.
56433         * sysdeps/wordsize-64/mkostemp64.c: File removed.
56434         * sysdeps/wordsize-64/mkostemp.c: File removed.
56435         * sysdeps/wordsize-64/mkstemp.c: File removed.
56436         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
56437         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
56438         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
56439         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
56441         [BZ #14138]
56442         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
56443         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
56444         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
56445         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
56447         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
56448         compat_symbol macros from <shlib-compat.h> rather than the underlying
56449         default_symbol_version and symbol_version macros, so that DEFAULT
56450         lines in shlib-versions are respected.
56451         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
56453 2012-08-01  Florian Weimer  <fweimer@redhat.com>
56455         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
56456         Declare with warn_unused_result.
56457         (setgid, setregid, setegid, setresgid): Likewise.
56458         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
56459         Likewise.
56460         * WUR-REPORT: Remove set*id functions.
56462 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
56464         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
56466 2012-07-31  Roland McGrath  <roland@hack.frob.com>
56468         [BZ #10191]
56469         * include/sys/socket.h (__libc_accept, __libc_accept4):
56470         Add attribute_hidden.
56471         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
56473         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
56474         use of PTR_MANGLE.
56475         * inet/getnetgrent_r.c (setup): Likewise.
56477         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
56479 2012-07-31  David S. Miller  <davem@davemloft.net>
56481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56483 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
56485         [BZ #13629]
56486         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
56487         value between 1.0 and 2.0 and smaller part has absolute value less
56488         than 1.0.
56489         * math/s_clog10.c (__clog10): Likewise.
56490         * math/s_clog10f.c (__clog10f): Likewise.
56491         * math/s_clog10l.c (__clog10l): Likewise.
56492         * math/s_clogf.c (__clogf): Likewise.
56493         * math/s_clogl.c (__clogl): Likewise.
56494         * math/libm-test.inc (clog_test): Add more tests.
56495         (clog10_test): Likewise.
56496         * sysdeps/i386/fpu/libm-test-ulps: Update.
56497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56499 2012-07-31  Florian Weimer  <fweimer@redhat.com>
56501         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
56502         Exit with zero in case no suitable GID is found, and write a
56503         message to standard error.
56505 2012-07-30  Roland McGrath  <roland@hack.frob.com>
56507         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
56508         rather than to 1.
56509         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
56510         (MAXPATHLEN): Removed.
56511         (NOGROUP, NODEV): New macros.
56512         (setbit, clrbit, isset, isclr): New macros.
56513         (howmany, roundup, powerof2): New macros.
56514         (DEV_BSIZE): New macro.
56516         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
56517         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
56519         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
56520         definition on [!__NO_LONG_DOUBLE_MATH].
56522         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
56523         PTR_MANGLE and PTR_DEMANGLE.
56525         * socket/accept4.c (accept4): Rename to __libc_accept4.
56526         Define accept4 as a weak alias.
56528         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
56529         on [_DIRENT_HAVE_D_TYPE].
56530         * io/ftw.c (ftw_dir): Likewise.
56532         * io/xmknod.c (__xmknod): Don't check PATH for being null.
56534         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
56536         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
56537         Use the BSD numbers rather than the arbitrary ones we had.
56538         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
56539         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
56540         (SIGXCPU, SIGXFSZ): New macros.
56541         (_NSIG): Now 32.
56543         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
56544         initializer on [_LIBC_REENTRANT].
56546         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
56547         definitions inside [_POSIX_MAPPED_FILES].
56549         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
56551         * dirent/opendir.c: Include <fcntl.h>.
56553         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
56554         (__libc_getspecific): Likewise.
56555         (__libc_key_create): Likewise.
56557         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
56558         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
56559         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
56560         (tmpfile64): Define as alias.
56561         * sysdeps/wordsize-64/tmpfile.c: File removed.
56562         * sysdeps/wordsize-64/tmpfile64.c: File removed.
56563         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
56564         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
56566         * stdio-common/vfscanf.c: Include <stdbool.h>.
56567         * nss/makedb.c: Likewise.
56568         * stdio-common/_i18n_number.h: Likewise.
56569         * argp/argp-help.c: Likewise.
56570         * posix/wordexp.c: Likewise.
56571         * sysdeps/posix/spawni.c: Likewise.
56572         * nss/nss_files/files-initgroups.c: Likewise.
56573         * stdio-common/reg-modifier.c: Include <stdlib.h>.
56574         * nss/nss_files/files-initgroups.c: Likewise.
56575         * nss/nss_db/db-netgrp.c: Likewise.
56576         * nss/nss_db/db-initgroups.c: Likewise.
56577         * io/fchmodat.c: Include <sys/stat.h>.
56579         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
56580         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
56582         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
56583         [HAVE_MMAP].
56585         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
56586         Add multiple inclusion protection.
56588 2012-07-27  David S. Miller  <davem@davemloft.net>
56590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56592 2012-07-27  Gary Benson  <gbenson@redhat.com>
56594         [BZ #14298]
56595         * elf/rtld.c: Include <stap-probe.h>.
56596         (dl_main): Added static probes "init_start" and "init_complete".
56597         * elf/dl-load.c: Include <stap-probe.h>.
56598         (lose): Take new parameter "nsid".
56599         Added static probe "map_failed".
56600         (_dl_map_object_from_fd): Pass namespace id to lose.
56601         Added static probe "map_start".
56602         (open_verify): Pass namespace id to lose.
56603         * elf/dl-open.c: Include <stap-probe.h>.
56604         (dl_open_worker) Added static probes "map_complete", "reloc_start"
56605         and "reloc_complete".
56606         * elf/dl-close.c: Include <stap-probe.h>.
56607         (_dl_close_worker): Added static probes "unmap_start" and
56608         "unmap_complete".
56609         * elf/rtld-debugger-interface.txt: New file documenting the above.
56611 2012-07-26  Roland McGrath  <roland@hack.frob.com>
56613         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
56614         rather than a string variable.
56615         * sunrpc/rpc_main.c (h_output): Likewise.
56616         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56618 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
56620         * inet/check_native.c: New file.
56622 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
56624         [BZ #13629]
56625         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56626         if larger part has absolute value 1.0.
56627         * math/s_clog10.c (__clog10): Likewise.
56628         * math/s_clog10f.c (__clog10f): Likewise.
56629         * math/s_clog10l.c (__clog10l): Likewise.
56630         * math/s_clogf.c (__clogf): Likewise.
56631         * math/s_clogl.c (__clogl): Likewise.
56632         * math/libm-test.inc (clog_test): Add more tests.
56633         (clog10_test): Likewise.
56634         * sysdeps/i386/fpu/libm-test-ulps: Update.
56635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56637         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56638         (pltexit): Likewise.
56639         (La_regs): Likewise.
56640         (La_retval): Likewise.
56641         (int_retval): Likewise.
56642         Update #error for removed macros to refer only to definitions in
56643         tst-audit.h.
56644         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56645         macro.
56646         (pltexit): Likewise.
56647         (La_regs): Likewise.
56648         (La_retval): Likewise.
56649         (int_retval): Likewise.
56650         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56651         macro.
56652         (pltexit): Likewise.
56653         (La_regs): Likewise.
56654         (La_retval): Likewise.
56655         (int_retval): Likewise.
56656         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56657         macro.
56658         (pltexit): Likewise.
56659         (La_regs): Likewise.
56660         (La_retval): Likewise.
56661         (int_retval): Likewise.
56662         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
56663         macro.
56664         (pltexit): Likewise.
56665         (La_regs): Likewise.
56666         (La_retval): Likewise.
56667         (int_retval): Likewise.
56668         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
56669         macro.
56670         (pltexit): Likewise.
56671         (La_regs): Likewise.
56672         (La_retval): Likewise.
56673         (int_retval): Likewise.
56674         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
56675         macro.
56676         (pltexit): Likewise.
56677         (La_regs): Likewise.
56678         (La_retval): Likewise.
56679         (int_retval): Likewise.
56680         * sysdeps/generic/tst-audit.h: Update comment to refer only to
56681         macro definitions in tst-audit.h.
56682         * sysdeps/i386/tst-audit.h: New file.
56683         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
56684         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
56685         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
56686         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
56687         * sysdeps/sh/tst-audit.h: Likewise.
56688         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
56689         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56690         * sysdeps/x86_64/tst-audit.h: Likewise.
56692 2012-07-26  Andreas Jaeger  <aj@suse.de>
56694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
56695         ptrace.
56697         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
56698         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
56699         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
56700         PTRACE_O_MASK.
56701         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
56702         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
56703         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56705         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56706         value.
56708         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56709         _sigsys.
56710         (si_call_addr, si_syscall, si_arch): Define new macro.
56711         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56712         _sigsys.
56713         (si_call_addr, si_syscall, si_arch): Define new marcro.
56714         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56715         _sigsys.
56716         (si_call_addr, si_syscall, si_arch): Define new macro.
56717         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56718         _sigsys.
56719         (si_call_addr, si_syscall, si_arch): Define new macro.
56721 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56723         [BZ #13717]
56724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56725         Change to 2.4.21 where previously 2.4.1.
56726         * sysdeps/unix/sysv/linux/configure: Regenerated.
56727         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56728         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56729         Linux kernel version.
56730         (__ASSUME_STD_AUXV): Remove.
56731         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56732         kernel version.
56733         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56734         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56735         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56736         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56737         (__ASSUME_NETLINK_SUPPORT): Likewise.
56738         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56739         (__no_netlink_support): Remove conditional definition.
56740         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56741         Remove.
56742         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56743         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56744         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56745         (if_nameindex_ioctl): Remove.
56746         (if_nameindex_netlink): Do not handle __no_netlink_support.
56747         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56748         code.
56749         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56750         Remove conditional code.
56751         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56752         code.
56753         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56754         unconditional.
56755         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56756         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56757         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56758         Remove.
56759         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56760         [!__ASSUME_STD_AUXV]: Remove conditional code.
56761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56762         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56763         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56765         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56766         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56767         code.
56768         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56770         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56771         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56772         conditional code.
56773         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56775         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56776         code.
56777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56778         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56779         conditional code.
56780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56781         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56782         code unconditional.
56783         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56784         conditional code.
56785         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56786         unconditional.
56787         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56788         conditional code.
56789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56790         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56791         unconditional.
56792         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56793         conditional code.
56794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56795         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56796         code unconditional.
56797         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56798         conditional code.
56799         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56800         unconditional.
56801         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56802         conditional code.
56803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56804         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56805         code unconditional.
56806         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56807         conditional code.
56808         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56809         unconditional.
56810         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56811         conditional code.
56813 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56815         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56816         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56817         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56818         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56819         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56820         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56821         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56822         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56823         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56824         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56825         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56826         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56827         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56828         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56829         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56830         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56831         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56832         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56833         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56835         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56836         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56837         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56839 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56841         * Versions.def: Add GLIBC_2.17.
56842         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56843         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56844         Introduce __libc_secure_getenv.
56845         * stdlib/Versions (2.17): Add secure_getenv
56846         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56847         * stdlib/secure-getenv.c: Rename __secure_getenv to
56848         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56849         symbol __secure_getenv for GLIBC_2.0.
56850         * stdlib/tst-secure-getenv.c: New.
56851         * stdlib/Makefile (tests): Add testcase.
56852         * manual/startup.texi (Environment Access): Document
56853         secure_getenv.
56854         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56855         __libc_secure_getenv.
56856         * inet/ruserpass.c (ruserpass): Likewise.
56857         * malloc/mtrace.c (mtrace): Likewise.
56858         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56859         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56860         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56861         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56862         HAVE_SECURE_GETENV.
56863         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56864         __secure_getenv to __libc_secure_getenv.
56865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56867         Likewise.
56868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56869         Likewise.
56870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56878 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56880         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56881         (struct La_i86_retval): Likewise.
56882         (struct La_x86_64_regs): Likewise.
56883         (struct La_x86_64_retval): Likewise.
56884         (struct La_x32_regs): Likewise.
56885         (struct La_x32_retval): Likewise.
56886         (struct La_ppc32_regs): Likewise.
56887         (struct La_ppc32_retval): Likewise.
56888         (struct La_ppc64_regs): Likewise.
56889         (struct La_ppc64_retval): Likewise.
56890         (struct La_sh_regs): Likewise.
56891         (struct La_sh_retval): Likewise.
56892         (struct La_s390_32_regs): Likewise.
56893         (struct La_s390_32_retval): Likewise.
56894         (struct La_s390_64_regs): Likewise.
56895         (struct La_s390_64_retval): Likewise.
56896         (struct La_sparc32_regs): Likewise.
56897         (struct La_sparc32_retval): Likewise.
56898         (struct La_sparc64_regs): Likewise.
56899         (struct La_sparc64_retval): Likewise.
56900         (struct audit_ifaces): Remove architecture-specific pltenter and
56901         pltexit members.
56902         * sysdeps/i386/ldsodefs.h: New file.
56903         * sysdeps/powerpc/ldsodefs.h: Likewise.
56904         * sysdeps/s390/ldsodefs.h: Likewise.
56905         * sysdeps/sh/ldsodefs.h: Likewise.
56906         * sysdeps/sparc/ldsodefs.h: Likewise.
56907         * sysdeps/x86_64/ldsodefs.h: Likewise.
56909 2012-07-25  Marek Polacek  <polacek@redhat.com>
56911         [BZ #6808]
56912         * math/libm-test.inc (yn_test): Add another test.
56913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56914         to ERANGE when the result is +-Inf.
56915         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56916         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56917         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56918         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56920 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56922         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56923         equal to 0.
56924         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56925         clock_t.
56926         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56928 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56930         * configure.in <sysdeps resolving>: Correct printing
56931         Implies_before.
56932         * configure: Regenerate.
56934 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56936         * math/w_ilogb.c: Include <limits.h>.
56937         * math/w_ilogbl.c: Likewise.
56939 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56941         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56942         va_copy.  Document allowing for unavailable va_copy only as
56943         pre-C99 compatibility.
56944         * manual/string.texi (Copying and Concatenation): Use va_copy
56945         instead of __va_copy in concat example.
56947 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56949         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56950         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56951         it if not null.
56953         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56954         with O_NOLINK passed to __file_name_lookup.
56956         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56957         with O_NOLINK passed to __file_name_lookup.
56959         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56960         negative N or less than NGIDS.
56962         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56963         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56964         enough.  Use memcpy instead of strncpy.
56966 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56968         * elf/Makefile (check-data): Remove.
56969         (localplt.data): New vpath directive.
56970         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56971         instead of $(check-data).
56972         * scripts/data/localplt-generic.data: Move to ...
56973         * sysdeps/generic/localplt.data: ... here.
56974         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56975         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56976         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56978         ... here.
56979         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56981         ... here.
56982         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56984         ... here.
56985         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56987         ... here.
56988         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56990         ... here.
56991         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56993         ... here.
56995 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56997         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56998         PPC32 and PPC64 files.
56999         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57000         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57002 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57004         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57005         __makecontext_ret to ...
57006         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57007         ... here and call exit if uc_link is NULL.  New file.
57008         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57009         __makecontext_ret.S.
57010         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57011         __makecontext_ret to ...
57012         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57013         ... here and call exit if uc_link is NULL.  New file.
57014         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57015         __makecontext_ret.S.
57017 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57019         * elf/elf.h (R_390_IRELATIVE): New definition.
57020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57021         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57022         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57023         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57024         (elf_machine_lazy_rel): Likewise.
57025         * sysdeps/s390/dl-irel.h: New file.
57026         * sysdeps/s390/s390-64/memcpy.S: New asm code.
57027         * sysdeps/s390/s390-64/memset.S: New asm code.
57028         * sysdeps/s390/s390-64/memcmp.S: New asm code.
57029         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57030         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57031         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57032         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57033         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57034         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57035         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57036         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57037         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57038         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57039         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57040         * sysdeps/s390/s390-32/memset.S: New asm code.
57041         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57043 2012-07-17  Marek Polacek  <polacek@redhat.com>
57045         [BZ #14349]
57046         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57047         * sysdeps/s390/s390-64/configure.in: Likewise.
57048         * sysdeps/sparc/configure.in: Likewise.
57049         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57050         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57051         * sysdeps/i386/configure.in: Likewise.
57052         * sysdeps/x86_64/configure.in: Likewise.
57053         * sysdeps/sh/configure.in: Likewise.
57054         * sysdeps/s390/s390-32/configure: Regenerated.
57055         * sysdeps/s390/s390-64/configure: Likewise.
57056         * sysdeps/x86_64/configure: Likewise.
57057         * sysdeps/sh/configure: Likewise.
57058         * sysdeps/powerpc/powerpc64/configure: Likewise.
57059         * sysdeps/powerpc/powerpc32/configure: Likewise.
57060         * sysdeps/sparc/configure: Likwise.
57061         * sysdeps/i386/configure: Likewise.
57063         * elf/dl-open.c: Comment fixes.
57065 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
57067         * Makefile [CXX] (check-data): Remove.
57068         [CXX] (c++-types.data): New vpath directive.
57069         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57070         vpath.  Do not allow for C++ type data being missing.
57071         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57072         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57073         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57074         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57075         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57076         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57077         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57079         ... here.
57080         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57082         ... here.
57083         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57085         ... here.
57086         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57088         ... here.
57089         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57091         ... here.
57092         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57094         ... here.
57095         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57097         ... here.
57098         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57101         * elf/tls-macros.h (TLS_LE): Move architecture-specific
57102         definitions to architecture-specific files.
57103         (TLS_IE): Likewise.
57104         (TLS_LD): Likewise.
57105         (TLS_GD): Likewise.
57106         * sysdeps/i386/tls-macros.h: New file.
57107         * sysdeps/powerpc/tls-macros.h: Likewise.
57108         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57109         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57110         * sysdeps/sh/tls-macros.h: Likewise.
57111         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57112         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57113         * sysdeps/x86_64/tls-macros.h: Likewise.
57115 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57117         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57118         zero value for regular exit case.
57120         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57121         (__start_context): Preserve zero value for regular exit case.
57123 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57124             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57126         * manual/setjmp.texi (setcontext): Clarify normal process
57127         termination when uc_link is the null pointer.
57128         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57129         exit call.
57131 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
57133         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
57134         preprocessor.  Test for each exception mask separately.
57136 2012-07-16  Andreas Jaeger  <aj@suse.de>
57138         * po/ru.po: Update from translation team.
57140 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
57142         * conform/data/string.h-data (NULL): Use macro-constant.  Require
57143         equal to 0.
57144         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57145         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57146         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
57147         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
57148         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57150 2012-07-13  Andreas Jaeger  <aj@suse.de>
57152         * po/fr.po: Update from translation team.
57154 2012-07-12  Marek Polacek  <polacek@redhat.com>
57156         [BZ #14173]
57157         * math/libm-test.inc (yn_test): Add test for BZ #14173.
57158         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
57159         loop condition.
57161 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
57163         [BZ #13717]
57164         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57165         Change to 2.4.1 where previously 2.4.0.
57166         * sysdeps/unix/sysv/linux/configure: Regenerated.
57167         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
57168         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
57169         version.
57170         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
57171         (__ASSUME_AT_CLKTCK): Remove.
57172         (__ASSUME_AT_PAGESIZE): Likewise.
57173         (__ASSUME_AT_XID): Likewise.
57174         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
57175         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
57176         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
57177         unconditionally.
57178         (HAVE_AUX_PAGESIZE): Likewise.
57179         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
57180         [__ASSUME_AT_CLKTCK]: Make code unconditional.
57181         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
57183 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
57185         [BZ #14307]
57186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
57187         the temporary buffer used to invoke __gethostbyname2_r,
57188         __gethostbyaddr_r and gethostbyname4_r to make room for struct
57189         host_data / struct gaih_addrtuple.
57190         * resolv/nss_dns/dns-host.c (global scope): Move definition of
57191         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57192         header file nss/nsswitch.h.
57193         * nss/nsswitch.h (global scope): Add definition of implementation
57194         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
57195         resolv/nss_dns/dns-host.c).
57197 2012-07-11  Andreas Jaeger  <aj@suse.de>
57199         * po/fr.po: Update from translation team.
57201         * po/sv.po: Update from translation team
57202         * po/fr.po: Another update from translation team.
57204 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57206         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
57207         for subnormals or multiply small sinh result by itself.
57208         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57211 2012-07-11  David S. Miller  <davem@davemloft.net>
57213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57215 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
57217         [BZ #14347]
57218         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
57219         (INTERNAL_MARK): Shift it here.
57221 2012-07-10  Marek Polacek  <polacek@redhat.com>
57223         [BZ #14151]
57224         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
57225         libc_cv_asm_global_directive with .globl.
57226         * configure: Regenerated.
57227         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
57228         with .globl.
57229         * sysdeps/i386/configure: Regenerated.
57230         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
57231         with .globl.
57232         * sysdeps/x86_64/configure: Regenerated.
57233         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
57234         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
57235         * elf/tst-unique2mod2.c: Likewise.
57236         * elf/tst-unique2mod1.c: Likewise.
57237         * elf/tst-unique1mod2.c: Likewise.
57238         * elf/tst-unique1mod1.c: Likewise.
57239         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57240         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57241         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57242         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57243         * sysdeps/mach/sysdep.h: Likewise.
57244         * sysdeps/i386/sysdep.h: Likewise.
57245         * sysdeps/i386/i386-mcount.S: Likewise.
57246         * sysdeps/x86_64/_mcount.S: Likewise.
57247         * sysdeps/x86_64/sysdep.h: Likewise.
57248         * sysdeps/sh/_mcount.S: Likewise.
57249         * sysdeps/sh/sysdep.h: Likewise.
57250         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
57251         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
57252         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
57253         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57254         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
57255         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
57256         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
57257         * locale/localeinfo.h: Likewise.
57258         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
57259         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
57261 2012-07-09  Roland McGrath  <roland@hack.frob.com>
57263         [BZ #14336]
57264         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
57265         system".
57266         * manual/message.texi (The Uniforum approach): Likewise.
57267         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
57268         (glibc iconv Implementation): Likewise.
57270 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
57272         [BZ #14337]
57273         * math/s_clog.c (__clog): Avoid scaling a value down where that
57274         could result in underflow.
57275         * math/s_clog10.c (__clog10): Likewise.
57276         * math/s_clog10f.c (__clog10f): Likewise.
57277         * math/s_clog10l.c (__clog10l): Likewise.
57278         * math/s_clogf.c (__clogf): Likewise.
57279         * math/s_clogl.c (__clogl): Likewise.
57280         * math/libm-test.inc (clog_test): Add more tests.
57281         (clog10_test): Likewise.
57282         * sysdeps/i386/fpu/libm-test-ulps: Update.
57283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57285 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
57287         [BZ #14283]
57288         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
57289         by 7 not 8 to examine high bit of fractional part.
57291         [BZ #14042]
57292         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
57293         for call to __mcount_internal.
57294         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
57295         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
57296         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
57298 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
57300         [BZ #14154]
57301         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
57302         approximation for values within 0x1p-13f of an odd multiple of
57303         pi/4.
57304         * math/libm-test.inc (tan_test): Do not allow spurious underflow
57305         exception.  Add more tests.
57306         * sysdeps/i386/fpu/libm-test-ulps: Update.
57308         [BZ #6778]
57309         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
57310         inputs and return -1 for them.  Do not check for +Inf in case not
57311         reachable for +Inf.
57312         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57313         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
57314         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57315         and return -1 for them.  Do not check for +Inf in case not
57316         reachable for +Inf.
57317         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
57318         define.
57319         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57320         and return -1 for them.  Do not check for +Inf in case not
57321         reachable for +Inf.
57322         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
57323         spurious underflow.
57324         * sysdeps/i386/fpu/libm-test-ulps: Update.
57325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57327 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
57329         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
57331 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
57333         [BZ #14157]
57334         [BZ #14331]
57335         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
57336         could result in spurious underflow.  Scale down values above
57337         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
57338         * math/s_csqrtf.c (__csqrtf): Likewise.
57339         * math/s_csqrtl.c (__csqrtl): Likewise.
57340         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
57341         spurious underflow.
57342         * sysdeps/i386/fpu/libm-test-ulps: Update.
57343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57345 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
57347         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
57348         xopen-msg.sed.
57349         * catgets/xopen-msg.awk: New file.
57350         * catgets/xopen-msg.sed: Removed.
57352         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
57353         po2text.sed.
57354         * intl/po2test.awk: New file.
57355         * intl/po2test.sed: Removed.
57357 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
57359         [BZ #14328]
57360         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
57361         or multiply small sinh result by itself.
57362         * math/s_ctanf.c (__ctanf): Likewise.
57363         * math/s_ctanh.c (__ctanh): Likewise.
57364         * math/s_ctanhf.c (__ctanhf): Likewise.
57365         * math/s_ctanhl.c (__ctanhl): Likewise.
57366         * math/s_ctanl.c (__ctanl): Likewise.
57367         * math/libm-test.inc (ctan_test_tonearest): New function.
57368         (ctan_test_towardzero): Likewise.
57369         (ctan_test_downward): Likewise.
57370         (ctan_test_upward): Likewise.
57371         (ctanh_test_tonearest): Likewise.
57372         (ctanh_test_towardzero): Likewise.
57373         (ctanh_test_downward): Likewise.
57374         (ctanh_test_upward): Likewise.
57375         (main): Call these new functions.
57376         * sysdeps/i386/fpu/libm-test-ulps: Update.
57377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57379 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
57381         * .gitignore: Delete /ports entry.
57383 2012-07-03  Andreas Jaeger  <aj@suse.de>
57385         * po/bg.po: Update from translation team.
57386         * po/cs.po: Likewise.
57387         * po/de.po: Likewise.
57388         * po/hr.po: Likewise.
57389         * po/nl.pl: Likewise.
57390         * po/pl.po: Likewise.
57391         * po/vi.po: Likewise.
57393 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
57395         * Makeconfig [!+link] (+link-before-libc): New variable.
57396         [!+link] (+link-after-libc): Likewise.
57397         [!+link] (+link-tests): Likewise.
57398         [!+link] (+link): Define in terms of $(+link-before-libc) and
57399         $(+link-after-libc).
57400         [!+link-static] (+link-static-before-libc): New variable.
57401         [!+link-static] (+link-static-after-libc): Likewise.
57402         [!+link-static] (+link-static-tests): Likewise.
57403         [!+link-static] (+link-static): Define in terms of
57404         $(+link-static-before-libc) and $(+link-static-after-libc).
57405         [build-shared] (link-libc-before-gnulib): New variable.
57406         [build-shared] (link-libc-tests): Likewise.
57407         [build-shared] (link-libc): Define in terms of
57408         $(link-libc-before-gnulib).
57409         [!build-shared] (link-libc-tests): New variable.
57410         (link-libc-static-tests): New variable.
57411         [!gnulib] (gnulib-arch): New variable.
57412         [!gnulib] (gnulib-tests): Likewise.
57413         [!gnulib] (static-gnulib-arch): Likewise.
57414         [!gnulib] (static-gnulib-tests): Likewise.
57415         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
57416         Define with "=" instead of ":=".
57417         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
57418         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
57419         * Rules (binaries-all-notests): New variable.
57420         (binaries-all-tests): Likewise.
57421         (binaries-static-notests): Likewise.
57422         (binaries-static-tests): Likewise.
57423         (binaries-all): Define using $(binaries-all-notests) and
57424         $(binaries-all-tests).
57425         (binaries-static): Define using $(binaries-static-notests) and
57426         $(binaries-static-tests).
57427         (binaries-shared-tests): New variable.
57428         (binaries-shared-notests): Likewise.
57429         (binaries-shared): Remove variable.
57430         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
57431         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
57432         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
57433         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
57434         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
57435         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
57436         * elf/Makefile (sln-modules): New variable.
57437         (extra-objs): Add $(sln-modules:=.o).
57438         (ldconfig-modules): Add static-stubs.
57439         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
57440         * elf/static-stubs.c: New file.
57442         [BZ #14283]
57443         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
57444         by 7 not 8 to examine high bit of fractional part.  Use volatile
57445         variables when splitting into final array of floats if
57446         __FLT_EVAL_METHOD__ != 0.
57447         * math/libm-test.inc (cos_test): Add another test.
57448         (sin_test): Likewise.
57449         * sysdeps/i386/fpu/libm-test-ulps: Update.
57451         [BZ #14273]
57452         * math/libm-test.inc (cosh_test): Add more tests.
57454         * version.h (RELEASE): Set to "development".
57455         (VERSION): Set to "2.16.90".
57457 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
57459         * NEWS: Update copyright. Remove last-updated date.
57460         Mention math library bug fixes and timezone data changes.
57461         * README: Mention GNU/Hurd, x32, and HPPA support status.
57463 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
57465         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
57467 2012-06-27  Andreas Jaeger  <aj@suse.de>
57469         * manual/contrib.texi (Contributors): Add Samuel Thibault.
57471 2012-06-25  Andreas Jaeger  <aj@suse.de>
57473         * sysdeps/s390/fpu/libm-test-ulps: Update.
57475 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
57476             Thomas Schwinge  <thomas@codesourcery.com>
57478         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
57479         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
57480         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
57481         fanotify_mark.
57483 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
57485         * sysdeps/mach/start.c: Remove file.
57486         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
57487         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
57488         * sysdeps/sh/init-first.c: Likewise.
57490         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
57491         registers for frame unwinding purposes, add CFI directives.
57492         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57493         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
57494         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
57495         Likewise.
57497         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
57498         __fortify_fail returning.
57499         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57501         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
57502         sysdeps/sh/____longjmp_chk.S.
57503         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
57504         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
57505         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
57506         (gen-as-const-headers): Append sigaltstack-offsets.sym.
57508         * sysdeps/sh/abort-instr.h: New file.
57509         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
57510         process in case exit returns.
57512         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
57513         initialize the GOT register before use.
57515         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
57516         calculation of ARGC > 4.
57518         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
57519         meaningful names to some local labels.
57521 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57522             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57524         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
57525         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
57526         (__arch_compare_and_exchange_val_16_acq): Likewise.
57527         (__arch_compare_and_exchange_val_32_acq): Likewise.
57528         (atomic_exchange_and_add): Fix gUSA sequence.
57529         (atomic_add): Likewise.
57530         (atomic_add_negative): Likewise.
57531         (atomic_add_zero): Likewise.
57532         (atomic_bit_test_set): Likewise.
57534 2012-06-22  Andreas Schwab  <schwab@redhat.com>
57536         [BZ #13579]
57537         * include/link.h (struct link_map): Add l_free_initfini.
57538         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
57539         l_initfini.
57540         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
57541         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
57542         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
57543         set.
57545 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
57547         * configure.in: Use AC_LANG_SOURCE.
57548         * configure: Regenerate.
57550 2012-06-22  Roland McGrath  <roland@hack.frob.com>
57552         * configure.in (libc_cv_localstatedir): New substituted variable.
57553         * configure: Regenerated.
57554         * config.make.in (localstatedir): New variable, substituted from
57555         libc_cv_localstatedir.
57556         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
57557         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
57558         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
57559         * sysdeps/gnu/configure: Regenerated.
57561 2012-06-21  Jeff Law  <law@redhat.com>
57563         [BZ #14277]
57564         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
57565         free.  Simplify list management for _LIBC case.
57567 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
57569         [BZ #14273]
57570         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
57571         Clear sign bit of 64-bit integer value before comparing against
57572         overflow value.
57574         * sysdeps/mach/configure: Regenerated.
57576 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
57578         [BZ #14278]
57579         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
57581 2012-06-21  Jeff Law  <law@redhat.com>
57583         [BZ #13882]
57584         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
57585         uint16_t for elements in the "seen" array to avoid char overflows.
57586         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57587         * elf/dl-open.c (dl_open_worker): Likewise.
57589 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
57591         * scripts/list-sources.sh: Scan PORTS for translations.
57592         * po/libc.pot: Regenerated.
57594 2012-06-21  Andreas Jaeger  <aj@suse.de>
57596         [BZ #12194]
57597         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
57598         warning.
57599         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
57600         * bits/byteswap-16.h (__bswap_16): Likewise.
57601         * bits/byteswap.h (__bswap_constant_16): Likewise.
57603 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
57605         [BZ #14117]
57606         * sysdeps/i386/fpu_control.h: Removed.
57607         * sysdeps/x86_64/fpu_control.h: Moved to ...
57608         * sysdeps/x86/fpu_control.h: Here.
57610         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
57611         (_FPU_SETCW): Likewise.
57613 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
57615         [BZ #14117]
57616         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57617         * sysdeps/x86/fpu/bits/mathinline.h: This.
57618         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57620         [BZ #14050]
57621         [BZ #14117]
57622         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57623         functions if __x86_64__ is defined.
57625 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
57627         * string/endian.h: Add !__ASSEMBLER__ condition for including
57628         conversion interfaces.
57630 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
57632         [BZ #14241]
57633         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57634         of ABS(x) in calculating zero to negative powers other than odd
57635         integers.
57636         * math/libm-test.inc (pow_test): Add more tests.
57638 2012-06-15  Andreas Jaeger  <aj@suse.de>
57640         * manual/contrib.texi (Contributors): Update entry of Liubov
57641         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57642         Machado Filho.
57644 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
57646         * string/string.h: Add __wur to GNU version of strerror_r.
57648 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
57650         [BZ #14229]
57651         * string/Makefile (tests): Add tst-strtok_r.
57652         * string/tst-strtok_r.c: New file.
57653         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57654         RAX_LP/RDX_LP on SAVE_PTR.
57656 2012-06-14  Roland McGrath  <roland@hack.frob.com>
57658         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57660 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
57662         * libm_test.inc (csqrt_test): Allow more spurious underflow
57663         exceptions.
57664         (j0_test): Likewise.
57665         (j1_test): Likewise.
57666         (y0_test): Likewise.
57667         (y1_test): Likewise.
57669 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
57671         * po/Makefile (libc.pot): Use UTF-8 charset.
57673 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
57675         [BZ #14210]
57676         Suppress sign-conversion warning from FD_SET.
57677         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
57678         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
57679         not unsigned long int.
57680         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
57682 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
57684         [BZ #14050]
57685         [BZ #14117]
57686         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
57687         __extern_always_inline instead of __extern_inline.
57688         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
57689         (__signbit): Likewise.
57690         (__signbitl): Support C++ namespace.
57691         (lrintf): New inline function.
57692         (lrint): Likewise.
57693         (llrintf): Likewise.
57694         (llrint): Likewise.
57695         (fmaxf): Likewise.
57696         (fmax): Likewise.
57697         (fminf): Likewise.
57698         (fmin): Likewise.
57699         (rint): Likewise.
57700         (rintf): Likewise.
57701         (ceil): Likewise.
57702         (ceilf): Likewise.
57703         (floor): Likewise.
57704         (floorf): Likewise.
57705         (nearbyint): Likewise.
57706         (nearbyintf): Likewise.
57708 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
57710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57711         non-default versions.
57713 2012-06-11  Roland McGrath  <roland@hack.frob.com>
57715         [BZ #14218]
57716         * manual/argp.texi (Argp): Reword argp_parse description slightly.
57718 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
57720         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57721         (FE_UPWARD, FE_DOWNWARD): Don't define.
57722         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57723         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57725         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57726         reading it.
57727         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57728         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57730 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57732         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57734         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57735         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57737 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
57739         [BZ #14117]
57740         * sysdeps/i386/fpu/bits/fenv.h: Removed.
57741         * sysdeps/i386/fpu/Implies: New file.
57742         * sysdeps/x86_64/fpu/Implies: Likewise.
57743         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57744         * sysdeps/x86/fpu/bits/fenv.h: This.
57746         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57747         __SSE_MATH__.
57749 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57751         [BZ #14134]
57752         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57753         character 0xffff that matches the last element of the
57754         conversion table.
57756 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57758         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57759         fmodl commit.
57761 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57763         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57764         values higher than 25.6283.
57766 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57768         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57769         subnormal exponent extraction and add some __builtin_expect.
57770         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57771         Fix for subnormal mantissa calculation.
57773 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57775         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57776         cpu2 is -1 and errno is not ENOSYS.
57778 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57780         [BZ #14117]
57781         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57782         * sysdeps/x86/bits/string.h: This.
57783         * sysdeps/x86_64/bits/string.h: Removed.
57785         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57786         if not compiling for x86-64, but compiling for >= i486.
57788         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57789         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57791         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57792         New macro from Linux kernel 3.4.0.
57793         (FP_XSTATE_MAGIC2): Likewise.
57794         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57795         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57796         (struct _fpx_sw_bytes): New struct.
57797         (struct _xsave_hdr): Likewise.
57798         (struct _ymmh_state): Likewise.
57799         (struct _xstate): Likewise.
57801         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57802         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57803         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57804         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57805         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57806         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57808         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57809         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57810         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57811         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57812         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57813         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57815 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57817         [BZ #13743]
57818         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57819         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57820         (sysdep_headers): Include sys/platform/ppc.h.
57821         * sysdeps/powerpc/test-gettimebase.c: Test for
57822         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57823         * manual/Makefile (appendices): Include platform.texi.
57824         * manual/contrib.texi (Contributors): Update @node pointers.
57825         * manual/maint.texi (Maintenance): Likewise.
57826         (Platform): New node.
57827         * manual/platform.texi: New file.  Document the new features.
57829 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57830             Jakub Jelinek  <jakub@redhat.com>
57832         [BZ #14188]
57833         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57834         where __builtin_expect is unavailable.
57836 2012-06-03  David S. Miller  <davem@davemloft.net>
57838         * stdlib/longlong.h: Updated from GCC.
57840 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57842         [BZ #14042]
57843         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57844         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57845         __mcount_internal.
57846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57847         (GLIBC_2.16): Likewise.
57849 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57851         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57853 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57856         (default-abi): New variable.
57857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57858         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57859         variable.
57860         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57861         Likewise.
57862         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57863         Likewise.
57864         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57865         Likewise.
57867         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57868         definition.  Document in comment.
57870 2012-06-01  David S. Miller  <davem@davemloft.net>
57872         * stdlib/longlong.h: Updated from GCC.
57874 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57876         [BZ #14117]
57877         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57878         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57879         sys/debugreg.h sys/io.h here.
57880         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57881         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57882         sys/io.h.
57883         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57884         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57885         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57886         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57887         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57888         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57890         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57891         Define only if __x86_64__ is defined.
57893 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57895         [BZ #14048]
57896         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57897         Use int64_t for variable i.
57898         * math/libm-test.inc (fmod_test): Add more tests.
57900         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57901         z computation is not scheduled after fetestexcept.
57902         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57903         Use math_force_eval instead of asm to ensure calculation scheduled
57904         before exception test.
57905         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57906         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57908 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57911         computation is not scheduled after fetestexcept.
57913 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57915         [BZ #14117]
57916         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57917         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57919 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57921         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57922         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57924 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57926         [BZ #14117]
57927         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57928         <bits/wordsize.h>.
57929         (__WCHAR_MIN): Support __WORDSIZE == 64.
57930         (__WCHAR_MAX): Likewise.
57932         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57933         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57935         [BZ #14183]
57936         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57937         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57939         [BZ #14117]
57940         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57941         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57943         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57944         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57946         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57947         Defined to 1 if __x86_64__ isn't defined.
57948         (_STAT_VER_LINUX_OLD): New.
57949         (st_atime): Remove duplicate.
57950         (st_mtime): Likewise.
57951         (st_ctime): Likewise.
57953 2012-05-31  David S. Miller  <davem@davemloft.net>
57955         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57956         entries.
57958 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57960         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57961         gen-libm-test.pl.
57963         [BZ #14132]
57964         * elf/dl-reloc.c: Include <_itoa.h>.
57965         (_dl_reloc_bad_type): Remove use of INTUSE.
57966         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57967         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57968         * stdio-common/psiginfo.c (psiginfo): Likewise.
57969         * stdio-common/psignal.c (psignal): Likewise.
57970         * string/strsignal.c (strsignal): Likewise.
57971         * include/signal.h (_sys_siglist): Declare hidden proto.
57972         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57973         INTVARDEF with libc_hidden_data_def.
57974         * stdio-common/itoa-udigits.c: Likewise.
57975         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57976         (_itoa_lower_digits_internal): Remove declaration.
57977         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57978         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57979         (_sys_sigabbrev_internal): Remove aliases.
57980         (_sys_siglist): Define hidden alias.
57982 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57985         bits/sysctl.h.
57987 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57989         [BZ #14117]
57990         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57991         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57993         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57994         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57995         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57996         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57997         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57998         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58000         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58001         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58002         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58004         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58005         with __addr.
58006         (insw): Likewise.
58007         (insl): Likewise.
58008         (outsb): Likewise.
58009         (outsw): Likewise.
58010         (outsl): Likewise.
58012         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58013         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58014         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58016         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58017         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58018         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58019         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58020         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58021         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58023         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58024         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58026         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58027         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58029         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58030         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58031         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58033         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58034         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58035         to ...
58036         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58038         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58039         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58040         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58042         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58043         for x86-64.
58044         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58046 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58048         * math/math.h (M_El): Use two more decimal places.
58049         (M_LOG2El): Likewise.
58050         (M_LOG10El): Likewise.
58051         (M_LN2l): Likewise.
58052         (M_LN10l): Likewise.
58053         (M_PIl): Likewise.
58054         (M_PI_2l): Likewise.
58055         (M_PI_4l): Likewise.
58056         (M_1_PIl): Likewise.
58057         (M_2_PIl): Likewise.
58058         (M_2_SQRTPIl): Likewise.
58059         (M_SQRT2l): Likewise.
58060         (M_SQRT1_2l): Likewise.
58062 2012-05-31  David S. Miller  <davem@davemloft.net>
58064         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58065         values between float registers.
58066         * sysdeps/sparc/sparc64/memset.S: Likewise.
58067         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58069 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
58071         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58072         -D_FORTIFY_SOURCE=1.
58073         (CPPFLAGS-tst-longjmp_chk.c): Define.
58074         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58075         (CPPFLAGS-tst-longjmp_chk2.c): Define.
58076         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58077         CFLAGS-tst-wchar-h.c.
58079 2012-05-31  Marek Polacek  <polacek@redhat.com>
58081         [BZ #14132]
58082         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58083         __endmntent_internal): Remove declaration.
58084         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58085         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58086         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58088 2012-05-30  David S. Miller  <davem@davemloft.net>
58090         * sysdeps/sparc/sparc32/soft-fp/q_util.c
58091         (___Q_simulate_exceptions): Use real FP ops rather than writing
58092         into the %fsr.
58093         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58094         Likewise.
58096 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58098         [BZ #14117]
58099         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58100         * sysdeps/x86/bits/xtitypes.h: This.
58102         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58103         * sysdeps/x86/bits/wordsize.h: This.
58105         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58106         * sysdeps/x86/bits/huge_vall.h: This.
58108         * sysdeps/i386/bits/select.h: Removed.
58109         * sysdeps/x86_64/bits/select.h: Renamed to ...
58110         * sysdeps/x86/bits/select.h: This.
58112         * sysdeps/i386/bits/setjmp.h: Removed.
58113         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58114         * sysdeps/x86/bits/setjmp.h: This.
58116         * sysdeps/i386/bits/mathdef.h: Removed.
58117         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58118         * sysdeps/x86/bits/mathdef.h: This.
58120 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
58122         [BZ #14132]
58123         * include/sys/socket.h (__connect_internal)
58124         (__libc_sa_len_internal): Remove declaration.
58125         (__connect, __libc_sa_len): Declare hidden_proto.
58126         (SA_LEN): Remove use of INTUSE.
58127         * socket/connect.c: Add libc_hidden_def.
58128         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58129         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
58130         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
58131         alias.
58132         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
58133         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
58134         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
58135         of adding _internal alias.
58137 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58139         [BZ #14117]
58140         * sysdeps/i386/bits/link.h: Removed.
58141         * sysdeps/i386/bits/linkmap.h: Likewise.
58142         * sysdeps/x86_64/bits/link.h: Renamed to ...
58143         * sysdeps/x86/bits/link.h: This.
58144         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
58145         * sysdeps/x86/bits/linkmap.h: This.
58147         * sysdeps/i386/bits/endian.h: Removed.
58148         * sysdeps/x86_64/bits/endian.h: Renamed to ...
58149         * sysdeps/x86/bits/endian.h: This.
58151         * sysdeps/i386/bits/byteswap.h: Removed.
58152         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58153         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
58154         * sysdeps/x86/bits/byteswap.h: This.
58155         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
58156         * sysdeps/x86/bits/byteswap-16.h: This.
58157         * sysdeps/i386/Implies: Add x86.
58158         * sysdeps/x86_64/Implies: Likewise.
58160 2012-05-30  David S. Miller  <davem@davemloft.net>
58162         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
58163         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
58164         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
58165         (FP_TRAPPING_EXCEPTIONS): Define.
58166         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
58167         (FP_TRAPPING_EXCEPTIONS): Define.
58168         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
58169         subnormals only when inexact has been signalled or underflow
58170         exceptions are enabled.
58171         (_FP_PACK_CANONICAL): Likewise.
58173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58175         [BZ #14183]
58176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58177         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
58179 2012-05-30  Richard Henderson  <rth@twiddle.net>
58181         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
58182         with #ifndef NOT_IN_libc.
58184         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
58185         marked to avoid plt entry.
58187 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58189         [BZ #14112]
58190         * Makeconfig (default-abi): New macro.
58191         (abi-includes): Likewise.
58192         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
58193         $(abi-$(default-abi)-lib-soname) for soname if defined.
58194         ($(common-objpfx)gnu/lib-names.stmp): Generate from
58195         abi-variants.
58196         * Makefile (installed-stubs): Likewise.
58197         * include/stubs-biarch.h: Removed.
58198         * scripts/lib-names.awk: Only handle one library at a time.
58199         * scripts/soversions.awk: Remove WORDSIZE support.
58200         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58201         entries.
58202         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
58203         Removed.
58204         (syscall-list-default-condition): Likewise.
58205         (syscall-list-default-condition): Likewise.
58206         (syscall-list-includes): Likewise.
58207         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
58208         syscall-list-* with abi-*.  Handle undefined abi-variants.
58209         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
58210         * sysdeps/unix/sysv/linux/i386/Implies: New file.
58211         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
58212         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
58213         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
58214         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
58215         Removed.
58216         (syscall-list-32-options): Likewise.
58217         (syscall-list-32-condition): Likewise.
58218         (syscall-list-64-options): Likewise.
58219         (syscall-list-64-condition): Likewise.
58220         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
58221         macro.
58222         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
58223         Renamed to ...
58224         (abi-*): This.
58225         (abi-64-ld-soname): New macro.
58226         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
58227         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
58228         Renamed to ...
58229         (abi-*): This.
58230         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
58231         * sysdeps/x86_64/x32/shlib-versions: Likewise.
58233 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
58235         * sysdeps/unix/sysv/linux/kernel-features.h
58236         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
58237         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
58238         include <kernel-features.h>.
58239         [!__NR_ftruncate64]: Remove conditional code.
58240         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58241         [__NR_ftruncate64]: Make code unconditional.
58242         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58243         * sysdeps/unix/sysv/linux/truncate64.c: Do not
58244         include <kernel-features.h>.
58245         [!__NR_ftruncate64]: Remove conditional code.
58246         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58247         [__NR_ftruncate64]: Make code unconditional.
58248         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
58250         include <kernel-features.h>.
58251         [!__NR_ftruncate64]: Remove conditional code.
58252         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58253         [__NR_ftruncate64]: Make code unconditional.
58254         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58256         include <kernel-features.h>.
58257         [!__NR_ftruncate64]: Remove conditional code.
58258         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58259         [__NR_ftruncate64]: Make code unconditional.
58260         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58262         * configure.in (libc_cv_fpie): Weaken to a compile test using
58263         LIBC_TRY_CC_OPTION.
58264         * configure: Regenerated.
58266 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
58269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
58270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
58271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58272         Refreshed.
58273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
58274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
58275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
58276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
58277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
58278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58279         Refreshed.
58281 2012-05-27  David S. Miller  <davem@davemloft.net>
58283         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
58284         (___Q_zero): New.
58285         (__Q_simulate_exceptions): Return void.  Change to simulate
58286         exceptions by writing into the %fsr.
58287         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
58288         (__Qp_handle_exceptions): Likewise.
58289         (numbers): Delete.
58290         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
58291         __Qp_handle_exceptions.
58292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
58293         __Qp_handle_exceptions.
58294         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58295         as unused and give dummy FP_RND_NEAREST initializer.
58296         (FP_INHIBIT_RESULTS): Define.
58297         (___Q_simulate_exceptions): Update declaration.
58298         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
58299         formatting.
58300         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58301         as unused and give dummy FP_RND_NEAREST initializer.
58302         (__Qp_handle_exceptions): Update declaration.
58303         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
58304         formatting.
58306 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
58308         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
58309         the temporary FPU control word.
58310         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
58311         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
58312         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
58313         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58314         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58315         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
58316         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
58317         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58318         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
58319         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
58320         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58322 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58324         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
58325         fields.
58327 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
58329         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
58330         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
58331         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
58332         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
58333         Likewise.
58334         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
58335         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
58336         Likewise.
58338 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
58340         * po/h.po: Update from translation team.
58342 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
58344         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
58346         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
58347         handling of denormals.
58348         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58349         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
58350         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58351         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58352         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
58354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
58355         Likewise.
58357 2012-05-26  Marek Polacek  <polacek@redhat.com>
58359         [BZ #14152]
58360         * math/libm-test.inc (fma_test): Don't always expect underflow
58361         exception.
58363 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58365         [BZ #12416]
58366         * elf/tst-execstack.c: Include stackinfo.h.
58367         (do_test): Adjust test case to ensure that pthread_getattr_np
58368         behaviour remains the same after marking stack executable.
58370 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58372         * sysdeps/unix/sysv/linux/kernel-features.h
58373         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
58374         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
58375         kernel-features.h.
58376         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58377         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58378         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
58379         kernel-features.h.
58380         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58381         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58383 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
58385         * configure.in: Define the default includes to being none.
58386         * configure: Regenerated.
58388 2012-05-25  Roland McGrath  <roland@hack.frob.com>
58390         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
58391         * sysdeps/x86_64/setjmp.S: Likewise.
58392         * sysdeps/i386/bsd-setjmp.S: Likewise.
58393         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58394         * sysdeps/i386/setjmp.S: Likewise.
58395         * sysdeps/i386/__longjmp.S: Likewise.
58396         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58397         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
58399         * include/stap-probe.h: New file.
58400         * configure.in: Handle --enable-systemtap.
58401         * configure: Regenerated.
58402         * config.h.in (USE_STAP_PROBE): New #undef.
58403         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
58404         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
58405         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58407 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58409         [BZ #13717]
58410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58411         to 2.4.0 where earlier.
58412         * sysdeps/unix/sysv/linux/configure: Regenerated.
58413         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58414         <kernel-features.h>.
58415         [__ASSUME_32BITUIDS]: Make code unconditional.
58416         [!__ASSUME_32BITUIDS]: Remove conditional code.
58417         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
58418         <kernel-features.h>.
58419         [__ASSUME_32BITUIDS]: Make code unconditional.
58420         [!__ASSUME_32BITUIDS]: Remove conditional code.
58421         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
58422         [__ASSUME_32BITUIDS]: Make code unconditional.
58423         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
58424         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
58425         <kernel-features.h>.
58426         [__ASSUME_32BITUIDS]: Make code unconditional.
58427         [!__ASSUME_32BITUIDS]: Remove conditional code.
58428         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
58429         <kernel-features.h>.
58430         [__ASSUME_32BITUIDS]: Make code unconditional.
58431         [!__ASSUME_32BITUIDS]: Remove conditional code.
58432         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
58433         <kernel-features.h>.
58434         [__ASSUME_32BITUIDS]: Make code unconditional.
58435         [!__ASSUME_32BITUIDS]: Remove conditional code.
58436         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
58437         <kernel-features.h>.
58438         [__ASSUME_32BITUIDS]: Make code unconditional.
58439         [!__ASSUME_32BITUIDS]: Remove conditional code.
58440         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58441         <kernel-features.h>.
58442         [__ASSUME_32BITUIDS]: Make code unconditional.
58443         [!__ASSUME_32BITUIDS]: Remove conditional code.
58444         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58445         <kernel-features.h>.
58446         [__ASSUME_32BITUIDS]: Make code unconditional.
58447         [!__ASSUME_32BITUIDS]: Remove conditional code.
58448         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
58449         <kernel-features.h>.
58450         [__ASSUME_32BITUIDS]: Make code unconditional.
58451         [!__ASSUME_32BITUIDS]: Remove conditional code.
58452         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58453         <kernel-features.h>.
58454         [__ASSUME_32BITUIDS]: Make code unconditional.
58455         [!__ASSUME_32BITUIDS]: Remove conditional code.
58456         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58457         <kernel-features.h>.
58458         [__ASSUME_32BITUIDS]: Make code unconditional.
58459         [!__ASSUME_32BITUIDS]: Remove conditional code.
58460         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
58461         <kernel-features.h>.
58462         [__ASSUME_32BITUIDS]: Make code unconditional.
58463         [!__ASSUME_32BITUIDS]: Remove conditional code.
58464         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
58465         <kernel-features.h>.
58466         [__NR_setresgid] (__setresgid): Do not declare.
58467         [__ASSUME_32BITUIDS]: Make code unconditional.
58468         [!__ASSUME_32BITUIDS]: Remove conditional code.
58469         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
58470         <kernel-features.h>.
58471         [__NR_setresuid] (__setresuid): Do not declare.
58472         [__ASSUME_32BITUIDS]: Make code unconditional.
58473         [!__ASSUME_32BITUIDS]: Remove conditional code.
58474         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
58475         <kernel-features.h>.
58476         [__ASSUME_32BITUIDS]: Make code unconditional.
58477         [!__ASSUME_32BITUIDS]: Remove conditional code.
58478         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
58479         <kernel-features.h>.
58480         [__ASSUME_32BITUIDS]: Make code unconditional.
58481         [!__ASSUME_32BITUIDS]: Remove conditional code.
58482         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
58483         <kernel-features.h>.
58484         [__ASSUME_32BITUIDS]: Make code unconditional.
58485         [!__ASSUME_32BITUIDS]: Remove conditional code.
58486         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
58487         <kernel-features.h>.
58488         [__ASSUME_32BITUIDS]: Make code unconditional.
58489         [!__ASSUME_32BITUIDS]: Remove conditional code.
58490         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
58491         <kernel-features.h>.
58492         [__ASSUME_32BITUIDS]: Make code unconditional.
58493         [!__ASSUME_32BITUIDS]: Remove conditional code.
58494         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
58495         <kernel-features.h>.
58496         [__ASSUME_32BITUIDS]: Make code unconditional.
58497         [!__ASSUME_32BITUIDS]: Remove conditional code.
58498         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
58499         <kernel-features.h>.
58500         [__ASSUME_32BITUIDS]: Make code unconditional.
58501         [!__ASSUME_32BITUIDS]: Remove conditional code.
58502         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
58503         <kernel-features.h>.
58504         [__ASSUME_32BITUIDS]: Make code unconditional.
58505         [!__ASSUME_32BITUIDS]: Remove conditional code.
58506         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
58507         <kernel-features.h>.
58508         [__ASSUME_32BITUIDS]: Make code unconditional.
58509         [!__ASSUME_32BITUIDS]: Remove conditional code.
58510         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
58515         (__ASSUME_SETRESUID_SYSCALL): Remove.
58516         (__ASSUME_SETRESGID_SYSCALL): Likewise.
58517         (__ASSUME_32BITUIDS): Likewise.
58518         (__ASSUME_LDT_WORKS): Likewise.
58519         (__ASSUME_O_DIRECTORY): Likewise.
58520         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
58521         architecture but not kernel version.
58522         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
58523         (__ASSUME_MMAP2_SYSCALL): Likewise.
58524         (__ASSUME_STAT64_SYSCALL): Likewise.
58525         (__ASSUME_IPC64): Likewise.
58526         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
58527         <kernel-features.h>.
58528         [__ASSUME_32BITUIDS]: Make code unconditional.
58529         [!__ASSUME_32BITUIDS]: Remove conditional code.
58530         * sysdeps/unix/sysv/linux/opendir.c: Do not include
58531         <kernel-features.h>.
58532         [__ASSUME_O_DIRECTORY]: Make code unconditional.
58533         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
58534         132096]: Remove conditional code.
58535         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
58536         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58537         <kernel-features.h>.
58538         [__ASSUME_32BITUIDS]: Make code unconditional.
58539         [!__ASSUME_32BITUIDS]: Remove conditional code.
58540         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58541         <kernel-features.h>.
58542         [__ASSUME_32BITUIDS]: Make code unconditional.
58543         [!__ASSUME_32BITUIDS]: Remove conditional code.
58544         * sysdeps/unix/sysv/linux/setegid.c: Do not include
58545         <kernel-features.h>.
58546         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
58547         unconditional.
58548         (__setresgid): Do not declare.
58549         [__ASSUME_32BITUIDS]: Make code unconditional.
58550         [!__ASSUME_32BITUIDS]: Remove conditional code.
58551         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
58552         <kernel-features.h>.
58553         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
58554         unconditional.
58555         (__setresuid): Do not declare.
58556         [__ASSUME_32BITUIDS]: Make code unconditional.
58557         [!__ASSUME_32BITUIDS]: Remove conditional code.
58558         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58559         <kernel-features.h>.
58560         [__ASSUME_32BITUIDS]: Make code unconditional.
58561         [!__ASSUME_32BITUIDS]: Remove conditional code.
58562         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
58563         <kernel-features.h>.
58564         [__ASSUME_32BITUIDS]: Make code unconditional.
58565         [!__ASSUME_32BITUIDS]: Remove conditional code.
58567 2012-05-25  Richard Henderson  <rth@twiddle.net>
58569         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
58570         dl_hwcap to ifunc resolver.
58571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
58572         elf_ifunc_invoke.
58573         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
58574         dl_hwcap to ifunc resolver.
58575         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
58577 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58579         [BZ #14153]
58580         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
58581         for |x| <= 2**-26, not 2**-57.
58582         * math/libm-test.inc (acos_test): Do not allow spurious underflow
58583         exception.
58585 2012-05-24  Jeff Law  <law@redhat.com>
58587         * stdio-common/Makefile (tests): Add bug25.
58588         * stdio-common/bug25.c: New test.
58590 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58592         [BZ #13576]
58593         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
58594         multiple of MALLOC_ALIGNMENT in size.
58595         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
58597 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58599         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
58600         Require >= 256.
58601         (FILENAME_MAX): Use macro-int-constant.
58602         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
58603         (_IOFBF): Use macro-int-constant.
58604         (_IOLBF): Likewise.
58605         (_IONBF): Likewise.
58606         (SEEK_CUR): Likewise.
58607         (SEEK_END): Likewise.
58608         (SEEK_SET): Likewise.
58609         (TMP_MAX): Likewise.
58610         (EOF): Use macro-int-constant.  Require < 0.
58611         (NULL): Use macro-constant.  Require == 0.
58612         (stdin): Require type to be FILE *.
58613         (stdout): Likewise.
58614         (stderr): Likewise.
58615         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
58616         macro-int-constant.
58617         (EXIT_SUCCESS): Likewise.
58618         (NULL): Use macro-constant.  Require == 0.
58619         (RAND_MAX): Use macro-int-constant.
58620         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58621         [C99-based standards] (strtof): Require function.
58622         [C99-based standards] (strtold): Likewise.
58623         [C99-based standards] (strtoll): Likewise.
58624         [C99-based standards] (strtoull): Likewise.
58625         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58626         [ISO || ISO99 || ISO11] (limits.h): Likewise.
58627         [ISO || ISO99 || ISO11] (math.h): Likewise.
58628         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58629         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58630         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58632 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
58634         [BZ #14132]
58635         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58636         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58637         * intl/dgettext.c (DCGETTEXT): Likewise.
58638         * intl/gettext.c (DCGETTEXT): Likewise.
58639         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58640         * posix/regex_internal.h (gettext): Likewise.
58641         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58642         Remove declaration.
58643         * include/argz.h (__argz_count_internal)
58644         (__argz_stringify_internal): Remove declaration.
58645         (__argz_count, __argz_stringify): Declare hidden proto.
58646         * intl/dcgettext.c: Remove use of INTDEF.
58647         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58648         * string/argz-stringify.c: Likewise.
58649         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58650         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58651         Declare hidden proto.
58652         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58653         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58654         Declare hidden proto.
58655         * include/stdio.h (__asprintf_internal): Don't declare.
58656         (__asprintf): Don't define as macro.  Declare hidden proto.
58657         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58658         (__fsetlocking): Declare hidden proto.
58659         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58660         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
58661         hidden proto.
58662         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
58663         (_IO_setlinebuf): Remove use of INTUSE.
58664         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
58665         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
58666         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
58667         Remove declaration.
58668         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
58669         (_IO_do_flush): Remove use of INTUSE.
58670         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
58671         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
58672         (_IO_adjust_column, _IO_least_wmarker)
58673         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
58674         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
58675         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
58676         (_IO_default_doallocate, _IO_wdefault_doallocate)
58677         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
58678         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
58679         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
58680         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
58681         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
58682         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
58683         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
58684         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
58685         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
58686         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
58687         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
58688         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
58689         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
58690         proto.
58691         (_IO_flush_all_internal, _IO_adjust_column_internal)
58692         (_IO_default_uflow_internal, _IO_default_finish_internal)
58693         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
58694         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
58695         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
58696         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
58697         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
58698         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
58699         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
58700         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
58701         (_IO_file_close_internal, _IO_file_close_it_internal)
58702         (_IO_file_underflow_internal, _IO_file_overflow_internal)
58703         (_IO_file_init_internal, _IO_file_attach_internal)
58704         (_IO_file_fopen_internal, _IO_file_read_internal)
58705         (_IO_file_sync_internal, _IO_file_seek_internal)
58706         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58707         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58708         (_IO_str_underflow_internal, _IO_str_overflow_internal)
58709         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58710         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58711         (_IO_list_all_internal, _IO_link_in_internal)
58712         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58713         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58714         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58715         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58716         (_IO_do_write_internal, _IO_padn_internal)
58717         (_IO_getline_info_internal, _IO_getline_internal)
58718         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58719         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58720         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58721         (_IO_vfscanf_internal, _IO_vfprintf_internal)
58722         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58723         (_IO_init_internal, _IO_un_link_internal): Don't declare.
58724         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58725         with libc_hidden_ver, remove use of INTUSE.
58726         * libio/genops.c: Likewise.
58727         * libio/freopen.c: Likewise.
58728         * libio/freopen64.c: Likewise.
58729         * libio/iofclose.c: Likewise.
58730         * libio/iofdopen.c: Likewise.
58731         * libio/iofflush.c: Likewise.
58732         * libio/iofflush_u.c: Likewise.
58733         * libio/iofgets.c: Likewise.
58734         * libio/iofgets_u.c: Likewise.
58735         * libio/iofopen.c: Likewise.
58736         * libio/iofopncook.c: Likewise.
58737         * libio/iofread.c: Likewise.
58738         * libio/iofread_u.c: Likewise.
58739         * libio/ioftell.c: Likewise.
58740         * libio/iofwrite.c: Likewise.
58741         * libio/iogetline.c: Likewise.
58742         * libio/iogets.c: Likewise.
58743         * libio/iogetwline.c: Likewise.
58744         * libio/iopadn.c: Likewise.
58745         * libio/iopopen.c: Likewise.
58746         * libio/ioseekoff.c: Likewise.
58747         * libio/ioseekpos.c: Likewise.
58748         * libio/iosetbuffer.c: Likewise.
58749         * libio/iosetvbuf.c: Likewise.
58750         * libio/ioungetc.c: Likewise.
58751         * libio/ioungetwc.c: Likewise.
58752         * libio/iovdprintf.c: Likewise.
58753         * libio/iovsprintf.c: Likewise.
58754         * libio/iovsscanf.c: Likewise.
58755         * libio/memstream.c: Likewise.
58756         * libio/obprintf.c: Likewise.
58757         * libio/oldfileops.c: Likewise.
58758         * libio/oldiofclose.c: Likewise.
58759         * libio/oldiofdopen.c: Likewise.
58760         * libio/oldiofopen.c: Likewise.
58761         * libio/oldiopopen.c: Likewise.
58762         * libio/oldstdfiles.c: Likewise.
58763         * libio/putc.c: Likewise.
58764         * libio/setbuf.c: Likewise.
58765         * libio/setlinebuf.c: Likewise.
58766         * libio/stdfiles.c: Likewise.
58767         * libio/strops.c: Likewise.
58768         * libio/vasprintf.c: Likewise.
58769         * libio/vscanf.c: Likewise.
58770         * libio/vsnprintf.c: Likewise.
58771         * libio/vswprintf.c: Likewise.
58772         * libio/wfiledoalloc.c: Likewise.
58773         * libio/wfileops.c: Likewise.
58774         * libio/wgenops.c: Likewise.
58775         * libio/wmemstream.c: Likewise.
58776         * libio/wstrops.c: Likewise.
58777         * libio/__fpurge.c: Likewise.
58778         * libio/__fsetlocking.c: Likewise.
58779         * assert/assert.c: Likewise.
58780         * debug/fgets_chk.c: Likewise.
58781         * debug/fgets_u_chk.c: Likewise.
58782         * debug/fread_chk.c: Likewise.
58783         * debug/fread_u_chk.c: Likewise.
58784         * debug/gets_chk.c: Likewise.
58785         * debug/obprintf_chk.c: Likewise.
58786         * debug/vasprintf_chk.c: Likewise.
58787         * debug/vdprintf_chk.c: Likewise.
58788         * debug/vsnprintf_chk.c: Likewise.
58789         * debug/vsprintf_chk.c: Likewise.
58790         * malloc/mtrace.c: Likewise.
58791         * misc/error.c: Likewise.
58792         * misc/syslog.c: Likewise.
58793         * stdio-common/asprintf.c: Likewise.
58794         * stdio-common/fxprintf.c: Likewise.
58795         * stdio-common/getw.c: Likewise.
58796         * stdio-common/isoc99_fscanf.c: Likewise.
58797         * stdio-common/isoc99_scanf.c: Likewise.
58798         * stdio-common/isoc99_vfscanf.c: Likewise.
58799         * stdio-common/isoc99_vscanf.c: Likewise.
58800         * stdio-common/isoc99_vsscanf.c: Likewise.
58801         * stdio-common/printf-prs.c: Likewise.
58802         * stdio-common/printf_fp.c: Likewise.
58803         * stdio-common/printf_fphex.c: Likewise.
58804         * stdio-common/printf_size.c: Likewise.
58805         * stdio-common/putw.c: Likewise.
58806         * stdio-common/scanf.c: Likewise.
58807         * stdio-common/sprintf.c: Likewise.
58808         * stdio-common/tmpfile.c: Likewise.
58809         * stdio-common/vfprintf.c: Likewise.
58810         * stdio-common/vfscanf.c: Likewise.
58811         * stdlib/strfmon_l.c: Likewise.
58812         * sunrpc/openchild.c: Likewise.
58813         * sunrpc/xdr_stdio.c: Likewise.
58814         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58815         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58817 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58819         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58821         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58822         in the third column, to generate for the shared library an IFUNC
58823         that uses _dl_vdso_vsym.
58824         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58825         * Makeconfig (object-suffixes-noshared): New variable.
58827         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58828         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58829         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58830         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58832         [BZ #14132]
58833         * include/sys/time.h (__gettimeofday): Remove macro.
58834         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58835         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58836         Remove INTDEF.
58837         (__gettimeofday): Add libc_hidden_def.
58838         (gettimeofday): Add libc_hidden_weak.
58839         * sysdeps/mach/gettimeofday.c: Likewise.
58840         * sysdeps/posix/gettimeofday.c: Likewise.
58841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58842         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58843         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58844         (__gettimeofday_internal): Remove strong_alias.
58845         (__gettimeofday): Add libc_hidden_def.
58846         (gettimeofday): Add libc_hidden_weak.
58847         * sysdeps/unix/syscalls.list (gettimeofday):
58848         Remove __gettimeofday_internal alias.
58850 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58851             H.J. Lu  <hongjiu.lu@intel.com>
58853         [BZ #12495]
58854         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58855         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58856         (largebin_index_32_big): New.
58857         (largebin_index): Use it for 16-byte alignment.
58858         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58859         correction with front_misalign.
58861 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58865         Likewise.
58866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58867         Likewise.
58868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58869         Likewise.
58870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58871         Likewise.
58872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58873         Likewise.
58874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58875         Likewise.
58876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58877         Likewise.
58878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58879         Likewise.
58880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58881         Likewise.
58882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58883         Likewise.
58884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58885         Likewise.
58886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58887         Likewise.
58889         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58890         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58892 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58894         [BZ #10846]
58895         [BZ #14036]
58896         * math/libm-test.inc (exp_test): Add test from bug 14036.
58897         (pow_test): Add test from bug 10846.
58899         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58900         and other flags.
58901         (special_function): Do not include flags in test name.
58902         (parse_args): Likewise.
58903         * sysdeps/i386/fpu/libm-test-ulps: Update.
58904         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58905         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58906         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58909         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58910         exceptions.
58911         * math/libm-test.inc ("Philosophy"): Update comment about
58912         exception testing.
58913         (UNDERFLOW_EXCEPTION): New macro.
58914         (UNDERFLOW_EXCEPTION_OK): Likewise.
58915         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58916         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58917         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58918         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58919         (INVALID_EXCEPTION_OK): Update value.
58920         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58921         (OVERFLOW_EXCEPTION_OK): Likewise.
58922         (IGNORE_ZERO_INF_SIGN): Likewise.
58923         (test_exceptions): Handle underflow exceptions.
58924         (acos_test): Update for underflow exception expectations.
58925         (cexp_test): Likewise.
58926         (clog_test): Likewise.
58927         (clog10_test): Likewise.
58928         (csqrt_test): Likewise.
58929         (ctan_test): Likewise.
58930         (ctanh_test): Likewise.
58931         (exp_test): Likewise.
58932         (exp10_test): Likewise.
58933         (exp2_test): Likewise.
58934         (expm1_test): Likewise.
58935         (fma_test): Likewise.
58936         (j0_test): Likewise.
58937         (jn_test): Likewise.
58938         (nexttoward_test): Likewise.
58939         (pow_test): Likewise.
58940         (scalbn_test): Likewise.
58941         (scalbln_test): Likewise.
58942         (tan_test): Likewise.
58943         (y1_test): Likewise.
58944         * sysdeps/i386/fpu/libm-test-ulps: Update.
58945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58947 2012-05-23  David S. Miller  <davem@davemloft.net>
58949         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58950         (__libc_sigaction): Remove unused local variables.
58952 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58954         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58956 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58958         mktime: avoid signed integer overflow
58959         * time/mktime.c (__mktime_internal): Do not mishandle the case
58960         where diff == INT_MIN.
58962         mktime: simplify computation of average
58963         * time/mktime.c (ranged_convert): Use new time_t_avg function
58964         instead of rolling our own (probably-slower) code.
58966         mktime: do not assume signed right shift propagates sign bit
58967         * time/mktime.c (isdst_differ): New static function.
58968         (__mktime_internal): No need to normalize tm_isdst now.
58969         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58970         tm_isdst values.
58972         mktime: merge another wrapv change from gnulib
58973         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58974         from some compilers.
58976         mktime: remove incorrect attempt at unusual arithmetics
58977         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58978         The code didn't really work on such machines anyway.
58979         (TYPE_MINIMUM): Assume two's complement.
58980         (twos_complement_arithmetic): Verify that long_int and time_t
58981         are two's complement (or unsigned, in the latter case).
58983         mktime: check signed shifts on long_int and time_t, too
58984         * time/mktime.c (SHR): Check that shifts work as desired
58985         on the types long_int and time_t too, as SHR is used on
58986         such types.
58988         mktime: do not assume 'long' is wide enough
58989         * time/mktime.c (verify): Move decl up.
58990         (long_int): New type.
58991         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58992         to remove assumption in the code that 'long' is wide enough to
58993         store year values.  This assumption is not true on x32 and on
58994         some non-glibc platforms.
58996         mktime: merge wrapv change from gnulib
58997         * time/mktime.c (WRAPV): New macro.
58998         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58999         (guess_time_tm, __mktime_internal): Do not assume that signed
59000         integer overflow wraps around; modern compilers generate code
59001         where this assumption is no longer valid.
59003 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59005         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59006         Replace "jmp L(pseudo_end)" with "ret".
59007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59008         Likewise.
59010 2012-05-23  Andreas Jaeger  <aj@suse.de>
59012         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59013         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59015 2012-05-23  Andreas Jaeger  <aj@suse.de>
59016             Maximilian Attems  <max@stro.at>
59018         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59019         New macros.
59021 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59024         code so that pseudo_end is just ret and the stack pointer is
59025         correct also for static library in error case.
59027 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
59029         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59030         move to syscalls.list.
59031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59036         * manual/install.texi (Running make install): Do not mention Linux
59037         kernel version for which pt_chown is not needed.
59038         (Linux): Do not mention problems with nscd with 2.0 kernels.
59039         * INSTALL: Regenerated.
59041 2012-05-23  Andreas Jaeger  <aj@suse.de>
59043         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59044         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59045         macro.
59046         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59047         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59048         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59049         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59050         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59051         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59052         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59053         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59054         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59055         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59056         * sysdeps/unix/sysv/linux/bits/in.h
59057         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59059 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59061         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59062         (PREPARE_VERSION): Just use assert instead, it will be elided
59063         under [NDEBUG] anyway.
59065 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59067         * sysdeps/unix/sysv/linux/Makefile: Include
59068         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59069         (sysdep_routines): Remove sysctl.
59070         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59071         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59072         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59073         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59074         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59076 2012-05-22  Andreas Jaeger  <aj@suse.de>
59078         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59079         that pseudo_end is just ret and the stack pointer is correct also
59080         for static library in error case.
59082 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
59084         [BZ #14122]
59085         * nss/nsswitch.c (defconfig_entries): New variable.
59086         (__nss_database_lookup): Don't leak defconfig entries.
59087         (nss_parse_service_list): Don't leak on error paths.
59088         (free_database_entries): New function.
59089         (free_defconfig): New function.
59090         (free_mem): Move common code to free_database_entries.
59092 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59094         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59095         Add arch_prctl.
59096         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59098         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59099         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59101         New macro.
59102         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59103         (INTERNAL_SYSCALL_TYPES): Likewise.
59104         (LOAD_ARGS_TYPES_[1-6]): Likewise.
59105         (LOAD_REGS_TYPES_[1-6]): Likewise.
59106         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59107         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59109 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59111         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59112         copysignl for GLIBC_2_0.
59113         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59114         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59116         logbl for GLIBC_2_0.
59117         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59118         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59120 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59122         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59123         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59125         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59126         Use "neg %eax".
59128         * time/mktime.c: Update copyright years.
59130 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
59132         mktime: merge comment-quoting-style change from gnulib
59133         * time/mktime.c: Quote 'like this' in comments.
59134         The GNU coding standards suggest that we no longer quote `like this',
59135         as "`" and "'" are typically rendered asymmetrically nowadays.
59136         The typical gnulib style is to quote 'like this' when quoting
59137         code, and "like this" when quoting English.
59139         * time/mktime.c (compile-command): Add "-I.".
59141         mktime: merge mktime-internal.h change from gnulib
59142         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
59144         mktime: merge time_r change from gnulib
59145         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
59147         mktime: merge DEBUG change from gnulib
59148         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
59149         case system <time.h> has a #define.
59151         mktime: merge <sys/types.h> change from gnulib
59152         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
59153         since <time.t> is now guaranteed to define time_t.
59155         mktime: merge HAVE_CONFIG_H change from gnulib
59156         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
59158 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59161         Use "neg %eax".
59163         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
59164         __rlim_t cast.
59165         (struct rusage): Use anonymous union to pad each field to
59166         __syscall_slong_t.
59168 2012-05-21  David S. Miller  <davem@davemloft.net>
59170         * Makefules (o-iterator): Remove .s cases.
59171         (compile-command.s): Delete.
59172         (COMPILE.s): Delete.
59173         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
59175 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
59177         * configure.in (libc_cv_predef_stack_protector): Only consider
59178         "foobar" and "__stack_chk_fail" lines in libc_undefs.
59179         * configure: Regenerated.
59181 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59184         New macro.  Use R*LP on int and pointer.
59185         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
59186         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
59187         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
59188         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
59190         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
59191         [__WORDSIZE_TIME64_COMPAT32] instead of
59192         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
59193         (struct utmp): Likewise.
59194         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
59195         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
59196         Renamed to ...
59197         (__WORDSIZE_TIME64_COMPAT32): This.
59198         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
59199         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59200         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
59201         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
59202         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59203         (__WORDSIZE_TIME64_COMPAT32): New macro.
59205 2012-05-21  Andreas Jaeger  <aj@suse.de>
59207         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
59208         only if [SHARED]. Add prototype for __wcschr_ia32.
59210 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59212         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
59213         of %rbp unmolested in the jmp_buf while mangling the low bits.
59214         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
59215         unmolested high bits of %rbp while demangling the low bits.
59216         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59218 2012-05-21  Andreas Jaeger  <aj@suse.de>
59220         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
59221         * sunrpc/svc_simple.c: Use it for registerrpc.
59222         * sunrpc/xcrypt.c: Use it for passwd2des.
59224         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
59226 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59228         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
59229         Don't define if [__SYSCALL_WORDSIZE != 32].
59230         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
59231         New macro.
59233 2012-05-21  Bruno Haible  <bruno@clisp.org>
59234             Andreas Jaeger  <aj@suse.de>
59236         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
59237         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
59238         inptr and inend for must_buffer_ch.
59239         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
59240         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
59241         * stdio-common/Makefile (tests): Remove bug15.
59242         (bug15-ENV): Remove macro.
59243         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
59244         anymore.
59246 2012-05-19  Andreas Jaeger  <aj@suse.de>
59247             Roland McGrath  <roland@hack.frob.com>
59249         * manual/contrib.texi: Completely rewritten. It contains now an
59250         alphabetical list of contributors and their contributions.
59252 2012-05-21  Richard Henderson  <rth@twiddle.net>
59254         * misc/getauxval.c (__getauxval): Use unsigned long int.
59255         * misc/sys/auxv.h: Include <sys/cdefs.h>.
59256         (getauxval): Use unsigned long int.
59258 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59260         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59262 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59264         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
59265         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
59266         __alignof__ (long double).
59268 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59272 2012-05-20  Richard Henderson  <rth@twiddle.net>
59274         * misc/getauxval.c: New file.
59275         * misc/sys/auxv.h: New file.
59276         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
59277         (routines): Add getauxval.
59278         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
59279         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
59280         * elf/dl-sysdep.c (_dl_auxv): Remove.
59281         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
59282         * elf/dl-support.c (_dl_auxv): New variable.
59283         (_dl_aux_init): Initialize it.
59284         * manual/startup.texi (Auxiliary Vector): New node.
59285         * sysdeps/generic/bits/hwcap.h: New file.
59286         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
59287         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
59288         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
59289         * sysdeps/sparc/sysdep.h: ... here.  Include it.
59290         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
59291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
59292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59293         Update.
59294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
59295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
59296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
59297         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
59298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
59301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
59303 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59307 2012-05-19  David S. Miller  <davem@davemloft.net>
59309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59311 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59313         [BZ #14123]
59314         * math/s_ccosh.c: Include <float.h>
59315         (__ccosh): Avoid internal overflow calculating sinh and cosh
59316         values before multiplying by sin and cos values.
59317         * math/s_ccoshf.c: Likewise.
59318         * math/s_ccoshl.c: Likewise.
59319         * math/s_csin.c: Likewise.
59320         * math/s_csinf.c: Likewise.
59321         * math/s_csinl.c: Likewise.
59322         * math/s_csinh.c: Likewise.
59323         * math/s_csinhf.c: Likewise.
59324         * math/s_csinhl.c: Likewise.
59325         * math/libm-test.inc (ccos_test): Add more tests.
59326         (ccosh_test): Likewise.
59327         (csin_test): Likewise.
59328         (csinh_test): Likewise.
59329         * sysdeps/i386/fpu/libm-test-ulps: Update.
59330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59332 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
59334         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
59335         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
59337         * sysdeps/x86_64/x32/_itoa.h: Add comment.
59339 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59341         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
59342         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
59343         * sysdeps/powerpc/soft-fp/Versions: Likewise.
59344         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
59345         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
59346         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
59347         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
59348         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
59349         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
59350         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
59351         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
59352         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
59353         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
59354         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
59355         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
59356         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
59357         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
59358         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
59359         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
59360         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
59361         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
59362         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
59363         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
59364         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
59365         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
59366         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
59367         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
59368         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
59369         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
59370         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
59371         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
59373 2012-05-18  Andreas Jaeger  <aj@suse.de>
59375         * csu/.gitignore: Delete.
59377 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59379         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
59380         (timex): Use __syscall_slong_t.
59382 2012-05-18  Andreas Jaeger  <aj@suse.de>
59383             Carlos O'Donell  <carlos_odonell@mentor.com>
59385         * manual/install.texi (Configuring and compiling): Update
59386         description about files modified in the source directory.
59387         * INSTALL: Regenerated.
59389 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59391         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
59392         value.  Use "or" to set return value to -1.
59393         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
59394         negate return value.
59396 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59398         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
59399         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
59400         failure if the compiler has Graphite support disabled.
59401         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
59402         Likewise.
59403         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
59404         (CFLAGS-memmove.c): Likewise.
59405         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
59406         Likewise.
59408 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59410         * sysdeps/x86_64/x32/_itoa.h: New file.
59412         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
59413         getdents system call only if kernel and user dirents have the
59414         same d_ino and d_off.
59416         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59417         LLONG_MAX != LONG_MAX.
59418         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59419         (_fitoa_word): Likewise.
59421         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
59422         years.
59423         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
59424         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
59425         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
59427         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
59428         include <bits/wordsize.h>.  Check __x86_64__ instead of
59429         __WORDSIZE.
59430         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
59431         if __x86_64__ is defined.  Use anonymous union on fpstate.
59433         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
59434         anonymous union.
59436 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
59438         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
59439         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
59440         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
59441         Refer to _rtld_local_ro instead of _rtld_global_ro.
59442         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
59443         Likewise.
59444         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
59445         Likewise.
59446         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
59447         Likewise.
59448         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
59449         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
59450         of _rtld_global, and rtld_progname instead of _dl_argv[0].
59452         [BZ #10882]
59453         * sysdeps/powerpc/powerpc32/dl-machine.c
59454         (__elf_machine_runtime_setup) [PROF]: Don't reference
59455         _dl_prof_resolve.
59457 2012-05-18  Andreas Jaeger  <aj@suse.de>
59459         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
59460         function only available for GCCs before 3.4 since GCC 3.4
59461         introduced a builtin.
59462         (lrint): Likewise.
59463         (llrintf): Likewise.
59464         (llrint): Likewise.
59465         (fmaxf): Likewise.
59466         (fmax): Likewise.
59467         (fminf): Likewise.
59468         (fmin): Likewise.
59469         (rint): Likewise.
59470         (rintf): Likewise.
59471         (nearbyint): Likewise.
59472         (nearbyintf): Likewise.
59473         (ceil): Likewise.
59474         (ceilf): Likewise.
59475         (floor): Likewise.
59476         (floorf): Likewise.
59478 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59480         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
59481         on both fields and cast pointer to __syscall_ulong_t.
59483         * bits/types.h (__fsword_t): New type.
59484         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
59485         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
59486         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59487         (__FSWORD_T_TYPE): Likewise.
59488         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59489         (__FSWORD_T_TYPE): Likewise.
59490         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59491         (__FSWORD_T_TYPE): Likewise.
59492         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
59493         (__FSWORD_T_TYPE): Likewise.
59494         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
59495         __SWORD_TYPE with __fsword_t.
59496         (statfs64): Likewise.
59498 2012-05-17  David S. Miller  <davem@davemloft.net>
59500         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
59502 2012-05-17  Andreas Jaeger  <aj@suse.de>
59504         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
59505         warning.
59507 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59509         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
59511 2012-05-17  Andreas Jaeger  <aj@suse.de>
59513         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
59514         when it is used.
59516 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59518         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
59520 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59522         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
59523         * sysdeps/x86_64/tst-mallocalign1.c: New file.
59525 2012-05-17  Andreas Jaeger  <aj@suse.de>
59526             Carlos O'Donell  <carlos_odonell@mentor.com>
59528         [BZ #14059]
59529         * sysdeps/x86_64/multiarch/init-arch.h
59530         (bit_YMM_Usable): Rename to...
59531         (bit_AVX_Usable): ... this.
59532         (bit_FMA4_Usable): New macro.
59533         (bit_XMM_state): New macro.
59534         (bit_YMM_state): New macro.
59535         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
59536         [__ASSEMBLER__] (index_AVX_Usable): ... this.
59537         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
59538         (CPUID_OSXSAVE): New macro.
59539         (CPUID_AVX): New macro.
59540         (CPUID_FMA4): New macro.
59541         (index_YMM_Usable): Rename to...
59542         (index_AVX_Usable): ... this.
59543         (HAS_AVX): Use HAS_ARCH_FEATURE.
59544         (HAS_FMA4): Likewise.
59545         (HAS_YMM_USABLE): Remove.
59546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59547         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
59548         are present.
59549         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
59550         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
59551         * sysdeps/x86_64/multiarch/Makefile: Likewise.
59552         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
59553         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
59555 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59557         * math/libm-test.c: Support platforms without multiple rounding modes.
59558         * math/bug-nextafter.c: Support platforms without FP exceptions.
59559         * math/bug-nexttoward.c: Likewise.
59560         * math/test-fenv.c: Likewise.
59561         * math/test-misc.c: Likewise.
59562         * stdlib/bug-getcontext.c: Likewise.
59564 2012-05-17  Andreas Jaeger  <aj@suse.de>
59566         * manual/examples/search.c (critter_cmp): Change signature to
59567         avoid warnings.
59568         * manual/string.texi (Collation Functions): Likewise.
59570 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59572         * bits/types.h: Fold copyright years.
59573         * bits/typesizes.h: Likewise.
59574         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
59575         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59576         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
59577         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
59578         * time/time.h: Likewise.
59580 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
59582         [BZ #208]
59583         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
59584         in instead of returning them.  Return void.
59585         (__libc_mallinfo): Accumulate over all arenas.
59586         (__malloc_stats): Adjust for change in int_mallinfo interface.
59588 2012-05-16  Roland McGrath  <roland@hack.frob.com>
59590         [BZ #10375]
59591         * configure.in (NM): Add AC_CHECK_TOOL for it.
59592         (libc_extra_cflags): New substituted variable.
59593         Check for -fstack-protector being used implicitly.
59594         * configure: Regenerated.
59595         * config.make.in (config-extra-cflags): New variable,
59596         gets @libc_extra_cflags@.
59597         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
59599         [BZ #10375]
59600         * configure.in: Check for _FORTIFY_SOURCE being predefined.
59601         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
59602         * configure: Regenerated.
59603         * config.make.in (CPPUNDEFS): New substituted variable.
59604         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
59605         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
59606         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
59608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59610         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
59611         (mq_attr): Use __syscall_slong_t.
59613 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59615         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
59616         Check __x86_64__ instead of __WORDSIZE.
59617         (_STAT_VER_LINUX): Likewise.
59618         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
59619         __syscall_ulong_t and __syscall_slong_t.
59620         (stat64): Likewise.
59622 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59624         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59626 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59628         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59630 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59632         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59633         __syscall_ulong_t.
59635         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59636         include <bits/wordsize.h>.  Check __x86_64__ instead of
59637         __WORDSIZE.
59638         (greg_t): Use "__extension__ long long int" if __x86_64__ is
59639         defined.
59640         (mcontext_t): Replace "unsigned long" with "unsigned long long".
59642         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59643         include <bits/wordsize.h>.  Check __x86_64__ instead of
59644         __WORDSIZE.
59645         (user_regs_struct): Use "__extension__ unsigned long long"
59646         instead of "unsigned long" if __x86_64__ is defined.
59647         (user): Likewise.  Pad after pointer field if __ILP32__ is
59648         defined.
59650 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
59652         * configure.in (makeinfo): Require version 4.5 or later.  Allow
59653         versions 5 to 9.
59654         * configure: Regenerated.
59655         * manual/install.texi (texinfo): Increase version requirement to
59656         4.5 or later.
59657         * INSTALL: Regenerated.
59659         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59663         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
59665         * sysdeps/x86_64/x32/ffs.c: New file.
59667         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
59668         __syscall_ulong_t.
59669         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
59670         defined.  Use __syscall_ulong_t.
59671         (shminfo): Use __syscall_ulong_t.
59672         (shm_info): Likewise.
59674         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
59675         __syscall_ulong_t.
59677         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
59678         <bits/wordsize.h>.
59679         (msgqnum_t): Use __syscall_ulong_t.
59680         (msglen_t): Likewise.
59681         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
59682         __syscall_ulong_t.
59684         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
59685         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59687         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
59689         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
59690         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
59692         * sysvipc/sys/msg.h (msgbuf): Replace long int with
59693         __syscall_slong_t.
59695         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
59696         include <bits/wordsize.h>.  Check __x86_64__ instead of
59697         __WORDSIZE.
59699         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
59700         "unsigned long long int" if __x86_64__ is defined.
59701         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
59703         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59704         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59705         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59707         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59708         <stdint.h>.
59709         (GET_PC): Cast to uintptr_t first.
59710         (GET_FRAME): Likewise.
59711         (GET_STACK): Likewise.
59713         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59714         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59715         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59716         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59717         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59718         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59719         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59720         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59721         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59723         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59724         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59725         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59726         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59727         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59728         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59729         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59730         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59731         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59732         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59733         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59734         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59735         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59736         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59737         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59738         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59739         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59740         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59741         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59743 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
59745         * Makerules (+depfiles): Also collect depfiles from .oS in
59746         $(extra-objs).
59747         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59748         .oS, $(libnldbl-routines)).
59750         * Makerules (native-compile-mkdep-flags): Define.
59751         * sunrpc/Makefile (extra-objs): Add $(addprefix
59752         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59753         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59754         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
59755         calling $(make-target-directory).
59757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59759         * bits/types.h (__snseconds_t): Removed.
59760         * time/time.h (struct timespec): Replace __snseconds_t with
59761         __syscall_slong_t.
59762         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59763         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59764         Likewise.
59765         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59766         (__SNSECONDS_T_TYPE): Likewise.
59767         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59768         (__SNSECONDS_T_TYPE): Likewise.
59769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59770         (__SNSECONDS_T_TYPE): Likewise.
59772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59774         * sysdeps/mach/hurd/bits/typesizes.h
59775         (__SYSCALL_SLONG_TYPE): New macro.
59776         (__SYSCALL_ULONG_TYPE): Likewise.
59778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59780         * bits/types.h (__syscall_slong_t): New type.
59781         (__syscall_ulong_t): Likewise.
59783         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59784         (__SYSCALL_ULONG_TYPE): Likewise.
59785         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59786         (__SYSCALL_SLONG_TYPE): Likewise.
59787         (__SYSCALL_ULONG_TYPE): Likewise.
59788         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59789         (__SYSCALL_SLONG_TYPE): Likewise.
59790         (__SYSCALL_ULONG_TYPE): Likewise.
59791         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59792         (__SYSCALL_SLONG_TYPE): Likewise.
59793         (__SYSCALL_ULONG_TYPE): Likewise.
59795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59797         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59798         Add sigaltstack-offsets.sym.
59799         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59800         <sigaltstack-offsets.h>.
59801         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59802         longjmp_msg pointer.
59803         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59804         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59805         signal stack.
59806         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59808 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59810         * elf/stackguard-macros.h: Remove file.
59811         * sysdeps/generic/stackguard-macros.h: New file.
59812         * sysdeps/i386/stackguard-macros.h: Likewise.
59813         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59814         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59815         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59816         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59817         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59818         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59819         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59820         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59821         <elf/stackguard-macros.h>.
59823         [BZ #14109]
59824         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59825         __aligned__ in attribute.
59826         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59827         (gregset_t): Likewise.
59829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59831         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59832         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59833         * sysdeps/x86_64/x32/Implies-after: New file.
59835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59837         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59838         and access return value for _dl_profile_fixup.  Use R10_LP to
59839         load frame size.
59841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59843         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59847         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59848         * sysdeps/x86_64/x32/sysdep.h: New file.
59850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59852         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59853         * sysdeps/x86_64/setjmp.S: Likewise.
59855 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59857         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59858         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59859         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59860         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59861         remove unused global constant.
59863 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59865         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59866         include of <not-cancel.h>.
59868 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59870         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59872 2012-05-15  Jeff Law  <law@redhat.com>
59873             Andreas Jaeger  <aj@suse.de>
59875         [BZ #13594]
59876         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59877         out from...
59878         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59879         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59880         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59881         code changing __hst_map_handle.map.
59883 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59885         * configure.in (sysnames): Look for Implies-before and Implies-after
59886         files.
59887         * configure: Regenerated.
59889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59891         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59892         8-byte data alignment with LP_SIZE alignment.
59894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59896         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59897         into R10_LP.
59899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59901         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59905         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59906         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59907         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59908         Likewise.
59909         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59913         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59914         (stackinfo_sub_sp): Likewise.
59916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59918         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59919         RAX_LP.
59921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59923         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59924         into R*_LP.
59926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59928         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59929         sizes into R*_LP.
59931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59933         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59937         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59938         into R11_LP and load __x86_64_shared_cache_size_half into
59939         R8_LP.
59941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59943         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59944         R8_LP.
59946 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59948         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59949         logb for POWER7.
59950         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59951         logbf for POWER7.
59952         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59953         logbl for POWER7.
59954         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59955         powerpc32/power7/fpu/s_logb.c via #include.
59956         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59957         powerpc32/power7/fpu/s_logbf.c via #include.
59958         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59959         powerpc32/power7/fpu/s_logbl.c via #include.
59961 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59963         * README.libm: Remove file.
59965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59967         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59968         count for x32.  Use R*_LP and omit operand-size suffix.
59970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59972         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59973         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59974         * sysdeps/x86_64/x32/shlib-versions: New file.
59976 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59978         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59979         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59980         Use _dl_fatal_printf instead.
59982 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59984         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59985         set if not set by the user.  Do not allow for being unset.
59986         * sysdeps/unix/sysv/linux/configure: Regenerated.
59988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59990         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59991         the `q' suffix from lea and replace .quad with ASM_ADDR.
59993 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59996         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59997         instead of $17.
59998         (PTR_DEMANGLE): Likewise.
60000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60002         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60003         (LP_OP): Likewise.
60004         (ASM_ADDR): Likewise.
60005         (RAX_LP): Likewise.
60006         (RBP_LP): Likewise.
60007         (RBX_LP): Likewise.
60008         (RCX_LP): Likewise.
60009         (RDI_LP): Likewise.
60010         (RSI_LP): Likewise.
60011         (RSP_LP): Likewise.
60012         (R8_LP): Likewise.
60013         (R9_LP): Likewise.
60014         (R10_LP): Likewise.
60015         (R10_LP): Likewise.
60016         (R11_LP): Likewise.
60017         (R12_LP): Likewise.
60018         (R13_LP): Likewise.
60019         (R14_LP): Likewise.
60020         (R15_LP): Likewise.
60022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60024         * sysdeps/x86_64/x32/dl-machine.h: New file.
60026 2012-05-14  Andreas Jaeger  <aj@suse.de>
60028         * manual/Makefile (subdir): Remove export of subdir.
60029         (all): Remove target.
60030         (.PHONY): Remove all from list.
60031         (mkinstalldirs): Remove.
60032         (.PHONY): Remove installdirs from list.
60033         ($(inst_infodir)/libc.info): Use make-target-directory.
60034         (installdirs): Remove.
60035         (subdir_%): Remove.
60036         (glibc-targets): Remove.
60037         (lib): Remove.
60038         (stubs): Remove.
60039         ($(objpfx)stubs ../po/manual.pot): Remove.
60040         ($(objpfx)stamp%): Remove.
60041         (make-target-directory): Remove.
60042         (subdir_install): Remove.
60043         (routines): Remove.
60044         (aux): Remove.
60045         (sources): Remove.
60046         (objects): Remove.
60047         (headers): Remove.
60049         [BZ #13750]
60050         * manual/.gitignore: Remove, it's not needed anymore.
60051         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60052         all files in it.
60053         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60054         directory.
60055         (texis): Renamed to $(objpfx)texis.
60056         (texis-path): New, contains path to generated files.
60057         (chapters.%): Use texis-path for complete path, add extra argument
60058         libc-texinfo.sh.
60059         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60060         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60061         (summary,texi, stamp-summary): Use complete path of
60062         files. Generate files in build dir.
60063         (dir-add.texi): Build in build dir.
60064         (libm-err.texi,stamp-libm-err): Likewise.
60065         (version.texi, stamp-version): Likewise.
60066         (.%c.texi): Likewise.
60067         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60068         (mostlyclean): Remove target.
60069         (realclean): Remove target.
60070         (generated): Add new variable with contents from mostlyclean and
60071         realclean, remove entries duplicated in common-mostlyclean, add
60072         stamp-libm-err and stamp-version.
60073         (generated-dirs): Add libc directory.
60074         ($(inst_infodir)/libc.info): Install files from build dir.
60076         * manual/install.texi (Configuring and compiling): Adjust since
60077         the info files are not part of the tar ball anymore.
60079 2012-05-14  Andreas Jaeger  <aj@suse.de>
60081         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60082         variable.
60084 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60086         [BZ #13717]
60087         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60088         to 2.2.0 where earlier.
60089         * sysdeps/unix/sysv/linux/configure: Regenerated.
60090         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60091         Remove conditional code.
60092         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60093         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60094         Remove conditional code.
60095         [!__NR_lchown]: Likewise.
60096         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60097         [__NR_lchown]: Likewise.
60098         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60099         comment referencing __ASSUME_LCHOWN_SYSCALL.
60100         * sysdeps/unix/sysv/linux/i386/sigaction.c
60101         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60102         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60103         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60104         Remove conditional code.
60105         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60106         (__protocol_available): Remove #if 0 code.
60107         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60108         conditional code.
60109         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60110         * sysdeps/unix/sysv/linux/kernel-features.h
60111         (__ASSUME_GETCWD_SYSCALL): Don't define.
60112         (__ASSUME_REALTIME_SIGNALS): Likewise.
60113         (__ASSUME_PREAD_SYSCALL): Likewise.
60114         (__ASSUME_PWRITE_SYSCALL): Likewise.
60115         (__ASSUME_POLL_SYSCALL): Likewise.
60116         (__ASSUME_LCHOWN_SYSCALL): Likewise.
60117         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60118         non-SPARC.
60119         (__ASSUME_SIOCGIFNAME): Don't define.
60120         (__ASSUME_MSG_NOSIGNAL): Likewise.
60121         (__ASSUME_SENDFILE): Define unconditionally.
60122         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60123         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60124         conditional code.
60125         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60126         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60127         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60128         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60129         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
60130         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60131         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
60133         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60134         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
60136         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
60139         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60140         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
60142         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
60145         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60146         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
60148         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
60151         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60152         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
60154         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60156         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
60157         Remove conditional code.
60158         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60159         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60160         Remove conditional code.
60161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60162         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
60163         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
60164         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60165         Remove conditional code.
60166         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60167         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
60168         Remove conditional code.
60169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60170         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
60171         Remove conditional code.
60172         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60173         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60174         Remove conditional code.
60175         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60176         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60177         Remove conditional code.
60178         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60179         * sysdeps/unix/sysv/linux/sh/pwrite64.c
60180         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60181         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60182         * sysdeps/unix/sysv/linux/sigaction.c
60183         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60184         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60185         * sysdeps/unix/sysv/linux/sigpending.c
60186         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60187         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60188         * sysdeps/unix/sysv/linux/sigprocmask.c
60189         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60190         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60191         * sysdeps/unix/sysv/linux/sigsuspend.c
60192         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60193         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60194         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60195         (__libc_missing_rt_sigs): Remove.
60196         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
60197         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
60198         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
60199         Remove conditional code.
60200         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
60201         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
60202         return 1.
60203         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
60204         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
60205         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
60206         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
60208 2012-05-14  Andreas Jaeger  <aj@suse.de>
60210         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
60211         it's not used in glibc.
60212         (__coshm1): Likewise.
60213         (__acosh1p): Likewise.
60214         (__sgn): Likewise.
60216         * manual/string.texi (Copying and Concatenation): Add missing
60217         variable in concat example.
60218         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
60220 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60222         [BZ #14103]
60223         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
60224         __builtin_clzl with __builtin_clzll.
60226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60228         [BZ #14104]
60229         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
60230         libc_freeres_ptr.
60232 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60234         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
60235         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
60236         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
60237         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
60239 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
60241         * NEWS: Update ia64 info.
60243 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
60245         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
60246         used as bcopy.
60248 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
60250         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
60251         * sysdeps/unix/syscalls.list (dup3): Likewise.
60252         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
60253         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
60255 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60257         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
60258         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
60260 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60262         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
60263         thread pointer.
60264         (TLS_IE): Use mov/add instead of movq/addq to load thread
60265         pointer.
60266         (TLS_GD_PREFIX): New.
60267         (TLS_GD): Use it.
60269 2012-05-11  David S. Miller  <davem@davemloft.net>
60271         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
60272         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
60273         (_FPU_SETCW): Likewise.
60275 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60277         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
60278         is 32-byte aligned.
60280 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
60282         [BZ #11837]
60283         * iconvdata/gb18030.c: Update tables.
60284         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
60285         characters specially.
60286         (BODY for TO_LOOP): Add encoding of missing ranges.
60288 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
60290         [BZ #13673]
60291         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
60292         * sysdeps/mach/hurd/dup3.c: Likewise.
60293         * sysdeps/mach/hurd/readlinkat.c: Likewise.
60294         * sysdeps/powerpc/memmove.c:: Likewise.
60296 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60298         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
60299         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
60301 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60303         * elf/elf.h (R_X86_64_RELATIVE64): New.
60304         (R_X86_64_NUM): Updated.
60305         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60306         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
60307         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
60308         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
60309         tst-quad1pie tst-quad2pie
60310         (modules-names): Add tst-quadmod1 tst-quadmod2.
60311         ($(objpfx)tst-quad1): New dependency.
60312         ($(objpfx)tst-quad2): Likewise.
60313         ($(objpfx)tst-quad1pie): Likewise.
60314         ($(objpfx)tst-quad2pie): Likewise.
60315         * sysdeps/x86_64/tst-quad1.c: New file.
60316         * sysdeps/x86_64/tst-quad1pie.c: New file.
60317         * sysdeps/x86_64/tst-quad2.c: Likewise.
60318         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
60319         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
60320         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
60321         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
60322         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
60324 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60326         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
60327         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
60328         * streams/stropts.h (t_scalar_t): Define type.
60330         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
60331         (_PATH_PRESERVE): Set to "/var/lib".
60332         (_PATH_RWHODIR): Set to "/var/spool/rwho".
60334         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
60335         instead of int.
60337         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
60338         if __dir_mkfile succeeded.
60340         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
60341         checking for _hurd_dtablesize.  Unlock it right after having
60342         finished _hurd_dtable allocation.
60344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60346         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
60347         * sysdeps/mach/hurd/configure: Regenerated.
60348         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
60349         special-casing to...
60350         * sysdeps/gnu/configure.in: ... this new file.
60351         * sysdeps/unix/sysv/linux/configure: Regenerated.
60352         * sysdeps/gnu/configure: New generated file.
60354         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
60355         for Linux: use nsec instead of usec, as well as:
60356         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
60357         members of type struct timespec.
60358         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
60359         New macros.
60360         (struct stat64): Likewise.
60361         (_STATBUF_ST_NSEC): New macro.
60362         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
60364         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60365         __strtoul_internal rather than strtoul.
60367 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60369         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
60370         and reject them.
60372 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60374         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
60375         which preserves existing values.
60376         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
60378 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60380         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
60381         TIMEOUT values.  Return EINVAL for NFDS values either negative or
60382         greater than FD_SETSIZE.
60384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60386         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
60387         allocated, call __vm_protect to finish enabling the existing space, and
60388         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
60389         allocate the remainder.
60391 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60393         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
60394         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
60396 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60398         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
60399         sysdeps/mach/hurd/readlink.c.
60401         * posix/tst-sysconf.c (posix_options): Only use
60402         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
60403         _POSIX_SYNCHRONIZED_IO when they are defined
60404         * sysdeps/mach/hurd/bits/posix_opt.h:
60405         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
60406         (_XOPEN_REALTIME): Undefine macro.
60407         (_XOPEN_REALTIME_THREADS): Undefine macro.
60408         (_XOPEN_SHM): Undefine macro.
60409         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
60410         macro to -1.
60411         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
60412         macro to -1.
60413         (_POSIX_ASYNC_IO): Undefine macro.
60414         (_POSIX_PRIORITIZED_IO): Undefine macro.
60415         (_POSIX_SPIN_LOCKS): Define macro to -1.
60417         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
60418         SA_NODEFER, SA_RESETHAND.
60419         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
60420         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
60421         F_DUPFD_CLOEXEC.
60423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60425         * elf/Makefile (pldd-modules): Define unconditionally.
60427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60429         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
60431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60433         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
60434         Return ENOENT when name is empty.
60435         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
60437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60439         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
60441         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
60443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60445         Fix mlock in all cases except non-readable pages.
60446         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
60447         instead of VM_PROT_ALL as parameter to __vm_wire function.
60449         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
60450         (__mkdir): When path is `/', just fail with EEXIST.
60451         * sysdeps/mach/hurd/mkdirat.c: Likewise.
60453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60455         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
60456         <sys/uio.h> (for writev).
60457         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
60458         and <sys/param.h> (for MIN).
60460 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60462         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
60463         REQUESTED_TIME.  Properly set the remaining time and return EINTR
60464         if interrupted.
60466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60468         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
60469         Depend on against $(link-rpcuserlibs).
60471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60473         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
60474         (__libc_stack_end): Do not use attribute_relro.
60475         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
60476         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
60477         to libthread-provided value.
60478         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
60479         attribute_relro.
60481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60483         [BZ #3748]
60484         * bits/libc-lock.h (__libc_once_get): New macro.
60485         * sysdeps/mach/bits/libc-lock.h: Likewise.
60486         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
60487         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
60488         instead of using implementation details.
60490         * libio/fileops.c: Unconditionally include <kernel-features.h>.
60491         * libio/freopen.c: Likewise.
60492         * libio/freopen64.c: Likewise.
60493         * misc/syslog.c: Likewise.
60494         * nscd/connections.c: Likewise.
60495         * nscd/netgroupcache.c: Likewise.
60496         * sysdeps/posix/getcwd.c: Likewise.
60498 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60500         * math/w_ilogbf.c: Add #include <limits.h>.
60502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60504         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
60505         path instead of returning without unlocking.
60507         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
60508         immediate-write ioctls.
60509         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
60511 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60513         * sysdeps/mach/hurd/i386/init-first.c (init): Use
60514         __builtin_frame_address instead of making assumptions about the
60515         location of the return address relative to DATA.  Force early load of
60516         the return address.
60517         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
60518         __builtin_frame_address.
60520         dup3 for GNU Hurd.
60521         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
60522         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
60523         implement dup3 and do some further code clean-ups.
60524         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
60525         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
60527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60529         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
60531         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
60532         HURD_CRITICAL_END around holding _hurd_dtable_lock.
60533         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
60534         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
60535         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
60536         d->port.lock.
60538         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
60539         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
60540         when handler == SIG_ERR, not when handler != SIG_ERR.
60542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60544         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
60545         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
60546         definitions.
60548         accept4 for GNU Hurd.
60549         * include/sys/socket.h (__libc_accept4): New prototype.
60550         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
60551         to implement __libc_accept4.
60552         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
60553         __libc_accept4.
60554         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
60556         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
60557         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
60558         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
60559         signal-defines.sym.
60561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60563         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
60565 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60567         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
60568         assertion on O_CLOEXEC flag.
60569         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
60570         * hurd/intern-fd.c: Likewise.
60571         * hurd/port2fd.c: Likewise.
60573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60575         [BZ #3906]
60576         * bits/in.h (IPV6_PKTINFO): Define new macro.
60577         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
60579 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60581         [BZ #13954]
60582         [BZ #13955]
60583         [BZ #13956]
60584         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
60585         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60586         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
60587         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60588         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60589         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60590         * math/libm-test.inc (logb_test) : Additional logb tests.
60592 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
60593             Andreas Jaeger  <aj@suse.de>
60595         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
60596         * configure: Regenerated.
60597         * config.h.in (LINK_OBSOLETE_RPC): New macro.
60598         * config.make.in (link-obsolete-rpc): New substituted variable.
60599         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
60600         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60601         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60602         (shared-only-routines): Don't set it under [link-obsolete-rpc],
60603         so that libc.a contains the symbols.
60604         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60605         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
60606         * sunrpc/auth_none.c: Likewise.
60607         * sunrpc/auth_unix.c: Likewise.
60608         * sunrpc/authdes_prot.c: Likewise.
60609         * sunrpc/authuxprot.c: Likewise.
60610         * sunrpc/clnt_gen.c: Likewise.
60611         * sunrpc/clnt_perr.c: Likewise.
60612         * sunrpc/clnt_raw.c: Likewise.
60613         * sunrpc/clnt_simp.c: Likewise.
60614         * sunrpc/clnt_tcp.c: Likewise.
60615         * sunrpc/clnt_udp.c: Likewise.
60616         * sunrpc/clnt_unix.c: Likewise.
60617         * sunrpc/des_crypt.c: Likewise.
60618         * sunrpc/des_soft.c: Likewise.
60619         * sunrpc/get_myaddr.c: Likewise.
60620         * sunrpc/key_call.c: Likewise.
60621         * sunrpc/key_prot.c: Likewise.
60622         * sunrpc/netname.c: Likewise.
60623         * sunrpc/pm_getmaps.c: Likewise.
60624         * sunrpc/pm_getport.c: Likewise.
60625         * sunrpc/pmap_clnt.c: Likewise.
60626         * sunrpc/pmap_prot.c: Likewise.
60627         * sunrpc/pmap_prot2.c: Likewise.
60628         * sunrpc/pmap_rmt.c: Likewise.
60629         * sunrpc/publickey.c: Likewise.
60630         * sunrpc/rpc_cmsg.c: Likewise.
60631         * sunrpc/rpc_common.c: Likewise.
60632         * sunrpc/rpc_dtable.c: Likewise.
60633         * sunrpc/rpc_prot.c: Likewise.
60634         * sunrpc/rpc_thread.c: Likewise.
60635         * sunrpc/rtime.c: Likewise.
60636         * sunrpc/svc.c: Likewise.
60637         * sunrpc/svc_auth.c: Likewise.
60638         * sunrpc/svc_raw.c: Likewise.
60639         * sunrpc/svc_run.c: Likewise.
60640         * sunrpc/svc_tcp.c: Likewise.
60641         * sunrpc/svc_udp.c: Likewise.
60642         * sunrpc/svc_unix.c: Likewise.
60643         * sunrpc/svcauth_des.c: Likewise.
60644         * sunrpc/xcrypt.c: Likewise.
60645         * sunrpc/xdr.c: Likewise.
60646         * sunrpc/xdr_array.c: Likewise.
60647         * sunrpc/xdr_float.c: Likewise.
60648         * sunrpc/xdr_intXX_t.c: Likewise.
60649         * sunrpc/xdr_mem.c: Likewise.
60650         * sunrpc/xdr_rec.c: Likewise.
60651         * sunrpc/xdr_ref.c: Likewise.
60652         * sunrpc/xdr_sizeof.c: Likewise.
60653         * sunrpc/xdr_stdio.c: Likewise.
60655 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60657         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60658         change.  Update copyright years.
60660 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60662         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
60664 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
60665             Joseph Myers  <joseph@codesourcery.com>
60666             Paul Pluzhnikov  <ppluzhnikov@google.com>
60668         [BZ #14012]
60669         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
60670         requiring rpcgen.
60671         [cross-compiling] (extra-libs): Likewise.
60672         [cross-compiling] (extra-libs-others): Likewise.
60673         [cross-compiling] (librpcsvc-routines): Likewise.
60674         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
60675         [cross-compiling] (omit-deps): Likewise.
60676         (sunrpc-CPPFLAGS): New variable.
60677         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
60678         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
60679         (cross-rpcgen-objs): New variable.
60680         (extra-objs): Append $(cross-rpcgen-objs).
60681         ($(cross-rpcgen-objs)): New rule.
60682         ($(objpfx)cross-rpcgen): Likewise.
60683         (rpcgen-cmd): Define to use $(built-program-file).  Expand
60684         comment.
60685         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
60686         ($(objpfx)x%.stmp): Likewise.
60687         * sunrpc/proto.h [IS_IN_build] (_): Define.
60688         [IS_IN_build] (_libc_intl_domainname): Likewise.
60690 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60692         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
60693         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
60694         and R_X86_64_TPOFF64.
60696 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60698         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
60699         sysdeps/unix/sysv/syscalls.list.
60700         (stime): Likewise.
60701         (utime): Likewise.
60702         * sysdeps/unix/sysv/syscalls.list: Remove file.
60704 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
60706         [BZ #3440]
60707         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60708         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60709         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60710         (__LC_IDENTIFICATION): Make these macros useful in #if
60711         expressions, as required by C99.
60713 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
60715         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60716         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
60717         after this.
60719 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
60721         * stdlib/longlong.h: Updated from GCC.
60723 2012-05-09  Andreas Jaeger  <aj@suse.de>
60725         * nscd/nscd.c (run_modes): Make named enum, reorder so that
60726         default is first entry.
60727         (run_mode): Set type.
60728         (main): Remove informal message about syslog.
60729         (options): Fix typo.
60731         [BZ #14053]
60732         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60733         to asm.
60734         (lrint): Likewise.
60735         (llrintf): Likewise.
60736         (llrint): Likewise.
60737         (rint): Likewise.
60738         (rintf): Likewise.
60739         (nearbyint): Likewise.
60740         (nearbyintf): Likewise.
60742 2012-05-09  Andreas Jaeger  <aj@suse.de>
60743             Pedro Alves  <palves@redhat.com>
60745         * nscd/nscd.c (run_mode): Use enum.
60746         (main): Cleanup coding style issue.
60748 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
60749             Andreas Jaeger  <aj@suse.de>
60751         * nscd/nscd.c (go_background): Replaced with...
60752         (run_mode): ... this.
60753         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60754         (options): Add -F --foreground.
60755         (main): Implement it.
60756         (parse_opt): Parse it.
60758 2012-05-09  Andreas Jaeger  <aj@suse.de>
60760         [BZ #14083]
60761         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60762         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60763         -Wconversion warning.
60764         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60765         Likewise.
60767 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60769         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60770         == 0.
60771         (LC_ALL): Use macro-int-constant.
60772         (LC_COLLATE): Likewise.
60773         (LC_CTYPE): Likewise.
60774         (LC_MESSAGES): Likewise.
60775         (LC_MONETARY): Likewise.
60776         (LC_NUMERIC): Likewise.
60777         (LC_TIME): Likewise.
60778         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60779         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60781         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60782         Specify type.
60783         [C99-based standards] (float_t): Expect type.
60784         [C99-based standards] (double_t): Expect type.
60785         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60786         type.
60787         [C99-based standards] (HUGE_VALL): Likewise.
60788         [C99-based standards] (INFINITY): Likewise.
60789         [C99-based standards] (NAN): Likewise.
60790         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60791         [C99-based standards] (FP_NAN): Likewise.
60792         [C99-based standards] (FP_NORMAL): Likewise.
60793         [C99-based standards] (FP_SUBNORMAL): Likewise.
60794         [C99-based standards] (FP_ZERO): Likewise.
60795         [C99-based standards] (FP_FAST_FMA): Use
60796         optional-macro-int-constant.  Specify type.  Require == 1.
60797         [C99-based standards] (FP_FAST_FMAF): Likewise.
60798         [C99-based standards] (FP_FAST_FMAL): Likewise.
60799         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60800         [C99-based standards] (FP_ILOGBNAN): Likewise.
60801         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60802         Specify type.
60803         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60804         [C99-based standards] (math_errhandling): Specify type.
60805         [ISO99 || ISO11] (signgam): Do not allow.
60806         [non-C99-based standards] (copysignf): Do not allow.
60807         [non-C99-based standards] (exp2f): Likewise.
60808         [non-C99-based standards] (log2f): Likewise.
60809         [non-C99-based standards] (modff): Allow.
60810         [non-C99-based standards] (erff): Do not allow.
60811         [non-C99-based standards] (erfcf): Likewise.
60812         [non-C99-based standards] (gammaf): Likewise.
60813         [non-C99-based standards] (hypotf): Likewise.
60814         [non-C99-based standards] (j0f): Likewise.
60815         [non-C99-based standards] (j1f): Likewise.
60816         [non-C99-based standards] (jnf): Likewise.
60817         [non-C99-based standards] (lgammaf): Likewise.
60818         [non-C99-based standards] (tgammaf): Likewise.
60819         [non-C99-based standards] (y0f): Likewise.
60820         [non-C99-based standards] (y1f): Likewise.
60821         [non-C99-based standards] (ynf): Likewise.
60822         [non-C99-based standards] (isnanf): Likewise.
60823         [non-C99-based standards] (acoshf): Likewise.
60824         [non-C99-based standards] (asinhf): Likewise.
60825         [non-C99-based standards] (atanhf): Likewise.
60826         [non-C99-based standards] (cbrtf): Likewise.
60827         [non-C99-based standards] (expm1f): Likewise.
60828         [non-C99-based standards] (ilogbf): Likewise.
60829         [non-C99-based standards] (log1pf): Likewise.
60830         [non-C99-based standards] (logbf): Likewise.
60831         [non-C99-based standards] (nextafterf): Likewise.
60832         [non-C99-based standards] (remainderf): Likewise.
60833         [non-C99-based standards] (rintf): Likewise.
60834         [non-C99-based standards] (scalbf): Likewise.
60835         [non-C99-based standards] (copysignl): Likewise.
60836         [non-C99-based standards] (exp2l): Likewise.
60837         [non-C99-based standards] (log2l): Likewise.
60838         [non-C99-based standards] (modfl): Allow.
60839         [non-C99-based standards] (erfl): Do not allow.
60840         [non-C99-based standards] (erfcl): Likewise.
60841         [non-C99-based standards] (gammal): Likewise.
60842         [non-C99-based standards] (hypotl): Likewise.
60843         [non-C99-based standards] (j0l): Likewise.
60844         [non-C99-based standards] (j1l): Likewise.
60845         [non-C99-based standards] (jnl): Likewise.
60846         [non-C99-based standards] (lgammal): Likewise.
60847         [non-C99-based standards] (tgammal): Likewise.
60848         [non-C99-based standards] (y0l): Likewise.
60849         [non-C99-based standards] (y1l): Likewise.
60850         [non-C99-based standards] (ynl): Likewise.
60851         [non-C99-based standards] (isnanl): Likewise.
60852         [non-C99-based standards] (acoshl): Likewise.
60853         [non-C99-based standards] (asinhl): Likewise.
60854         [non-C99-based standards] (atanhl): Likewise.
60855         [non-C99-based standards] (cbrtl): Likewise.
60856         [non-C99-based standards] (expm1l): Likewise.
60857         [non-C99-based standards] (ilogbl): Likewise.
60858         [non-C99-based standards] (log1pl): Likewise.
60859         [non-C99-based standards] (logbl): Likewise.
60860         [non-C99-based standards] (nextafterl): Likewise.
60861         [non-C99-based standards] (remainderl): Likewise.
60862         [non-C99-based standards] (rintl): Likewise.
60863         [non-C99-based standards] (scalbl): Likewise.
60864         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60865         [non-C99-based standards] (FP_*): Do not allow.
60866         [C99-based standards] (FP_*): Change to
60867         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60868         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60869         allow.
60870         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60871         (SIG_ERR): Likewise.
60872         [X/Open-based standards] (SIG_HOLD): Likewise.
60873         (SIG_IGN): Likewise.
60874         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60875         positive value.
60876         (SIGFPE): Likewise.
60877         (SIGILL): Likewise.
60878         (SIGINT): Likewise.
60879         (SIGSEGV): Likewise.
60880         (SIGTER): Likewise.
60881         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60882         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60883         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60884         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60885         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60886         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60887         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60888         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60889         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60890         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60891         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60892         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60893         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60894         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60895         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60896         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60897         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60898         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60899         [X/Open-based standards] (SIGTRAP): Likewise.
60900         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60901         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60902         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60903         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60904         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60905         allow.
60907 2012-05-08  Ian Wienand  <ianw@vmware.com>
60909         [BZ #14080]
60910         * time/tzset.c (__tzset_parse_tz): Update default rules for
60911         daylight time changes in the Energy Policy Act of 2005.
60913 2012-05-09  Andreas Jaeger  <aj@suse.de>
60915         [BZ #13983]
60916         * elf/ldconfig.c (parse_conf): Change string to make clear that
60917         ldconfig only issued a warning if ld.so.conf does not exist.
60919 2012-05-08  David S. Miller  <davem@davemloft.net>
60921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60922         movxtod instead of popping the value on the stack.
60924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60926 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60928         * config.h.in: Add HAVE_ARM_PCS_VFP.
60930 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60932         [BZ #13979]
60933         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60934         checking but the checks are disabled for any reason.
60936 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60938         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60939         and ELF64_R_TYPE with ELFW(R_TYPE).
60941 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60943         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60944         (ulimit): Likewise.
60946         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60947         (settimeofday): Likewise.
60949 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60951         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60952         a struct th_u2 inside the union, and move tu_block/tu_code into
60953         a new th_u3 union of tu_block/tu_code inside of that.  Move
60954         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60955         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60956         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60957         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60958         (th_stuff): Change to th_u1.tu_stuff.
60959         (th_data): Define.
60960         (th_msg): Change to th_u1.th_u2.tu_data.
60962 2012-05-07  David S. Miller  <davem@davemloft.net>
60964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60966         [BZ #14074]
60967         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60968         (SETUP_PIC_REG): Use it.
60969         (SETUP_PIC_REG_LEAF): Use it.
60971 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60973         [BZ #13885]
60974         [BZ #13923]
60975         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60976         USE_AS_EXPM1L.
60977         (EXPL_FINITE): Likewise.
60978         (FLDLOG): Likewise.
60979         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60980         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60981         e_expl.S.
60982         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60983         USE_AS_EXPM1L.
60984         (EXPL_FINITE): Likewise.
60985         (FLDLOG): Likewise.
60986         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60987         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60988         e_expl.S.
60989         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60990         test of -max_value argument for long double.
60991         * sysdeps/i386/fpu/libm-test-ulps: Update.
60992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60994 2012-05-06  David S. Miller  <davem@davemloft.net>
60996         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60997         quad soft-float symbols whose references which are compiler
60998         generated.
60999         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61001 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61003         [BZ #13884]
61004         [BZ #13914]
61005         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61006         USE_AS_EXP10L.
61007         (EXPL_FINITE): Likewise.
61008         (FLDLOG): Likewise.
61009         (c0): Likewise.
61010         (c1): Likewise.
61011         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61012         Adjust comments for base varying.
61013         (__expl_finite): Change alias to EXPL_FINITE.
61014         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61015         e_expl.S.
61016         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61017         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61018         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61019         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61020         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61021         USE_AS_EXP10L.
61022         (EXPL_FINITE): Likewise.
61023         (FLDLOG): Likewise.
61024         (c0): Likewise.
61025         (c1): Likewise.
61026         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61027         Adjust comments for base varying.
61028         (__expl_finite): Change alias to EXPL_FINITE.
61029         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
61030         tests for bugs.
61031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61033         [BZ #14064]
61034         * math/libm-test.inc (check_float_internal): Correct ulp
61035         calculation for subnormal expected results.
61037 2012-05-06  Andreas Jaeger  <aj@suse.de>
61039         * Makeconfig (+math-flags): New, set to -frounding-math.
61040         (+cflags): Add +math-flags so that all of glibc gets compiled with
61041         it.
61043         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61045 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61047         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61048         Disable one test.
61050         [BZ #13787]
61051         [BZ #13922]
61052         [BZ #14036]
61053         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61054         (__ieee754_expl): Allow for and saturate large arguments.
61055         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61056         (u_threshold): Likewise.
61057         (__exp): Call __ieee754_exp before checking for overflow and
61058         underflow.
61059         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61060         (u_threshold): Likewise.
61061         (__expf): Call __ieee754_expf before checking for overflow and
61062         underflow.
61063         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61064         (u_threshold): Likewise.
61065         (__expl): Call __ieee754_expl before checking for overflow and
61066         underflow.
61067         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61068         (__ieee754_expl): Allow for and saturate large arguments.
61069         * math/libm-test.inc (exp_test): Add another test.  Do not allow
61070         missing overflow exception on overflow.
61071         (expm1_test): Do not allow missing overflow exception on overflow.
61073         * sysdeps/i386/fpu/e_expl.c: Move to ...
61074         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
61075         rather than using inline asm.
61076         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61077         * sysdeps/x86_64/fpu/e_expl.S: Copy from
61078         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61080         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61081         (nice): Likewise.
61082         (poll): Likewise.
61083         (signal): Likewise.
61084         (time): Likewise.
61085         (times): Likewise.
61087 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61089         * sysdeps/unix/syscalls.list (adjtime): Add entry from
61090         sysdeps/unix/common/syscalls.list.
61091         (fchmod): Likewise.
61092         (fchown): Likewise.
61093         (ftruncate): Likewise.
61094         (getrusage): Likewise.
61095         (gettimeofday): Likewise.
61096         (setpgid): Likewise.
61097         (setregid): Likewise.
61098         (setreuid): Likewise.
61099         (sigaction): Likewise.
61100         (truncate): Likewise.
61101         (vhangup): Likewise.
61102         * sysdeps/unix/common/syscalls.list: Remove file.
61103         * sysdeps/unix/bsd/Implies: Don't include unix/common.
61104         * sysdeps/unix/sysv/linux/Implies: Likewise.
61106 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
61108         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61110         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61111         Moved to ...
61112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61113         Here.
61114         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61115         to ...
61116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61117         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61118         to ...
61119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61120         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61121         to ...
61122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61123         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61124         to ...
61125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61126         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61127         to ...
61128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61129         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
61130         to ...
61131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
61132         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
61133         to ...
61134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61135         Here.
61136         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
61137         to ...
61138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
61139         Here.
61140         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
61141         to ...
61142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
61143         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
61144         Moved to ...
61145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
61146         Here.
61147         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
61148         to ...
61149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
61151 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61153         * sysdeps/unix/common/bits/dirent.h: Remove file.
61154         * sysdeps/unix/common/bits/fcntl.h: Likewise.
61156         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
61157         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
61158         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
61159         * sysdeps/unix/bsd/isatty.c: Likewise.
61160         * sysdeps/unix/bsd/tcdrain.c: Likewise.
61161         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
61162         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
61164 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61166         [BZ #13563]
61167         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
61168         long double comparison inaccuracies.
61169         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61172 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
61174         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
61175         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
61177 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61179         [BZ #14049]
61180         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
61181         nonzero digits before rounding a hex value.
61182         * stdlib/tst-strtod.c (tests): Add another test.
61184 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61186         * sysdeps/s390/fpu/libm-test-ulps: Update.
61188 2012-05-03  Andreas Jaeger  <aj@suse.de>
61190         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
61191         does not get optimized out.
61192         (malloc_opt_barrier): New.
61194 2012-05-03  Andreas Jaeger  <aj@suse.de>
61195             Roland McGrath  <roland@hack.frob.com>
61197         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
61198         intermediate file deletion.
61199         (generated): Add .symlist files.
61201 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
61203         [BZ #13775]
61204         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
61205         Redirect under this condition.
61206         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61207         [__USE_GNU] (__dprintf_chk): Not under this condition.
61208         [__USE_GNU] (__vdprintf_chk): Likewise.
61209         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
61210         under this condition.
61211         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61212         [__USE_XOPEN2K8] (dprintf): Define under this condition.
61213         [__USE_XOPEN2K8] (vdprintf): Likewise.
61214         [__USE_GNU] (__dprintf_chk): Not under this condition.
61215         [__USE_GNU] (__vdprintf_chk): Likewise.
61216         [__USE_GNU] (dprintf): Likewise.
61217         [__USE_GNU] (vdprintf): Likewise.
61219 2012-05-03  Roland McGrath  <roland@hack.frob.com>
61221         * elf/Makefile (common-generated): Set this instead of generated for
61222         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
61223         $(all-built-dso)-derived lists.
61225 2012-05-03  Andreas Jaeger  <aj@suse.de>
61227         * sysdeps/i386/fpu/libm-test-ulps: Update.
61229         * FAQ: Removed.
61230         * FAQ.in: Likewise.
61231         * scripts/gen-FAQ.pl: Likewise.
61232         * manual/install.texi (Installation): Point to online location of
61233         FAQ.
61234         * Makefile (files-for-dist): Remove FAQ.
61235         (FAQ): Remove.
61237 2012-05-02  Allan McRae  <allan@archlinux.org>
61239         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
61240         (LDFLAGS-reldepmod5.so): Likewise.
61241         (LDFLAGS-reldep6mod1.so): Likewise.
61242         (LDFLAGS-reldep6mod4.so): Likewise.
61243         (LDFLAGS-reldep8mod3.so): Likewise.
61244         (LDFLAGS-unload4mod1.so): Likewise.
61245         (LDFLAGS-unload4mod2.so): Likewise.
61246         (LDFLAGS-tst-initorder): Likewise.
61247         (LDFLAGS-tst-initordera2.so): Likewise.
61248         (LDFLAGS-tst-initordera3.so): Likewise.
61249         (LDFLAGS-tst-initordera4.so): Likewise.
61250         (LDFLAGS-tst-initorderb2.so): Likewise.
61251         (LDFLAGS-noload): Likewise.
61252         (LDFLAGS-next): Likewise.
61253         (LDFLAGS-order2mod1.so): Likewise.
61254         (LDFLAGS-order2mod2.so): Likewise.
61255         (LDFLAGS-tst-initorder2): Likewise.
61256         (LDFLAGS-tst-initorder2a.so): Likewise.
61257         (LDFLAGS-tst-initorder2b.so): Likewise.
61258         (LDFLAGS-tst-initorder2c.so): Likewise.
61259         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
61261 2012-05-02  David S. Miller  <davem@davemloft.net>
61263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61265 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
61267         [BZ #14055]
61268         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
61270 2012-05-02  Andreas Jaeger  <aj@suse.de>
61272         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
61273         since we manipulate rounding mode.
61274         (CPPFLAGS-test-idouble.c): Likewise.
61275         (CPPFLAGS-test-ifloat.c): Likewise.
61276         (CFLAGS-test-ldouble.c): Likewise.
61277         (CFLAGS-test-double.c): Likewise.
61278         (CFLAGS-test-float.c): Likewise.
61279         (CFLAGS-test-misc.c): Likewise.
61280         (CFLAGS-test-test-fenv.c): Likewise.
61282 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61284         [BZ #2550]
61285         [BZ #2570]
61286         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
61287         comparisons to determine direction to adjust input.
61289 2012-05-01  Roland McGrath  <roland@hack.frob.com>
61291         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
61292         output to the target.
61294         * scripts/localplt.awk: New file.
61295         * elf/Makefile ($(objpfx)check-localplt): Target removed.
61296         (check-localplt-CFLAGS): Variable removed.
61297         ($(all-built-dso:=.jmprel)): New static pattern rule.
61298         (generated): Add those targets.
61299         (localplt-built-dso): New variable.
61300         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
61302         * elf/check-localplt.c: File removed.
61304         * scripts/check-execstack.awk: New file.
61305         * elf/Makefile ($(objpfx)check-execstack): Target removed.
61306         (check-execstack-CFLAGS): Variable removed.
61307         ($(objpfx)check-execstack.h): Target removed.
61308         ($(objpfx)execstack-default): New target.
61309         (generated): Add that instead of check-execstack.h.
61310         ($(all-built-dso:=.phdr)): New static pattern rule.
61311         (generated): Add those targets.
61312         * elf/check-execstack.c: File removed.
61314         * scripts/check-textrel.awk: New file.
61315         * elf/Makefile ($(objpfx)check-textrel): Target removed.
61316         (check-textrel-CFLAGS): Variable removed.
61317         (all-built-dso): Use := to define.o
61318         ($(all-built-dso:=.dyn)): New static pattern rule.
61319         (generated): Add those targets.
61320         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
61321         * config.make.in (READELF): New substituted variable.
61322         * elf/check-textrel.c: File removed.
61324 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61326         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61327         allow.
61328         * conform/data/ctype.h-data [C99-based standards] (isblank):
61329         Expect function.
61330         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
61331         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
61332         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61333         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
61334         Specify type.  Require positive value.
61335         (EILSEQ): Likewise.
61336         (ERANGE): Likewise.
61337         [ISO || POSIX] (EILSEQ): Do not expect.
61338         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
61339         Specify type.  Require positive value.
61340         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
61341         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
61342         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
61343         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
61344         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
61345         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
61346         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
61347         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
61348         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
61349         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
61350         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
61351         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
61352         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
61353         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
61354         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
61355         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
61356         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
61357         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
61358         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
61359         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
61360         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
61361         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
61362         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
61363         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
61364         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
61365         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
61366         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
61367         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
61368         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
61369         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
61370         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
61371         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
61372         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
61373         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
61374         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
61375         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
61376         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
61377         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
61378         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
61379         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
61380         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
61381         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
61382         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
61383         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
61384         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
61385         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
61386         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
61387         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
61388         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
61389         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
61390         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
61391         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
61392         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
61393         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
61394         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
61395         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
61396         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
61397         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
61398         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
61399         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
61400         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
61401         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
61402         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
61403         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
61404         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
61405         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
61406         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
61407         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
61408         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
61409         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
61410         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
61411         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
61412         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
61413         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
61414         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
61415         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
61416         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
61417         Require >= 2.
61418         (FLT_ROUNDS): Expect as macro, not constant.
61419         (FLT_MANT_DIG): Use macro-int-constant.
61420         (DBL_MANT_DIG): Likewise.
61421         (LDBL_MANT_DIG): Likewise.
61422         (FLT_DIG): Likewise.
61423         (DBL_DIG): Likewise.
61424         (LDBL_DIG): Likewise.
61425         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
61426         (DBL_MIN_EXP): Likewise.
61427         (LDBL_MIN_EXP): Likewise.
61428         (FLT_MAX_EXP): Use macro-int-constant.
61429         (DBL_MAX_EXP): Likewise.
61430         (LDBL_MAX_EXP): Likewise.
61431         (FLT_MAX_10_EXP): Likewise.
61432         (DBL_MAX_10_EXP): Likewise.
61433         (LDBL_MAX_10_EXP): Likewise.
61434         (FLT_MAX): Use macro-constant.
61435         (DBL_MAX): Likewise.
61436         (LDBL_MAX): Likewise.
61437         (FLT_EPSILON): Use macro-constant.  Give upper bound.
61438         (DBL_EPSILON): Likewise.
61439         (LDBL_EPSILON): Likewise.
61440         (FLT_MIN): Likewise.
61441         (DBL_MIN): Likewise.
61442         (LDBL_MIN): Likewise.
61443         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
61444         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
61445         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
61446         [ISO11] (FLT_HAS_SUBNORM): Likewise.
61447         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
61448         [ISO11] (DBL_DECIMAL_DIG): Likewise.
61449         [ISO11] (FLT_DECIMAL_DIG): Likewise.
61450         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
61451         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
61452         [ISO11] (FLT_TRUE_MIN): Likewise.
61453         [ISO11] (LDBL_TRUE_MIN): Likewise.
61454         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61455         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
61456         (SCHAR_MIN): Use macro-int-constant.  Specify type.
61457         (SCHAR_MAX): Likewise.
61458         (UCHAR_MAX): Likewise.
61459         (CHAR_MIN): Likewise.
61460         (CHAR_MAX): Likewise.
61461         (MB_LEN_MAX): Use macro-int-constant.
61462         (SHRT_MIN): Use macro-int-constant.  Specify type.
61463         (SHRT_MAX): Likewise.
61464         (USHRT_MAX): Likewise.
61465         (INT_MAX): Likewise.
61466         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
61467         bound negative.
61468         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61469         bound with "U".
61470         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61471         bound with "L".
61472         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
61473         bound negative.  Suffix upper bound with "L".
61474         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61475         bound with "UL".
61476         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
61477         Specify type.
61478         [C99-based standards] (LLONG_MAX): Likewise.
61479         [C99-based standards] (ULLONG_MAX): Likewise.
61480         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
61481         == 0.
61482         [ISO11] (max_align_t): Require type.
61483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61485         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
61486         from $CFLAGS, without defining away __attribute__ calls.
61487         (checknamespace): Use $CFLAGS_namespace.
61489         * conform/conformtest.pl (@keywords): Only include C99 keywords
61490         for standards based on C99 or C11.
61492         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
61493         Disable tests.
61494         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
61495         UNIX98]: Likewise.
61497         * conform/conformtest.pl: Handle "macro-int-constant" and test for
61498         usability of symbols in #if.
61500         * conform/conformtest.pl: If macro or constant types start
61501         "promoted:", expect the symbol to be of the following type
61502         promoted by the integer promotions.
61504         * conform/conformtest.pl: Parse all "constant" and "macro" lines
61505         in one place.  Also handle "macro-constant".
61507         * conform/conformtest.pl: Only accept expected macro values with
61508         "==".  Parse all "macro" lines in one place.
61509         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
61511         * conform/conformtest.pl: Handle braced types on "constant" lines
61512         instead of handling "typed-constant".
61513         * conform/data/signal.h-data: Use "constant" instead of
61514         "typed-constant".
61516         * conform/conformtest.pl: Handle "optional-" at start of lines in
61517         one place rather than duplicating several cases.  Handle each
61518         format of "macro" line with initial "optional-".
61520         * conform/conformtest.pl: Only accept expected constant or
61521         optional-constant values with "==".  Parse all "constant" lines in
61522         one place.  Parse all "optional-constant" lines in one place.
61523         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
61524         * conform/data/fmtmsg.h-data: Likewise.
61525         * conform/data/netinet/in.h-data: Likewise.
61526         * conform/data/tar.h-data: Likewise.
61527         * conform/data/limits.h-data: Use "==" form on "constant" and
61528         "optional-constant" lines.
61530         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
61531         Use -std=c99 for XOPEN2K.
61532         (@knownproblems): Remove.
61533         (newtoken): Don't check %isknown.
61535         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
61536         Do not expect macro.
61537         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
61538         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
61539         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
61540         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
61541         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
61542         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
61543         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
61544         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
61545         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
61546         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
61547         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
61548         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
61549         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
61550         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
61551         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
61552         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
61553         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
61554         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61555         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
61556         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
61557         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
61558         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
61559         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
61560         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
61561         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
61562         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
61563         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
61564         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
61565         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
61566         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
61567         [XPG3] (acosh): Likewise.
61568         [XPG3] (asinh): Likewise.
61569         [XPG3] (atanh): Likewise.
61570         [XPG3] (cbrt): Likewise.
61571         [XPG3] (expm1): Likewise.
61572         [XPG3] (ilogb): Likewise.
61573         [XPG3] (log1p): Likewise.
61574         [XPG3] (logb): Likewise.
61575         [XPG3] (nextafter): Likewise.
61576         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
61577         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61578         [XPG3] (remainder): Likewise.
61579         [XPG3] (rint): Likewise.
61580         [XPG3 || XPG4 || UNIX98] (round): Likewise.
61581         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
61582         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
61583         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
61584         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
61585         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
61586         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
61587         [UNIX98 || XOPEN2K] (scalb): Expect.
61588         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
61589         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
61590         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
61591         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
61592         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
61593         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
61594         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
61595         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
61596         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
61597         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
61598         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
61599         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
61600         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
61601         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
61602         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
61603         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
61604         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
61605         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
61606         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
61607         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
61608         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
61609         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
61610         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
61611         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
61612         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
61613         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
61614         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
61615         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
61616         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
61617         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61618         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61619         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61620         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61621         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61622         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61623         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61624         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61625         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61626         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61627         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61628         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61629         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61630         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61631         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61632         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61633         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61634         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61635         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61636         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61637         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61638         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61639         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61640         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61641         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61642         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61643         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61644         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61645         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61646         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61647         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61648         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61649         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61650         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61651         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61652         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61653         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61654         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61655         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61656         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61657         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61658         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61659         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61660         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
61661         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
61662         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
61663         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
61664         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
61665         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
61666         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
61667         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
61668         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
61669         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
61670         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
61671         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
61672         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
61673         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
61674         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
61675         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
61676         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
61677         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
61678         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
61679         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
61680         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
61681         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
61682         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
61683         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
61684         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
61685         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
61686         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
61687         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
61688         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
61689         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
61690         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
61691         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
61692         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
61693         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
61694         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
61695         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
61696         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
61697         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
61698         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
61699         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
61700         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
61701         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
61702         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
61703         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61704         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61705         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61706         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61707         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61708         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61709         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61710         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61711         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61712         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61713         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61714         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61715         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61716         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61717         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61718         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61719         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61720         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61721         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61722         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61723         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61724         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61726         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61727         _XOPEN_SOURCE_EXTENDED for XPG4.
61729         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61731         * Makeconfig (localtime): Remove variable.
61732         (inst_localtime-file): Likewise.
61734 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61737         Update.
61738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61739         Update.
61740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61741         Update.
61742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61743         Update.
61744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61745         Update.
61746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61747         Update.
61748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61749         Update.
61750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61751         Update.
61752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61753         Update.
61755 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61757         [BZ #2550]
61758         [BZ #2570]
61759         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61760         comparisons to determine direction to adjust input.
61761         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61762         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61763         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61764         Likewise.
61765         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61766         Likewise.
61767         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61768         Likewise.
61769         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61770         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61771         Likewise.
61772         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61773         Likewise.
61774         * math/libm-test.inc (nexttoward_test): Add more tests.
61776 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61778         [BZ #14040]
61779         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61780         in version GLIBC_2.1, not GLIBC_2.0.
61781         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61782         Likewise.
61784 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61786         [BZ #13942]
61787         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61788         (1 - x) * (1 + x).
61789         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61790         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61791         * math/libm-test.inc (acos_test): Add more tests.
61792         (asin_test): Likewise.
61793         * sysdeps/i386/fpu/libm-test-ulps: Update.
61794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61796         [BZ #14034]
61797         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61798         of square root.
61799         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61800         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61801         * math/libm-test.inc (acos_test_tonearest): New function.
61802         (acos_test_towardzero): Likewise.
61803         (acos_test_downward): Likewise.
61804         (acos_test_upward): Likewise.
61805         (asin_test_tonearest): Likewise.
61806         (asin_test_towardzero): Likewise.
61807         (asin_test_downward): Likewise.
61808         (asin_test_upward): Likewise.
61809         (main): Call the new functions.
61810         * sysdeps/i386/fpu/libm-test-ulps: Update.
61811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61813         [BZ #13884]
61814         [BZ #13924]
61815         * math/e_exp10.c: Include <float.h>.
61816         (__ieee754_exp10): Handle underflow here rather than multiplying
61817         large negative argument by M_LN10.
61818         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61819         of __ieee754_expf.
61820         * math/e_exp10l.c: Include <float.h>.
61821         (__ieee754_exp10l): Handle underflow here rather than multiplying
61822         large negative argument by M_LN10l.
61823         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61824         spurious overflow exception on underflow.
61826 2012-04-29  Marek Polacek  <polacek@redhat.com>
61828         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61829         (__fortify_function): New macro.
61830         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61831         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61832         __extern_always_inline.
61833         * libio/bits/stdio2.h: Likewise.
61834         * libio/bits/stdio.h: Likewise.
61835         * string/string.h: Likewise.
61836         * string/bits/string3.h: Likewise.
61837         * include/stdio.h: Likewise.
61838         * stdlib/bits/stdlib.h: Likewise.
61839         * stdlib/stdlib.h: Likewise.
61840         * rt/bits/mqueue2.h: Likewise.
61841         * rt/mqueue.h: Likewise.
61842         * posix/bits/unistd.h: Likewise.
61843         * posix/unistd.h: Likewise.
61844         * io/bits/poll2.h: Likewise.
61845         * io/bits/fcntl2.h: Likewise.
61846         * io/fcntl.h: Likewise.
61847         * io/sys/poll.h: Likewise.
61848         * misc/bits/syslog.h: Likewise.
61849         * misc/bits/syslog-ldbl.h: Likewise.
61850         * misc/sys/syslog.h: Likewise.
61851         * socket/bits/socket2.h: Likewise.
61852         * socket/sys/socket.h: Likewise.
61853         * debug/tst-chk1.c: Likewise.
61854         * wcsmbs/bits/wchar2.h: Likewise.
61855         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61856         * wcsmbs/wchar.h: Likewise.
61858 2012-04-29  Andreas Jaeger  <aj@suse.de>
61860         * Makerules (tests): Remove enable-check-abi protection.
61861         (check-abi-warn): Remove.
61862         (check-abi-%): Remove check-abi-warn usage.
61864         * configure.in: Remove check-abi configure option.
61865         * configure: Regenerated.
61866         * config.make.in (enable-check-abi): Remove.
61868 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61870         [BZ #14033]
61871         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61872         double functions to double *_finite functions.
61874         [BZ #13941]
61875         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61876         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61877         LDBL_MIN_EXP.
61878         * stdio-common/Makefile (tests): Add tst-sprintf3.
61879         * stdio-common/tst-sprintf3.c: New file.
61881         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61882         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61884 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61886         * conform/conformtest.pl: Remove duplicate typed-constant
61887         handling.
61889 2012-04-28  David S. Miller  <davem@davemloft.net>
61891         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61892         (check-abi-%): Remove AWK script prerequisite and explicit
61893         abilist directory.
61894         (check-abi): Rewrite to just diff the symlist with the abilist.
61895         (config-tls, config-abi-config): Delete, no longer used.
61896         (update-abi-%): Remove AWK script and explicit abilist directory.
61897         (update-abi): Rewrite to simply compare and conditionally copy the
61898         symlist and the sysdep abilist file.  Remove update-abi-config
61899         checks.
61900         * abilist/ld.abilist: Remove.
61901         * abilist/libBrokenLocale.abilist: Remove.
61902         * abilist/libanl.abilist: Remove.
61903         * abilist/libcrypt.abilist: Remove.
61904         * abilist/libdl.abilist: Remove.
61905         * abilist/librt.abilist: Remove.
61906         * abilist/libthread_db.abilist: Remove.
61907         * abilist/libutil.abilist: Remove.
61908         * scripts/extract-abilist.awk: Remove.
61909         * scripts/merge-abilist.awk: Remove.
61910         * sysdeps/generic/libcidn.abilist: New file.
61911         * sysdeps/generic/libnss_compat.abilist: New file.
61912         * sysdeps/generic/libnss_db.abilist: New file.
61913         * sysdeps/generic/libnss_dns.abilist: New file.
61914         * sysdeps/generic/libnss_files.abilist: New file.
61915         * sysdeps/generic/libnss_hesiod.abilist: New file.
61916         * sysdeps/generic/libnss_nis.abilist: New file.
61917         * sysdeps/generic/libnss_nisplus.abilist: New file.
61918         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61919         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61920         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61921         file.
61922         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61923         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61924         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61925         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61926         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61927         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61928         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61929         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61930         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61931         file.
61932         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61933         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61934         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61935         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61936         file.
61937         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61938         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61939         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61940         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61941         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61942         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61943         file.
61944         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61945         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61946         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61947         file.
61948         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61950         New file.
61951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61952         New file.
61953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61954         New file.
61955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61956         New file.
61957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61958         New file.
61959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61960         New file.
61961         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61962         New file.
61963         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61964         New file.
61965         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61966         New file.
61967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61968         New file.
61969         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61970         New file.
61971         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61972         New file.
61973         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61974         New file.
61975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61976         file.
61977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61978         New file.
61979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61980         New file.
61981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61982         file.
61983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61984         New file.
61985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61986         New file.
61987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61988         file.
61989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61990         New file.
61991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61992         New file.
61993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61994         New file.
61995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61996         New file.
61997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61998         New file.
61999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62000         New file.
62001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62003         file.
62004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62005         New file.
62006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62007         file.
62008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62009         file.
62010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62011         file.
62012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62013         file.
62014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62015         file.
62016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62017         New file.
62018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62019         file.
62020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62021         file.
62022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62023         New file.
62024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62025         file.
62026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62028         file.
62029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62030         New file.
62031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62032         file.
62033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62034         file.
62035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62036         file.
62037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62038         file.
62039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62040         file.
62041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62042         New file.
62043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62044         file.
62045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62046         file.
62047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62048         New file.
62049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62050         file.
62051         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62052         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62053         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62054         file.
62055         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62056         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62057         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62058         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62059         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62060         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62061         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62062         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62063         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62064         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62067         file.
62068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62069         New file.
62070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62071         file.
62072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62073         file.
62074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62075         file.
62076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62077         file.
62078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62079         file.
62080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62081         New file.
62082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62083         New file.
62084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62085         file.
62086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62087         New file.
62088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62089         file.
62090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62092         file.
62093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62094         New file.
62095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62096         file.
62097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62098         file.
62099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62100         file.
62101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62102         file.
62103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62104         file.
62105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62106         New file.
62107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62108         New file.
62109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62110         file.
62111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62112         New file.
62113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62114         file.
62116 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62118         * conform/conformtest.pl: Fix typo in handling typed-constant from
62119         allow-header.
62121 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62123         * README: Cut down references to pre-2.6 Linux kernels and
62124         Linuxthreads.  Update lists of configurations in libc and ports
62125         and sort alphabetically.  Say "or newer" with Linux kernel version
62126         requirements.
62128         * config.h.in [IS_IN_build]: Allow compiling without optimization.
62130 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62132         [BZ #887]
62133         * math/libm-test.inc (logb_test_downward): New test to expose
62134         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
62135         rounding mode.
62137 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62139         [BZ #14027]
62140         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
62141         to be done.
62142         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
62143         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
62145 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
62147         * sysdeps/unix/i386/brk.S: Remove file.
62148         * sysdeps/unix/i386/dl-brk.S: Likewise.
62149         * sysdeps/unix/i386/pipe.S: Likewise.
62150         * sysdeps/unix/i386/sigreturn.S: Likewise.
62151         * sysdeps/unix/i386/syscall.S: Likewise.
62152         * sysdeps/unix/i386/vfork.S: Likewise.
62153         * sysdeps/unix/i386/wait.S: Likewise.
62155         * sysdeps/unix/common/tcsendbrk.c: Move to ...
62156         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
62158         * configure.in (arm*-none*): Do not allow without
62159         --enable-hacker-mode.
62160         (netbsd*): Remove case setting base_os.
62161         (386bsd*): Likewise.
62162         (freebsd*): Likewise.
62163         (bsdi*): Likewise.
62164         (osf*): Likewise.
62165         (sunos*): Likewise.
62166         (ultrix*): Likewise.
62167         (newsos*): Likewise.
62168         (dynix*): Likewise.
62169         (*bsd*): Likewise.
62170         (sysv*): Likewise.
62171         (isc*): Likewise.
62172         (esix*): Likewise.
62173         (sco*): Likewise.
62174         (minix*): Likewise.
62175         (irix4*): Likewise.
62176         (irix6*): Likewise.
62177         (solaris[2-9]*): Likewise.
62178         (none): Likewise.
62179         * configure: Regenerated.
62181 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62183         [BZ #11521]
62184         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
62185         overflow or cancellation in calculating denominator.
62186         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
62187         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
62188         down expression to avoid unexpected rounding in newer GCCs.
62189         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
62191 2012-04-26  David S. Miller  <davem@davemloft.net>
62193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
62194         long-double compat symbols.
62195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
62199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
62201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
62202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
62203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
62204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
62205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
62206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
62207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62209 2012-04-25  David S. Miller  <davem@davemloft.net>
62211         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
62212         HWCAP_* values only after the memory barriers have been defined.
62213         (atomic_full_barrier): Define.
62214         (atomic_read_barrier): Define.
62215         (atomic_write_barrier): Define.
62217 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62219         * shlib-versions: Add libgcc_s version information.
62220         * sysdeps/generic/libgcc_s.h: Remove.
62221         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
62222         libgcc_s.h.
62223         * sysdeps/gnu/unwind-resume.c: Likewise.
62224         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
62226 2012-04-25  David S. Miller  <davem@davemloft.net>
62228         * sysdeps/unix/sparc/brk.S: Delete.
62229         * sysdeps/unix/sparc/dl-brk.S: Delete.
62230         * sysdeps/unix/sparc/pipe.S: Delete.
62231         * sysdeps/unix/sparc/sysdep.S: Delete.
62232         * sysdeps/unix/sparc/sysdep.h: Delete.
62233         * sysdeps/unix/sparc/vfork.S: Delete.
62234         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
62235         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
62236         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
62237         (ret_ERRVAL, r0, r1, MOVE): Define.
62238         (JUMPTARGET): Remove.
62239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
62240         sysdeps/unix/sparc/sysdep.h
62241         (ENTRY, END): Remove.
62242         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62244 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
62246         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
62247         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
62248         -DIS_IN_build.
62250         * timezone/README: Update upstream location and email address for
62251         tzcode and tzdata.
62252         * timezone/zdump.c: Update from tzcode 2012b.
62253         * timezone/zic.c: Likewise.
62255         * configure.in (libc_cv_as_needed): Remove test.
62256         * configure: Regenerated.
62257         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
62258         conditional definition.
62259         [$(have-as-needed) != yes] (no-as-needed): Likewise.
62260         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
62261         * config.make.in (have-as-needed): Remove variable.
62263 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62264             Paul Pluzhnikov  <ppluzhnikov@google.com>
62266         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
62267         strings correctly.
62269 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
62271         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
62272         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
62273         * sysdeps/sh/strlen.S: Likewise.
62275 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62277         * sysdeps/unix/fork.S: Remove file.
62278         * sysdeps/unix/i386/fork.S: Likewise.
62279         * sysdeps/unix/sparc/fork.S: Likewise.
62281         * sysdeps/unix/system.c: Remove file.
62282         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
62284         * sysdeps/unix/getegid.S: Remove file.
62285         * sysdeps/unix/geteuid.S: Likewise.
62287 2012-04-24  Roland McGrath  <roland@hack.frob.com>
62289         * scripts/check-localplt.awk: New file.
62290         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
62291         of diff.
62292         * scripts/data/localplt-generic.data: Add a comment.
62294         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
62295         NODE when __dir_mkfile failed.
62296         * sysdeps/mach/hurd/symlinkat.c: Likewise.
62297         Reported by Ludovic Courtès <ludo@gnu.org>.
62299 2012-04-24  Andreas Jaeger  <aj@suse.de>
62301         * Makerules (common-clean): Also remove gen-as-const-headers
62302         files.
62304 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62306         * Makerules (native-compile): Do not change working directory for
62307         build.  Use $(OUTPUT_OPTION) in command.
62308         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
62310 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62312         [BZ #13886]
62313         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
62314         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
62315         * math/libm-test.inc (floor_test): Add more tests.
62316         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
62318 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62320         * sysdeps/unix/getdents.c: Remove file.
62321         * sysdeps/unix/sysv/getdents.c: Likewise.
62322         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
62324         * sysdeps/unix/syscalls.list (madvise): Add syscall from
62325         sysdeps/unix/mman/syscalls.list.
62326         (mmap): Likewise.
62327         (mprotect): Likewise.
62328         (msync): Likewise.
62329         (munmap): Likewise.
62330         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
62331         * sysdeps/unix/mman/syscalls.list: Remove.
62332         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
62334         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
62335         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
62336         * configure: Regenerated.
62337         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
62338         $(libgcc_s_suffix).
62339         * config.make.in (libgcc_s_suffix): Remove variable.
62341 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
62343         * sysdeps/unix/sysv/gethostname.c: Move to ...
62344         * sysdeps/posix/gethostname.c: ... here.
62346         * sysdeps/unix/execve.S: Remove file.
62348         * sysdeps/unix/_exit.S: Remove file.
62350 2012-04-23  Andreas Jaeger  <aj@suse.de>
62352         [BZ #13739]
62353         * manual/Makefile: Remove make dist support, there's no
62354         need for a stand-alone documentation tar ball.
62355         (TEXI2DVI): Define always, it's not in Makeconfig.
62356         (dist): Removed.
62357         (tar-it): Removed.
62358         (edition): Removed.
62359         (glibc-doc-$(edition).tar): Removed
62360         (%.Z): Removed.
62361         (%.gz): Removed.
62362         (%.uu): Removed.
62363         (ETAGS): Remove, it's in Makeconfig.
62364         (move-if-change): Remove, it's in Makeconfig.
62366 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
62368         [BZ #13970]
62369         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
62370         (strtod, strtof, strtold, strtol, strtoul, strtoq)
62371         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
62372         (strtod_l, strtof_l, strtold_l): Remove __wur.
62373         It is not necessarily an error to ignore strtol's return value.
62374         One can reliably look at the stored endptr to decide whether
62375         the number had valid syntax.
62377 2012-04-21  Andreas Jaeger  <aj@suse.de>
62379         [BZ #13739]
62380         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
62382 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
62384         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
62385         * sysdeps/unix/sysv/Versions: Remove file.
62387 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
62389         [BZ #13927]
62390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62392 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
62394         [BZ #7064]
62395         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
62396         version from __vm86.
62398 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
62400         * sysdeps/unix/common/lxstat.c: Remove file.
62401         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
62403         * sysdeps/unix/sysv/Makefile: Remove file.
62405         * sysdeps/unix/sysv/direct.h: Remove file.
62407         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
62408         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
62409         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
62410         * sysdeps/unix/sysv/bits/signum.h: Likewise.
62411         * sysdeps/unix/sysv/bits/stat.h: Likewise.
62412         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
62413         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
62415         * sysdeps/unix/sysv/setrlimit.c: Remove file.
62417         * sysdeps/unix/xmknod.c: Remove file.
62418         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
62420         * sysdeps/unix/sysv/settimeofday.c: Remove file.
62422         * sysdeps/unix/sysv/i386/time.S: Remove file.
62424         * sysdeps/unix/fxstat.c: Remove file.
62425         * sysdeps/unix/xstat.c: Likewise.
62426         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
62428         * sysdeps/unix/sysv/sigaction.c: Remove file.
62430         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
62431         (sysdep_headers): Remove variable.
62432         [termio.h not in sysdep_headers] (generated): Likewise.
62433         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
62434         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
62435         * sysdeps/unix/sysv/tcdrain.c: Likewise.
62436         * sysdeps/unix/sysv/tcflow.c: Likewise.
62437         * sysdeps/unix/sysv/tcflush.c: Likewise.
62438         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
62439         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
62440         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
62441         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
62442         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
62444         * sysdeps/unix/siglist.c: Remove file.
62446         * sysdeps/unix/getppid.S: Remove file.
62448         * sysdeps/unix/mkdir.c: Remove file.
62449         * sysdeps/unix/rmdir.c: Likewise.
62451 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
62453         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
62454         ERR_MAX value.
62455         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
62456         errlist-compat value.
62458 2012-04-18  David S. Miller  <davem@davemloft.net>
62460         * sysdeps/generic/memcopy.h (reg_char): Delete.
62461         * debug/strcat_chk.c: Use char, not reg_char.
62462         * debug/strcpy_chk.c: Likewise.
62463         * debug/strncat_chk.c: Likewise.
62464         * debug/strncpy_chk.c: Likewise.
62465         * string/memchr.c: Likewise.
62466         * string/memrchr.c: Likewise.
62467         * string/rawmemchr.c: Likewise.
62468         * string/strcat.c: Likewise.
62469         * string/strchr.c: Likewise.
62470         * string/strchrnul.c: Likewise.
62471         * string/strcmp.c: Likewise.
62472         * string/strcpy.c: Likewise.
62473         * string/strncat.c: Likewise.
62474         * string/strncmp.c: Likewise.
62475         * string/strncpy.c: Likewise.
62477 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62479         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
62480         __builtin_memcopy is called when src and dest ranges are known to not
62481         overlap.
62483 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62485         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
62486         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
62487         fwd_align_merge macro call.
62488         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
62489         bwd_align_merge macro call.
62490         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62492 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62494         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
62495         bwd_align_merge macros.
62496         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
62497         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
62498         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62500 2012-04-18  David S. Miller  <davem@davemloft.net>
62502         * sysdeps/sparc/sparc64/memcopy.h: Delete.
62504 2012-04-18  Andreas Jaeger  <aj@suse.de>
62506         [BZ# 6794]
62507         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
62508         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
62509         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62511         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
62512         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
62513         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62515         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
62516         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
62517         Adjust for changed ldbl-128 files.
62519         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
62520         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
62521         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62523 2012-04-17  David S. Miller  <davem@davemloft.net>
62525         * sysdeps/sparc/sparc32/memcopy.h: Delete.
62527 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
62529         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
62530         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
62531         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
62532         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
62533         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62534         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
62536 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62538         [BZ #6794]
62539         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
62540         * math/libm-test.inc: Add ilogb errno and exception tests.
62541         * math/w_ilogb.c: New file: ilogb wrapper.
62542         * math/w_ilogbf.c: New file: ilogbf wrapper.
62543         * math/w_ilogbl.c: New file: ilogbl wrapper.
62544         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
62545         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
62546         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
62547         exception being thrown with 0.0 as argument.
62548         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
62549         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
62550         exception being thrown with 0.0 as argument.
62551         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
62552         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62553         exception being thrown with 0.0 as argument.
62554         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
62555         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62556         exception being thrown with 0.0 as argument.
62557         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
62558         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
62559         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
62560         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
62561         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
62562         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
62563         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
62564         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
62565         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
62567 2012-04-17  Petr Baudis  <pasky@ucw.cz>
62569         * include/sys/uio.h: Change __vector to __iovec to avoid clash
62570         with altivec.
62572 2012-04-16  Marek Polacek  <polacek@redhat.com>
62574         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
62576 2012-04-16  Marek Polacek  <polacek@redhat.com>
62578         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
62579         operands of fdivp instruction.
62581 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62583         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
62584         * elf/tst-auditmod3b.c: Likewise.
62585         * elf/tst-auditmod4b.c: Likewise.
62586         * elf/tst-auditmod5b.c: Likewise.
62587         * elf/tst-auditmod6b.c: Likewise.
62588         * elf/tst-auditmod6c.c: Likewise.
62589         * elf/tst-auditmod7b.c: Likewise.
62590         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
62591         * sysdeps/x86_64/preconfigure.in: Likewise.
62592         * sysdeps/x86_64/preconfigure: Regenerated.
62594 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62596         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
62597         __ILP32__.
62599 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
62601         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62602         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
62604 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
62606         [BZ #13973]
62607         * locale/iso-639.def: Fix gl language name. Spotted by
62608         Yaron Shahrabani.
62610 2012-04-12  Roland McGrath  <roland@hack.frob.com>
62612         [BZ #2074]
62613         * libio/libio.h (__io_write_fn): Update comment.
62615 2012-04-12  Petr Baudis  <pasky@ucw.cz>
62617         [BZ #2074]
62618         * stdio.texi (Hook Functions): The user provided writer function
62619         is not allowed to return -1.
62621 2012-04-11  David S. Miller  <davem@davemloft.net>
62623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62625 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
62627         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62628         Add a leading slash to rtkaio.
62630 2012-04-11  Jim Meyering  <meyering@redhat.com>
62632         [BZ #11959]
62633         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62634         It is not necessarily an error to ignore fwrite's return
62635         value.  One can reliably use ferror to test for errors after
62636         the fact.
62638 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62640         * bits/types.h (__snseconds_t): New type.
62641         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62643         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62645         (__SNSECONDS_T_TYPE): Likewise.
62646         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62647         (__SNSECONDS_T_TYPE): Likewise.
62648         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62649         (__SNSECONDS_T_TYPE): Likewise.
62651 2012-04-10  Andreas Jaeger  <aj@suse.de>
62653         [BZ #2636]
62654         * manual/time.texi (Processor Time): Return type of times is
62655         elapsed real time since an arbitrary point in the past.
62656         (CPU Time): Move CLK_TCK from here...
62657         (Processor Time): ...to here.  Correct description.
62658         * manual/conf.texi (Constants for Sysconf): Correct description of
62659         _SC_CLK_TCK.
62661 2012-04-10  David S. Miller  <davem@davemloft.net>
62663         [BZ #13967]
62664         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
62665         where the is a gap between DT_REL(A) and DT_JMPREL.
62667 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62669         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
62670         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62671         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62673 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62675         * elf/dl-support.c (_dl_inhibit_cache): New variable.
62676         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
62677         (dl_main): Handle --inhibit-cache.
62678         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
62679         _dl_inhibit_cache.
62680         * elf/dl-load.c (_dl_map_object): Use it.
62681         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62683 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62685         [BZ #13872]
62686         * sysdeps/i386/fpu/e_powl.S (p78): New object.
62687         (__ieee754_powl): Saturate large exponents rather than testing for
62688         overflow of y*log2(x).
62689         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62690         * math/libm-test.inc (pow_test): Do not permit spurious overflow
62691         exceptions.
62693         [BZ #11521]
62694         * math/s_ctan.c: Include <float.h>.
62695         (__ctan): Avoid internal overflow or cancellation in calculating
62696         denominator.
62697         * math/s_ctanf.c: Likewise.
62698         * math/s_ctanl.c: Likewise.
62699         * math/s_ctanh.c: Likewise.
62700         * math/s_ctanhf.c: Likewise.
62701         * math/s_ctanhl.c: Likewise.
62702         * math/libm-test.inc (ctan_test): Add more tests.
62703         (ctanh_test): Likewise.
62704         * sysdeps/i386/fpu/libm-test-ulps: Update.
62705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62707 2012-04-09  Andreas Jaeger  <aj@suse.de>
62709         [BZ #6894]
62710         * manual/filesys.texi (Directory Entries): Mention that d_namlen
62711         is an optional BSD extension.
62713         [BZ #10254]
62714         * manual/stdio.texi (Opening Streams): Document additional fopen
62715         parameters.
62717 2012-04-09  Roland McGrath  <roland@hack.frob.com>
62719         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62720         %eax without telling the compiler.
62722 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
62724         [BZ # 13963]
62725         * manual/install.texi: Use sourceware.org.
62727 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62729         [BZ #13873]
62730         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62731         (__ieee754_pow): Generate overflow and underflow using huge*huge
62732         and tiny*tiny rather than just returning constant infinity or zero
62733         for large exponents.
62734         * math/libm-test.inc (pow_test): Require overflow exceptions for
62735         applicable cases of large exponents.
62737         [BZ #706]
62738         * sysdeps/i386/fpu/e_pow.S (p10): New object.
62739         (__ieee754_pow): Use iterative multiplication algorithm only for
62740         integer exponents with absolute value below 1024.  Check for odd
62741         integer exponents when using algorithm for real exponents.
62742         * math/libm-test.inc (pow_test): Add more tests.
62743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62745 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
62747         [BZ #13705]
62748         * math/libm-test.inc (exp_test): Do not allow overflow exception
62749         on underflow test.
62751 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
62753         [BZ #13705]
62754         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62755         instead of __kernel_standard_f.
62757 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62759         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62760         * sysdeps/x86_64/memset_chk.S: Likewise.
62762 2012-04-08  Andreas Jaeger  <aj@suse.de>
62764         [BZ #10153]
62765         * manual/startup.texi (Environment Access): Describe return value
62766         for putenv and setenv.
62768         [BZ #6895]
62769         * manual/filesys.texi (Directory Entries): Add description for
62770         DT_LNK.
62772         [BZ #6890]
62773         * manual/filesys.texi (Directory Entries): Clarify that it's file
62774         system not operating system in the description of DT_UNKNOWN.
62776         [BZ #6578]
62777         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62779 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62781         [BZ #6649]
62782         * manual/llio.texi (Opening and Closing Files): Add cross
62783         reference to explain mode argument.
62785 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62787         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62788         * sysdeps/x86_64/memset_chk.S: Likewise.
62790 2012-04-07  David S. Miller  <davem@davemloft.net>
62792         * elf/elf.h (R_SPARC_WDISP10): Define.
62793         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62794         R_SPARC_SIZE32.
62795         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62796         R_SPARC_SIZE64 and R_SPARC_H34.
62798 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62800         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62801         conditions and remove no longer applicable assertion.
62803 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62805         * bits/byteswap.h: Include <features.h>.
62806         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62807         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62809 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62811         * bits/byteswap.h (__bswap_16): Removed.
62812         Include <bits/byteswap-16.h> to get __bswap_16.
62813         * sysdeps/i386/bits/byteswap.h: Likewise.
62814         * sysdeps/s390/bits/byteswap.h: Likewise.
62815         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62816         * bits/byteswap-16.h: New file.
62817         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62818         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62819         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62820         * string/Makefile (headers): Add bits/byteswap-16.h.
62822 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62824         [BZ #13895]
62825         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62826         extra indirection.
62827         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62828         * nss/tst-nss-static.c: New.
62830 2012-04-06  Robert Millan  <rmh@gnu.org>
62832         [BZ #6486]
62833         * manual/llio.texi (File Position Primitive): lseek
62834         refers to WHENCE when it really means OFFSET.
62836 2012-04-06  Andreas Jaeger  <aj@suse.de>
62838         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62839         strncmp declarations.
62841         * abilist/libc.abilist: Add __poll and __ppoll.
62843 2012-04-05  David S. Miller  <davem@davemloft.net>
62845         * scripts/check-local-headers.sh: Accept a host triplet in the
62846         path matched by the exclude regexp.
62848         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62849         definition.
62850         * sysdeps/powerpc/powerpc32/dl-machine.h
62851         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62852         * sysdeps/s390/s390-32/dl-machine.h
62853         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62854         * sysdeps/sparc/sparc32/dl-machine.h
62855         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62856         * sysdeps/sparc/sparc64/dl-machine.h
62857         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62859         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62860         lazy binding.
62861         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62862         undefined symbol errors.
62864         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62865         DT_NEEDED entries.
62867 2012-04-05  Michael Matz  <matz@suse.de>
62869         [BZ #13592]
62870         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62872 2012-04-05  Andreas Jaeger  <aj@suse.de>
62874         [BZ #13908]
62875         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62876         comment.
62878 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62880         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62881         which ROUND is no valid rounding mode.
62883 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62885         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62886         read again.
62887         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62889 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62891         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62892         an exception using FPU order intentionally.
62894 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62896         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62897         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62898         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62899         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62901 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62903         [BZ #12340]
62904         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62905         EINVAL when BUFLEN is too smal.
62907 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62909         [BZ #13553]
62910         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62911         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62913 2012-04-03  Andreas Jaeger  <aj@suse.de>
62915         [BZ #13938]
62916         * manual/setjmp.texi (System V contexts): Fix sentence.
62918         [BZ #13926]
62919         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62920         New macro for this case.
62921         [!__GNUC__] (__bswap_64): New inline function for this case.
62922         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62923         * bits/byteswap.h: Likewise.
62924         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62925         ull, guard with __GLIBC_HAVE_LONG_LONG.
62927         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62928         __GLIBC_HAVE_LONG_LONG.
62930         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62931         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62933 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62935         [BZ #13691]
62936         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62937         inptr and inend, rather than using last_ch.
62939 2012-04-02  David S. Miller  <davem@davemloft.net>
62941         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62942         * stdio-common/printf-parse.h (read_int): Change return type to
62943         'int', return -1 on INT_MAX overflow.
62944         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62945         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62946         overflows INT_MAX.  Check for overflow of in-format-string precision
62947         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62948         SIZE_MAX not INT_MAX for integer overflow test.
62949         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62950         skip the construct in the format string but do not record anything.
62951         * stdio-common/bug22.c: Adjust to test both width/prevision
62952         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62953         explicitly for proper errno values.
62955 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62957         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62958         CHAR_MAX.
62959         * string/test-strcmp.c [! WIDE]: Likewise.
62960         * time/tst-mktime2.c: Likewise for INT_MAX.
62961         * string/test-string.h: #include <sys/param.h> for MIN.
62963         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62964         * sysdeps/i386/init-first.c (init): Likewise.
62965         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62966         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62967         * sysdeps/sh/init-first.c (init): Likewise.
62969 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62971         * po/ru.po: Update from translation team.
62972         * po/vi.po: Likewise.
62974 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62976         * resolv/nss_dns/dns-host.c: Merge copyright years.
62978 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62980         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62981         Optimize memcpy with prefetch if
62982         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62983         src, dst pointers have unequal 16 byte alignments.
62985 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62987         [BZ #13928]
62988         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62989         from a CNAME entry and return the minimum ttl for the query.
62990         (gaih_getanswer_slice): Likewise.
62992 2012-03-30  Jeff Law  <law@redhat.com>
62994         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62995         due to long keys.
62996         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62997         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62999         * resolv/nss_dns/dns-host.c: Update copyright year.
63001 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63003         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63004         requests to save a system call.  Fix check that all bytes are sent.
63006         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63007         comments for sendmmsg.
63009 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63011         [BZ #13691]
63012         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63013         with only 1 character between 0x0041 and 0x01b0.
63014         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63015         * wcsmbs/tst-mbsnrtowcs.c: New file.
63017 2012-03-29  David S. Miller  <davem@davemloft.net>
63019         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63020         small copies by hand.
63022 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63024         [BZ #13761]
63025         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63026         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63027         group memberships.
63029 2012-03-28  David S. Miller  <davem@davemloft.net>
63031         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63032         that branches into memcpy.
63033         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63034         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63036         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63037         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63038         bits.
63039         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63040         implementation too.
63041         * sysdeps/sparc/mempcpy.S: New file.
63043         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63044         the IFUNC routine in the libc case.
63045         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63047         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63048         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63049         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63050         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63051         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63052         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63053         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63054         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63056         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63057         loop to 256 bytes instead of 64 bytes and fix test signedness.
63059         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63060         * sysdeps/sparc/sparc32/Makefile: rather than here...
63061         * sysdeps/sparc/sparc64/Makefile: and here.
63063 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
63065         * malloc/mallocbug.c: Avoid warnings about unused variables.
63067 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63069         [BZ #13760]
63070         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63071         in the right place. Discard and retry query if response is
63072         larger than input buffer size.
63074 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
63076         [BZ #369]
63077         [BZ #2678]
63078         [BZ #3866]
63079         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63080         x for large integer exponent.
63081         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63082         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
63083         sign of result as needed afterwards.
63084         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63085         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63086         result for underflowing pow the same as for overflow.
63087         (__kernel_standard_l): Handle powl overflow and underflow here
63088         rather than calling __kernel_standard.
63089         * math/libm-test.inc (pow_test): Add more tests.
63091         [BZ #3868]
63092         [BZ #13879]
63093         [BZ #13910]
63094         [BZ #13911]
63095         [BZ #13912]
63096         [BZ #13913]
63097         [BZ #13915]
63098         [BZ #13916]
63099         [BZ #13917]
63100         [BZ #13918]
63101         [BZ #13919]
63102         [BZ #13920]
63103         [BZ #13921]
63104         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63105         * sysdeps/ieee754/k_standard.c: Include <float.h>.
63106         (__kernel_standard_l): New function.
63107         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63108         __kernel_standard.
63109         * math/w_acosl.c (__acosl): Likewise.
63110         * math/w_asinl.c (__asinl): Likewise.
63111         * math/w_atan2l.c (__atan2l): Likewise.
63112         * math/w_atanhl.c (__atanhl): Likewise.
63113         * math/w_coshl.c (__coshl): Likewise.
63114         * math/w_exp10l.c (__exp10l): Likewise.
63115         * math/w_exp2l.c (__exp2l): Likewise.
63116         * math/w_fmodl.c (__fmodl): Likewise.
63117         * math/w_hypotl.c (__hypotl): Likewise.
63118         * math/w_j0l.c (__j0l, __y0l): Likewise.
63119         * math/w_j1l.c (__j1l, __y1l): Likewise.
63120         * math/w_jnl.c (__jnl, __ynl): Likewise.
63121         * math/w_lgammal.c (__lgammal): Likewise.
63122         * math/w_log10l.c (__log10l): Likewise.
63123         * math/w_log2l.c (__log2l): Likewise.
63124         * math/w_logl.c (__logl): Likewise.
63125         * math/w_powl.c (__powl): Likewise.
63126         * math/w_remainderl.c (__remainderl): Likewise.
63127         * math/w_scalbl.c (sysv_scalbl): Likewise.
63128         * math/w_sinhl.c (__sinhl): Likewise.
63129         * math/w_sqrtl.c (__sqrtl): Likewise.
63130         * math/w_tgammal.c (__tgammal): Likewise.
63131         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
63132         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
63133         * math/libm-test.inc (acos_test): Add more tests.
63134         (acosh_test): Likewise.
63135         (asin_test): Likewise.
63136         (atanh_test): Likewise.
63137         (exp_test): Likewise.
63138         (exp10_test): Likewise.
63139         (exp2_test): Likewise.
63140         (expm1_test): Likewise.
63141         (lgamma_test): Likewise.
63142         (log_test): Likewise.
63143         (log10_test): Likewise.
63144         (log1p_test): Likewise.
63145         (log2_test): Likewise.
63146         (pow_test): Do not allow some spurious overflow exceptions.
63147         (sqrt_test): Add more tests.
63148         (tgamma_test): Likewise.
63149         (y0_test): Likewise.
63150         (y1_test): Likewise.
63151         (yn_test): Likewise.
63153 2012-03-27  Anton Blanchard  <anton@samba.org>
63155         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
63156         MAP_HUGETLB.
63157         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63158         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63159         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63161 2012-03-27  David S. Miller  <davem@davemloft.net>
63163         * conform/Makefile: Run run-conformtest.sh using $(BASH).
63165         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
63166         have-as-vis3 check.
63168 2012-03-27  Andreas Jaeger  <aj@suse.de>
63170         * sysdeps/x86_64/elf/configure.in: Moved to ...
63171         * sysdeps/x86_64/configure.in: ... here.
63172         * sysdeps/x86_64/elf/start.S: Moved to ...
63173         * sysdeps/x86_64/start.S: ... here.
63174         * sysdeps/x86_64/elf/configure: Delete.
63176         * sysdeps/x86_64/configure.in: Merge contents from
63177         sysdeps/i386/configure.in (without i686 check).
63179         * sysdeps/i386/elf/Versions: Merge into ...
63180         * sysdeps/i386/Versions: ... this.
63181         * sysdeps/i386/elf/Versions: Delete file.
63182         * sysdeps/i386/elf/start.S: Moved to ...
63183         * sysdeps/i386/start.S: ...here.
63184         * sysdeps/i386/elf/configure.in: Merge into...
63185         * sysdeps/i386/configure.in: ...here.
63186         * sysdeps/i386/elf/configure.in: Delete file.
63187         * sysdeps/i386/elf/configure: Delete file.
63189         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
63190         * debug/backtracesyms.c: ... here.
63191         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
63192         * debug/backtracesymsfd.c: ... here.
63193         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
63194         * sysdeps/generic/ifunc-sel.h: ... here.
63196         * sysdeps/unix/i386/start.c: Delete file.
63197         * sysdeps/unix/sparc/start.c: Delete file.
63198         * sysdeps/unix/start.c: Delete file.
63200         * sysdeps/sh/elf/configure.in: Moved to ...
63201         * sysdeps/sh/configure.in: ... here.
63202         * sysdeps/sh/elf/start.S: Moved to ...
63203         * sysdeps/sh/start.S: ... here.
63204         * sysdeps/sh/elf/configure: Delete file.
63206         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
63207         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
63208         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
63209         * sysdeps/powerpc/powerpc64/entry.h: ... here.
63210         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
63211         * sysdeps/powerpc/powerpc64/start.S: here.
63212         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
63213         * sysdeps/powerpc/powerpc64/Makefile: ... this.
63214         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
63215         * sysdeps/powerpc/powerpc64/configure.in: ... this.
63216         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
63218         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
63219         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
63220         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
63221         * sysdeps/powerpc/powerpc32/start.S: ... here.
63222         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
63223         * sysdeps/powerpc/powerpc32/configure.in: ... this.
63224         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
63226         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
63227         * sysdeps/powerpc/ifunc-sel.h: ... here.
63228         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
63229         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
63231         * sysdeps/sparc/elf/configure.in: Moved to ...
63232         * sysdeps/sparc/configure.in: ... here.
63233         * sysdeps/sparc/elf/configure: Delete file.
63234         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
63235         * sysdeps/sparc/sparc32/start.S: ... here.
63236         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
63237         * sysdeps/sparc/sparc64/start.S: ... here.
63238         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
63239         * sysdeps/sparc/sparc32/Makefile: ... this.
63240         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
63241         * sysdeps/sparc/sparc64/Makefile: ... this.
63243         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
63244         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
63245         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
63246         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
63247         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
63248         * sysdeps/s390/s390-32/setjmp.S: ... here.
63249         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
63250         * sysdeps/s390/s390-32/configure.in: ... here.
63251         * sysdeps/s390/s390-32/elf/configure: Delete file.
63252         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
63253         * sysdeps/s390/s390-32/start.S: ... here.
63255         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
63256         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
63257         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
63258         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
63259         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
63260         * sysdeps/s390/s390-64/setjmp.S: ... here.
63261         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
63262         * sysdeps/s390/s390-64/configure.in: ... here
63263         * sysdeps/s390/s390-64/elf/configure: Delete file.
63264         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
63265         * sysdeps/s390/s390-64/start.S: ... here.
63266         * sysdeps/s390/s390-64/elf/configure: Delete.
63268         * configure.in: Remove support for elf directories in sysdeps.
63270         * configure: Regenerated.
63271         * sysdeps/i386/configure: Regenerated.
63272         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63273         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63274         * sysdeps/s390/s390-32/configure: Regenerated.
63275         * sysdeps/s390/s390-64/configure: Regenerated.
63276         * sysdeps/sh/configure: Regenerated.
63277         * sysdeps/sparc/configure: Regenerated.
63278         * sysdeps/x86_64/configure: Regenerated.
63280 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
63282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
63285         denormal result into account.
63287 2012-03-25  Roland McGrath  <roland@hack.frob.com>
63289         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
63290         Reported by Allan McRae <allan@archlinux.org>.
63292 2012-03-23  Jeff Law  <law@redhat.com>
63294         * nss/getnssent.c (__nss_getent): Fix typo.
63296 2012-03-23  David S. Miller  <davem@davemloft.net>
63298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63300 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
63302         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
63303         to pad to uint64_t for each field.
63304         (dl_tls_index): Replace unsigned long with uint64_t.
63306 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
63307         Paul Pluzhnikov  <ppluzhnikov@google.com>
63309         [BZ #6528]
63310         * grp/Makefile (otherlibs): Don't set it.
63311         * inet/Makefile (otherlibs): Likewise.
63312         * login/Makefile (otherlibs): Likewise.
63313         * nscd/Makefile (otherlibs): Likewise.
63314         * posix/Makefile (otherlibs): Likewise.
63315         * pwd/Makefile (otherlibs): Likewise.
63316         * rt/Makefile (otherlibs): Likewise.
63317         * sunrpc/Makefile (otherlibs): Likewise.
63318         * nss/Makefile (otherlibs): Likewise.
63319         Add libnss_files to routines and static-only-routines.
63320         ($(objpfx)getent): Remove rule.
63321         * resolv/Makefile: Add libnss_dns and libresolv to routines and
63322         static-only-routines.
63324 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63326         [BZ #13892]
63327         * math/s_cexp.c: Include <float.h>.
63328         (__cexp): Handle exp result overflowing not necessarily
63329         overflowing both real and imaginary parts of result.
63330         * math/s_cexpf.c: Likewise.
63331         * math/s_cexpl.c: Likewise.
63332         * math/libm-test.inc (cexp_test): Add more tests.
63333         * sysdeps/i386/fpu/libm-test-ulps: Update.
63334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63336 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63338         * include/link.h (ELFW): New macro.
63339         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
63340         Replace ELF64_R_TYPE with ELFW(R_TYPE).
63342 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63344         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
63345         with uint64_t.
63347 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63349         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
63350         declaration.
63351         (struct La_x32_retval): Likewise.
63353 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63355         * sysdeps/x86_64/preconfigure.in: New file.
63356         * sysdeps/x86_64/preconfigure: New generated file.
63358 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63360         [BZ #13824]
63361         * math/e_exp2l.c: Include <float.h>.
63362         (__ieee754_exp2l): Handle overflow and underflow cases
63363         separately.  Only pass fractional part of argument to
63364         __ieee754_expl.
63365         * math/libm-test.inc (exp2_test): Add more tests.
63367         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63368         negating x to take absolute value.
63369         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
63370         Likewise.
63371         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63372         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
63373         Likewise.
63374         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
63375         computing low part if x was negated.
63376         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63378 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63380         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
63381         la_x32_gnu_pltexit.
63382         (pltexit): Cast int_retval to ptrdiff_t.
63383         * elf/tst-auditmod3b.c: Likewise.
63384         * elf/tst-auditmod4b.c: Likewise.
63385         * elf/tst-auditmod5b.c: Likewise.
63386         * elf/tst-auditmod6b.c: Likewise.
63387         * elf/tst-auditmod6c.c: Likewise.
63388         * elf/tst-auditmod7b.c: Likewise.
63390         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
63391         and x32_gnu_pltexit.
63393         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
63394         __ELF_NATIVE_CLASS.
63395         (La_x32_regs): New macro.
63396         (La_x32_retval): Likewise.
63397         (la_x32_gnu_pltenter): New function prototype.
63398         (la_x32_gnu_pltexit): Likewise.
63400 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
63402         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
63403         exponent.
63405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63407         * configure.in (libc_cv_cc_nofma): Check for option to disable
63408         generation of FMA instructions.
63409         * configure: Regenerate.
63410         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
63411         * sysdeps/ieee754/dbl-64/Makefile: New file.
63412         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
63413         Remove brandred-fma4.
63414         (CFLAGS-brandred-fma4.c): Remove.
63415         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
63416         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
63417         define.
63418         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
63419         define.
63421 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63423         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63424         LLONG_MAX != LONG_MAX.
63425         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63426         (_fitoa_word): Likewise.
63427         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
63428         LLONG_MAX != LONG_MAX.
63429         * stdio-common/_itowa.h: Include <_itoa.h>.
63430         (_itowa_word): Use _ITOA_WORD_TYPE on value.
63431         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
63432         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
63433         only if not defined.
63434         (_ITOA_WORD_TYPE): Likewise.
63435         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63436         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
63438 2012-03-21  David S. Miller  <davem@davemloft.net>
63440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63442 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63444         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
63445         of x86_64 when setting libc_cv_slibdir, libdir and
63446         libc_cv_localedir.
63447         * sysdeps/unix/sysv/linux/configure: Regenerated.
63449 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63451         * manual/lang.texi (Old Varargs): Remove section.
63452         (How Variadic): Update menu.
63453         (va_start): Do not mention varargs.h.
63455 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63456             Joseph Myers  <joseph@codesourcery.com>
63458         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
63459         link test.
63460         * configure: Regenerated.
63462 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63464         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
63465         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
63466         conformtest.pl
63468 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63470         * NOTES: Remove.
63471         * Makefile (files-for-dist): Remove NOTES.
63472         (NOTES): Remove rule.
63473         * README: Don't refer to NOTES.
63474         * manual/creature.texi: Don't include macros.texi.
63475         * manual/intro.texi (creature.texi): Remove comment referring to
63476         NOTES.
63478         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
63479         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
63480         * configure: Regenerated.
63481         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
63482         LIBC_TRY_CC_OPTION.
63483         (libc_cv_as_i686): Likewise.
63484         (libc_cv_cc_avx): Likewise.
63485         (libc_cv_cc_sse2avx): Likewise.
63486         (libc_cv_cc_fma4): Likewise.
63487         (libc_cv_cc_novzeroupper): Likewise.
63488         * sysdeps/i386/configure: Regenerated.
63490         [BZ #13883]
63491         * sysdeps/i386/fpu/s_cexp.S: Remove.
63492         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63493         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63494         * math/libm-test.inc (cexp_test): Add more tests.
63495         * sysdeps/i386/fpu/libm-test-ulps: Update.
63496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63498 2012-03-21  Allan McRae  <allan@archlinux.org>
63500         * timezone/Makefile: Do not install iso3166.tab and zone.tab
63502 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63504         [BZ #13871]
63505         * math/w_exp2.c: Do not include <float.h>.
63506         (o_threshold, u_threshold): Remove.
63507         (__exp2): Calculate result before checking finiteness and calling
63508         __kernel_standard.
63509         * math/w_exp2f.c: Likewise.
63510         * math/w_exp2l.c: Likewise.
63511         * math/libm-test.inc (exp2_test): Require overflow exception for
63512         1e6 input.
63514         [BZ #3866]
63515         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
63516         range of signed 64-bit integers before using fistpll.  Remove
63517         checks for whether integers fit in mantissa bits.
63518         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
63519         the range of signed 32-bit integers before using fistpl.  Remove
63520         checks for whether integers fit in mantissa bits.
63521         * sysdeps/i386/fpu/e_powl.S (p64): New object.
63522         (__ieee754_powl): Test for y outside the range of signed 64-bit
63523         integers before using fistpll.  Reduce 64-bit values to 63-bit
63524         ones as needed.
63525         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
63526         divide-by-zero is raised for zero to large negative powers.
63527         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
63528         (__ieee754_powl): Test for y outside the range of signed 64-bit
63529         integers before using fistpll.  Reduce 64-bit values to 63-bit
63530         ones as needed.
63531         * math/libm-test.inc (pow_test): Add more tests.
63533 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63535         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
63536         <stdio-common/_itoa.h>.
63537         * debug/segfault.c: Likewise.
63538         * elf/dl-cache.c: Likewise.
63539         * elf/dl-minimal.c: Likewise.
63540         * elf/dl-misc.c: Likewise.
63541         * elf/dl-sysdep.c: Likewise.
63542         * elf/dl-version.c: Likewise.
63543         * elf/rtld.c: Likewise.
63544         * hurd/hurdsock.c: Likewise.
63545         * hurd/lookup-retry.c: Likewise.
63546         * malloc/malloc.c: Likewise.
63547         * malloc/mtrace.c: Likewise.
63548         * nscd/nscd_getgr_r.c: Likewise.
63549         * nscd/nscd_getpw_r.c: Likewise.
63550         * nscd/nscd_getserv_r.c: Likewise.
63551         * posix/getopt_init.c: Likewise.
63552         * posix/wordexp.c: Likewise.
63553         * stdio-common/_itoa.c: Likewise.
63554         * stdio-common/printf_fphex.c: Likewise.
63555         * stdio-common/vfprintf.c: Likewise.
63556         * string/_strerror.c: Likewise.
63557         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
63558         * sysdeps/i386/i686/hp-timing.h: Likewise.
63559         * sysdeps/mach/_strerror.c: Likewise.
63560         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
63561         * sysdeps/mach/hurd/sethostid.c: Likewise.
63562         * sysdeps/mach/hurd/xmknodat.c: Likewise.
63563         * sysdeps/mach/xpg-strerror.c: Likewise.
63564         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63565         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63566         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
63567         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
63568         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63569         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
63570         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
63571         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
63572         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
63573         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
63574         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
63575         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63576         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
63577         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63578         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63579         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
63580         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
63581         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
63582         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
63583         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
63584         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
63586         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
63588         * stdio-common/_itoa.h: Moved to ...
63589         * sysdeps/generic/_itoa.h: Here.
63591         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
63593         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
63594         instead of "_itoa.h" and "_itowa.h".
63595         * stdio-common/vfprintf.: Likewise.
63597 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63599         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
63600         <bits/wordsize.h>.
63601         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
63602         (__signbit): Likwise.
63603         (llrintf): Likwise.
63604         (llrint): Likwise.
63606 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63608         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
63609         __WORDSIZE != 64.
63611 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
63613         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
63614         OVERFLOW_EXCEPTION_OK.
63615         * math/libm-test.inc ("Philosophy"): Update comment about
63616         exception testing.
63617         (OVERFLOW_EXCEPTION): Define.
63618         (OVERFLOW_EXCEPTION_OK): Likewise.
63619         (INVALID_EXCEPTION_OK): Renumber.
63620         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63621         (IGNORE_ZERO_INF_SIGN): Likewise.
63622         (test_exceptions): Handle FE_OVERFLOW.
63623         (exp10_test): Expect overflow exceptions.
63624         (exp2_test): Likewise.
63625         (expm1_test): Likewise.
63626         (nextafter_test): Likewise.
63627         (pow_test): Likewise.
63628         (scalbn_test): Likewise.
63629         (scalbln_test): Likewise.
63631 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63633         * sysdeps/x86_64/bits/atomic.h
63634         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63635         64bit integer.
63636         (atomic_exchange_acq): Likewise.
63637         (__arch_exchange_and_add_body): Likewise.
63638         (__arch_add_body): Likewise.
63639         (atomic_add_negative): Likewise.
63640         (atomic_add_zero): Likewise.
63642 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63644         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63645         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63647 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63649         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63650         Check __x86_64__ instead of __WORDSIZE.
63652 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63654         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63656 2012-03-19  David S. Miller  <davem@davemloft.net>
63658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63660         * sysdeps/sparc/fpu/fenv_private.h: New file.
63661         * sysdeps/sparc/fpu/math_private.h: Use it.
63662         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
63663         Remove.
63664         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
63665         (libc_feholdexcept_setroundl): Remove.
63666         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
63667         Remove.
63668         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
63669         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
63671 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63673         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
63674         int64_t instead of long int.
63675         (INSERT_WORDS64): Likwise.
63677 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63679         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
63680         _Unwind_GetCFA return to _Unwind_Ptr first.
63682 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
63684         [BZ #13629]
63685         * math/s_clog.c: Include <float.h>.
63686         (__clog): Scale large or subnormal inputs.
63687         * math/s_clogf.c: Likewise.
63688         * math/s_clogl.c: Likewise.
63689         * math/s_clog10.c: Include <float.h>.
63690         (M_LOG10_2): Define.
63691         (__clog10): Scale large or subnormal inputs.
63692         * math/s_clog10f.c: Likewise.
63693         * math/s_clog10l.c: Likewise.
63694         * math/libm-test.inc (clog_test): Add more tests.
63695         (clog10_test): Likewise.
63696         * sysdeps/i386/fpu/libm-test-ulps: Update.
63697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63699         [BZ #11451]
63700         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
63701         x and y.
63702         * math/libm-test.inc (atan2_test): Add another test.
63704         * Makerules (common-objdir-compile): Remove.
63705         * sysdeps/unix/Makefile (config-generated): Do not add
63706         $(unix-generated) to variable.
63707         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63708         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63709         Remove rule.
63710         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63711         Likewise.
63712         [generic bits/local_lim.h] (before-compile): Do not append to
63713         variable.
63714         [generic bits/local_lim.h] (common-generated): Likewise.
63715         [generic sys/param.h] (before-compile): Do not append to variable.
63716         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63717         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63718         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63719         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63720         include.
63721         [generic sys/param.h] (sys/param.h-includes): Remove variable.
63722         [generic sys/param.h] (sys/param.h-includes): Remove rule.
63723         [generic sys/param.h] ($(addprefix
63724         $(common-objpfx),$(sys/param.h-includes))): Likewise.
63725         [generic sys/param.h] (common-generated): Do not append to
63726         variable.
63727         [generic sys/param.h] (sysdep_headers): Likewise.
63728         [generic bits/errno.h] (before-compile): Do not append to
63729         variable.
63730         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63731         rule.
63732         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63733         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63734         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63735         [generic bits/errno.h] (common-generated): Do not append to
63736         variable.
63737         [generic bits/ioctls.h] (before-compile): Do not append to
63738         variable.
63739         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63740         rule.
63741         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63742         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63743         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63744         rule.
63745         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63746         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63747         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63748         [generic bits/ioctls.h] (common-generated): Do not append to
63749         variable.
63750         [generic sys/syscall.h] (syscall.h): Remove variable.
63751         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63752         rule.
63753         [generic sys/syscall.h] (before-compile): Do not append to
63754         variable.
63755         [generic sys/syscall.h] (common-generated): Likewise.
63756         * sysdeps/unix/errnos-tmpl.c: Remove file.
63757         * sysdeps/unix/errnos.awk: Likewise.
63758         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63759         * sysdeps/unix/ioctls.awk: Likewise.
63760         * sysdeps/unix/mk-local_lim.c: Likewise.
63761         * sysdeps/unix/snarf-ioctls: Likewise.
63763 2012-03-19  Richard Henderson  <rth@twiddle.net>
63765         * sysdeps/i386/fpu/fenv_private.h: New file.
63766         * sysdeps/i386/fpu/math_private.h: Use it.
63767         (math_opt_barrier, math_force_eval): Remove.
63768         (libc_feholdexcept_setround_53bit): Remove.
63769         (libc_feupdateenv_53bit): Remove.
63770         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63771         (math_opt_barrier, math_force_eval): Remove.
63772         (libc_feholdexcept): Remove.
63773         (libc_feholdexcept_setround): Remove.
63774         (libc_fetestexcept, libc_fesetenv): Remove.
63775         (libc_feupdateenv_test): Remove.
63776         (libc_feupdateenv, libc_feholdsetround): Remove.
63777         (libc_feresetround): Remove.
63779         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63780         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63782         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63783         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63784         (libc_feupdateenv_testl): New.
63785         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63786         (libc_feupdateenv_testf): New.
63787         (libc_feupdateenv): Use libc_feupdateenv_test.
63788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63789         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63791         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63792         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63793         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63794         (libc_feresetround_noex): New.
63795         (libc_feresetround_noexf): New.
63796         (libc_feresetround_noexl): New.
63797         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63798         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63799         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63800         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63801         SET_RESTORE_ROUND.
63802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63803         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63804         (__cos): Likewise.
63805         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63806         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63807         SET_RESTORE_ROUND_NOEX.
63808         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63809         SET_RESTORE_ROUND_NOEXF.
63810         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63811         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63812         (libc_feholdsetroundf): New.
63813         (libc_feresetround, libc_feresetroundf): New.
63815         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63816         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63817         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63819         * sysdeps/generic/math_private.h: Include <fenv.h>.
63820         (default_libc_feholdexcept): New.
63821         (default_libc_feholdexcept_setround): New.
63822         (default_libc_fesetenv, default_libc_feupdateenv): New.
63823         (libc_feholdexcept): Only define if undefined.
63824         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63825         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63826         (libc_feholdexcept_setroundl): Likewise.
63827         (libc_feholdexcept_setround_53bit): Likewise.
63828         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63829         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63830         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63831         (libc_feupdateenv_53bit): Likewise.
63832         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63833         (libc_feholdexcept): Convert from macro to inline function.
63834         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63835         (libc_fesetenv, libc_feupdateenv): Likewise.
63837         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63838         not previously defined.
63839         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63840         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63841         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63842         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63843         * sysdeps/ieee754/flt-32/math_private.h: New file.
63844         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63845         math_private.h below SET_FLOAT_WORD.
63846         (__isnan, __isinf_ns, __finite): Remove.
63847         (__isnanf, __isinf_nsf, __finitef): Remove.
63849 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63853 2012-03-17  David S. Miller  <davem@davemloft.net>
63855         [BZ #6471]
63856         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63857         for 2.16.
63859 2012-03-16  David S. Miller  <davem@davemloft.net>
63861         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63862         warnings.
63864         [BZ #6471]
63865         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63866         properly.
63867         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63868         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63869         sysdep_routines when subdir is sysvipc.
63870         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63871         __getshmlba helper.
63873         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63877         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63878         [__LP64__].
63880 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63882         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63883         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63884         (__lround): Renamed to ...
63885         (__llround): This.  Replace long int with long long int.
63886         Define lround functions as aliases of llround functions.
63887         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63889 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63891         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63892         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63893         adresses to uintptr_t.  Replace "long int" and "unsigned long
63894         int" with "greg_t" on va_arg.
63896 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63898         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63899         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63901         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63902         Move e_machine check before EI_CLASS check.  Handle x32
63903         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63904         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63905         SKIP_EM_IA_64 and include
63906         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63908         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63909         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63910         (add_system_dir): New macro.
63912         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63913         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63915 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63917         [BZ #2551]
63918         [BZ #2552]
63919         [BZ #2553]
63920         [BZ #2554]
63921         [BZ #2562]
63922         [BZ #2563]
63923         [BZ #2565]
63924         [BZ #2566]
63925         [BZ #2576]
63926         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63927         (y0): Likewise.
63928         * math/w_j0f.c (j0f): Likewise.
63929         (y0f): Likewise.
63930         * math/w_j0l.c (__j0l): Likewise.
63931         (__y0l): Likewise.
63932         * math/w_j1.c (j1): Likewise.
63933         (y1): Likewise.
63934         * math/w_j1f.c (j1f): Likewise.
63935         (y1f): Likewise.
63936         * math/w_j1l.c (__j1l): Likewise.
63937         (__y1l): Likewise.
63938         * math/w_jn.c (jn): Likewise.
63939         (yn): Likewise.
63940         * math/w_jnf.c (jnf): Likewise.
63941         (ynf): Likewise.
63942         * math/w_jnl.c (__jnl): Likewise.
63943         (__ynl): Likewise.
63944         * math/libm-test.inc (j0_test): Add more tests.
63945         (j1_test): Likewise.
63946         (jn_test): Likewise.  Add trailing semicolon to existing test.
63947         (y0_test): Likewise.
63948         (y1_test): Likewise.
63949         * sysdeps/i386/fpu/libm-test-ulps: Update.
63950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63952         [BZ #13851]
63953         [BZ #13854]
63954         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63955         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63956         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63957         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63958         (__tanl): Set errno for infinite argument.
63959         * sysdeps/i386/fpu/mptan.c: Remove.
63960         * sysdeps/i386/fpu/s_tan.S: Likewise.
63961         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63962         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63963         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63964         * math/libm-test.inc (tan_test): Add more tests and enable more
63965         tests for double and long double.
63966         * sysdeps/i386/fpu/libm-test-ulps: Update.
63967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63969 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63971         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63972         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63974 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63976         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63977         * configure.in: Use it for both main tree and add-ons.
63978         * configure: Regenerated.
63980 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63982         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63984 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63986         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63987         in comment.
63989         [BZ #13851]
63990         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63991         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63992         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63993         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63994         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63995         infinite argument.
63996         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63997         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63998         != 0 for prec == 2.
63999         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64000         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64001         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64002         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64003         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64004         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64005         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64006         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64007         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64008         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64009         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64010         * math/libm-test.inc (cos_test): Add more tests and enable more
64011         tests for long double.
64012         (sin_test): Likewise.
64013         (sincos_test): Likewise.
64014         * sysdeps/i386/fpu/libm-test-ulps: Update.
64015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64017 2012-03-16  David S. Miller  <davem@davemloft.net>
64019         * sysdeps/sparc/fpu/math_private.h: New file.
64021 2012-03-15  David S. Miller  <davem@davemloft.net>
64023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64024         file.
64025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64027         file.
64028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64033         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64034         sysdep routines.
64035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64037         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64038         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64040         * sysdeps/sparc/sparc-ifunc.h: New file.
64041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64042         sparc-ifunc.h
64043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64045         Likewise.
64046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64047         Likewise.
64048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64052         Likewise.
64053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64058         Likewise.
64059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64060         Likewise.
64061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64067         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64068         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64079         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64081         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64082         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64083         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64084         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64086 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64088         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64089         scaling.
64090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64092 2012-03-15  Andreas Jaeger  <aj@suse.de>
64094         [BZ #13852]
64095         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64096         ieee754/flt-32 implementation for sin, cos and sincos.
64097         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64098         * sysdeps/i386/fpu/s_cosf.S: Likewise.
64099         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64100         * sysdeps/i386/fpu/s_sinf.S: Likewise.
64101         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64102         ieee754/flt-32 implementation for tan.
64104         * math/libm-test.inc (cos_test): Enable some large input tests for
64105         float as well
64106         (sin_test): Likewise.
64107         (sincos_test): Likewise.
64108         (tan_test): Add tests for large input.
64110         * sysdeps/i386/fpu/libm-test-ulps: Update.
64112 2012-03-15  Andreas Jaeger  <aj@suse.de>
64114         [BZ #13658]
64115         * math/libm-test.inc (cos_test): Add more test cases.
64116         (sin_test): Likewise.
64117         (sincos_test): Likewise.
64119 2012-03-15  Andreas Jaeger  <aj@suse.de>
64121         [BZ #13837]
64122         * math/libm-test.inc (cos_test): Add a test case for large input
64123         value.
64124         (sin_test): Likewise.
64125         (sincos_test): Likewise.
64127 2012-03-15  Andreas Jaeger  <aj@suse.de>
64128             Joseph Myers  <joseph@codesourcery.com>
64130         [BZ #13658]
64131         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
64132         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
64133         * sysdeps/i386/fpu/branred.c: Likewise.
64134         * sysdeps/i386/fpu/dosincos.c: Likewise.
64135         * sysdeps/i386/fpu/mpa.c: Likewise.
64136         * sysdeps/i386/fpu/s_cos.S: Likewise.
64137         * sysdeps/i386/fpu/s_sin.S: Likewise.
64138         * sysdeps/i386/fpu/s_sincos.S: Likewise.
64139         * sysdeps/i386/fpu/sincos32.c: Likewise.
64141         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
64142         Define.
64143         (libc_feupdateenv_53bit): Define.
64144         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
64145         Define.
64146         (libc_feupdateenv_53bit): Define.
64148         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
64149         53 bit (without extend i386 double precision).
64151         * math/libm-test.inc (sincos_test): Add tests for large input.
64152         (sin): Likewise.
64153         (cos): Likewise.
64155         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
64157 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64161 2012-03-15  David S. Miller  <davem@davemloft.net>
64163         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
64164         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
64165         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
64166         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
64167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
64168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
64169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
64170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
64171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
64172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
64173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
64174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
64175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
64176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
64177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
64178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
64179         file.
64180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
64181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
64182         file.
64183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
64185         file.
64186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
64187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
64188         file.
64189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
64190         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
64191         fmin/fmax sysdep routines.
64192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64194 2012-03-14  David S. Miller  <davem@davemloft.net>
64196         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
64197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
64198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
64199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
64200         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
64201         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
64202         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
64203         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
64204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
64205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
64206         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
64207         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
64208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
64209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
64210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
64211         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
64212         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
64213         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
64214         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
64215         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
64216         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
64217         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
64218         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
64219         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
64220         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
64221         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
64222         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
64223         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
64224         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
64225         routines.
64226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
64227         file.
64228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
64229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
64230         file.
64231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
64232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
64233         file.
64234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
64235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
64236         file.
64237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
64238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
64239         file.
64240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
64241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
64242         file.
64243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
64244         file.
64245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
64246         file.
64247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
64248         file.
64249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
64250         New file.
64251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
64252         file.
64253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
64254         file.
64255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
64256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
64257         file.
64258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
64259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
64260         file.
64261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
64262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
64263         file.
64264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
64265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
64266         VIS3 routines.
64268         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64269         New file.
64271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64273         * sysdeps/sparc/configure.in: New file.
64274         * sysdeps/sparc/configure: Generate.
64275         * configure.in (libc_cv_sparc_as_vis3): Substitute.
64276         * configure: Regenerate.
64277         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
64278         * config.make.in (have-as-vis3): New.
64279         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
64280         available use -Av9d instead of -Av9a.
64281         * sysdeps/sparc/sparc64/Makefile: Likewise.
64282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
64283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
64284         New file.
64285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
64286         file.
64287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
64288         New file.
64289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
64290         file.
64291         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
64292         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
64293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
64294         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
64295         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
64297         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
64298         fzeros/fnegs to load 0x80000000 into a float register instead of
64299         using the stack.
64300         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
64302 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64304         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64305         bits/syscall.h.
64306         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
64307         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
64308         ($(inst_includedir)/bits/syscall.h): Remove rule.
64309         ($(objpfx)bits/syscall.d): Include instead of
64310         $(objpfx)syscall-list.d.
64311         (generated): Change syscall-list.h and syscall-list.d to
64312         bits/syscall.h and bits/syscall.d.
64314 2012-03-14  Roland McGrath  <roland@hack.frob.com>
64316         [BZ #13846]
64317         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
64319 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64321         [BZ #13841]
64322         * math/s_csqrt.c: Include <float.h>.
64323         (__csqrt): Scale large or subnormal inputs.
64324         * math/s_csqrtf.c: Likewise.
64325         * math/s_csqrtl.c: Likewise.
64326         * math/libm-test.inc (csqrt_test): Add more tests.
64327         * sysdeps/i386/fpu/libm-test-ulps: Update.
64328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64330         [BZ #13840]
64331         * math/libm-test.inc (hypot_test): Add more tests.
64333 2012-03-13  David S. Miller  <davem@davemloft.net>
64335         [BZ #13840]
64336         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
64337         double-precision for the calculation instead of scaling.
64339 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
64341         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
64342         manipulate bits before adding and subtracting TWO52[sx].
64343         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
64344         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
64345         Likewise.
64346         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
64348 2012-03-13  David S. Miller  <davem@davemloft.net>
64350         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
64351         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
64352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
64353         rtld-global-offsets.h
64354         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64356         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
64357         large parameters.
64359         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
64361         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
64362         'err' in the ifdef scope in which it is actually used.
64364         * nss/nss_db/db-init.c: Include string.h
64366 2012-03-12  David S. Miller  <davem@davemloft.net>
64368         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64369         masking out of the most significant byte of random value used.
64370         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64371         Fix coding style in previous change.
64373         * sysdeps/unix/sysv/linux/kernel-features.h
64374         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
64375         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
64376         expression.
64377         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
64378         later.
64380 2012-03-11  David S. Miller  <davem@davemloft.net>
64382         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64383         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
64384         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
64385         for 'resultvar' otherwise things get truncated on 64-bit.
64387         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64388         Fix masking out of the most significant byte of random value used.
64390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64392 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
64394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64396 2012-03-09  David S. Miller  <davem@davemloft.net>
64398         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
64399         variables with appropriate CPP guards.
64400         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
64401         from the frame pointer, not the stack pointer.  Correct layout
64402         comments.  Fix test on resulting framesize and the management of
64403         the outregs buffer for pltexit.  Preserve floating point return
64404         values across _dl_call_pltexit call.
64405         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
64406         framesize and the management of the outregs buffer for pltexit.
64407         Preserve floating point return values across _dl_call_pltexit
64408         call.
64409         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
64410         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
64411         (la_sparc64_gnu_pltexit): New functions.
64412         (print_exit): Fix format string for return register value.
64414 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
64416         * sunrpc/Makefile (others): Add rpcgen.
64417         ($(objpfx)rpcgen): Remove special build rule and dependency on
64418         libc.
64419         * sunrpc/rpcgen.c: New file.
64421 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
64423         [BZ #13673]
64424         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
64425         * stdio-common/bug-vfprintf-nargs.c: Likewise.
64426         * sysdeps/i386/crti.S: Likewise.
64427         * sysdeps/i386/crtn.S: Likewise.
64428         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
64429         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
64430         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
64431         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
64432         * sysdeps/sh/crti.S: Likewise.
64433         * sysdeps/sh/crtn.S: Likewise.
64434         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64436         [BZ #13673]
64437         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
64438         with URL.
64439         * locale/programs/locfile-kw.gperf: Likewise.
64440         * locale/programs/charmap-kw.h: Regenerated.
64441         * locale/programs/locfile-kw.h: Likewise.
64443         [BZ #13673]
64444         * intl/plural.y: Replace FSF snail mail address with URL.
64445         * intl/plural.c: Regenerated.
64447 2012-03-09  Richard Henderson  <rth@twiddle.net>
64449         * include/math_private.h: Remove file.
64450         * math/math_private.h: Move file ...
64451         * sysdeps/generic/math_private.h: ... here.
64453         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
64454         * sysdeps/powerpc/fpu/math_private.h: Likewise.
64455         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64457         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
64458         and <math_private.h>.
64459         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64460         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64461         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64462         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64463         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64464         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
64465         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64466         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64467         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64468         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64469         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64470         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64471         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64472         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64473         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64474         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64475         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64476         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64477         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64478         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64479         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64480         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64481         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64482         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64483         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
64484         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64485         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64486         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64487         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64488         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64489         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64490         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64491         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
64492         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64493         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64494         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64495         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64496         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64497         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64498         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64499         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
64500         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64501         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64502         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
64503         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
64504         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64505         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
64506         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
64507         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64508         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64509         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
64510         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
64511         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
64512         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64513         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
64514         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64515         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64516         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
64517         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
64518         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
64519         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64520         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
64521         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64522         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64523         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
64524         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64525         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64526         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64527         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
64528         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
64529         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64530         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64531         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64532         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64533         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
64534         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
64535         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
64536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64537         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
64538         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
64539         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64540         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
64541         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64542         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64543         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64544         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
64545         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
64546         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
64547         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64548         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64549         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64550         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64551         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64552         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64553         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64554         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64555         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64556         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64557         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64558         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64559         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64560         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64561         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64562         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64563         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64564         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64565         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64566         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64567         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64568         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64569         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64570         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64571         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64572         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64573         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
64574         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64575         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64576         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64577         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64578         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64579         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64580         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64581         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64582         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
64583         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64584         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64585         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64586         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
64587         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64588         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
64589         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
64590         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64591         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64592         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
64593         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
64594         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64595         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64596         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64597         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
64598         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64599         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64600         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64601         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64602         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
64603         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
64604         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64605         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64606         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64607         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
64608         * sysdeps/ieee754/k_standard.c: Likewise.
64609         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64610         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64611         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64612         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64613         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64614         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64615         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64616         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64617         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64618         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64619         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64620         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64621         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64622         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64623         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64624         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64625         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64626         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64627         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64628         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64629         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64630         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64631         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64632         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64633         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64634         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64635         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64636         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64637         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64638         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64639         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64640         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64641         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64642         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64643         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64644         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64645         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64646         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64647         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64648         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64649         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64650         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64651         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64652         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64653         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64654         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64655         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64656         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64657         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64658         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64659         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64660         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64661         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64662         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
64663         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64664         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64665         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
64666         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
64667         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64668         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64669         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64670         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64671         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64672         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64673         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64674         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64675         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64676         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64677         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64678         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64679         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64680         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64681         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64682         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64683         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64684         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64685         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
64686         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64687         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64688         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64689         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64690         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64691         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64692         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64693         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
64694         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64695         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64696         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
64697         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64698         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64699         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
64700         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64701         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
64702         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64703         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64704         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64705         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64706         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64707         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64708         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64709         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64710         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64711         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64712         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64713         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64714         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64715         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64716         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64717         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64718         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64719         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64720         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64721         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64722         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64723         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64724         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64725         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64726         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64727         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64728         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64729         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64730         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64731         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64732         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64733         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64734         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64735         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64736         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64737         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64738         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64739         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64740         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64741         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64742         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64743         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64744         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64745         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64746         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64747         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64748         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64749         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64750         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64751         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64752         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64753         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64754         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64755         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64756         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64757         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64758         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64759         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64760         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64761         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64762         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64763         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64764         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64765         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64766         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64767         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64768         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64769         * sysdeps/ieee754/s_lib_version.c: Likewise.
64770         * sysdeps/ieee754/s_matherr.c: Likewise.
64771         * sysdeps/ieee754/s_signgam.c: Likewise.
64772         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64773         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64774         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64775         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64776         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64777         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64778         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64779         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64780         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64781         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64782         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64783         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64784         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64785         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64786         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64787         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64788         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64789         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64790         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64791         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64792         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64794 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64796         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64797         * sunrpc/rpc_main.c: Likewise.
64798         * sunrpc/rpc_svcout.c: Likewise.
64800 2012-03-09  David S. Miller  <davem@davemloft.net>
64802         * include/math_private.h: New file.
64804 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64806         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64807         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64808         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64809         from <bits/socket_type.h>.
64810         (enum __socket_type): Don't define here.
64811         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64813         bits/socket_type.h.
64815         [BZ #13566]
64816         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64817         checking __USE_GNU.
64819         * Makerules ($(inst_includedir)/%.h): New rule.
64820         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64821         (install-others): Remove variable setting.
64822         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64824 2012-03-08  Richard Henderson  <rth@twiddle.net>
64826         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64827         from macro to inline function; merge with the
64828         !__LIBC_INTERNAL_MATH_INLINES version.
64829         (__ieee754_sqrtf): Likewise.
64831         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64832         to inline function.
64833         (__rintf, __floor, __floorf): Likewise.
64835         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64836         macro to inline function.
64837         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64839         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64840         not <math/math_private.h>.
64842 2012-03-08  David S. Miller  <davem@davemloft.net>
64844         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64845         copyright year.
64846         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64848 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64850         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64851         normalization.
64852         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64853         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64855 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64857         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64858         be defined individually, they must be defined as a block.  Define
64859         S for printing a string instead of hidint the different by using a
64860         macro for adding the 'l'.
64861         * stdio-common/tst-fphex-wide.c: Adjust.
64863 2012-03-07  Marek Polacek  <polacek@redhat.com>
64865         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64867 2012-03-08  Marek Polacek  <polacek@redhat.com>
64869         [BZ #13806]
64870         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64871         * stdio-common/tst-fphex.c: Define a few macros to make the
64872         test reusable.  Use them.
64873         * stdio-common/tst-fphex-wide.c: New file.
64875 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64877         [BZ #6911]
64878         * manual/macros.texi (gnusystems): New macro.
64879         (nongnusystems): Likewise.
64880         (gnulinuxhurdsystems): Likewise.
64881         (gnuhurdsystems): Likewise..
64882         (gnulinuxsystems): Likewise.
64883         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64884         variants of the GNU system, not "GNU system".
64885         * manual/conf.texi: Likewise.
64886         * manual/errno.texi: Likewise.  Update example of errno macro
64887         expansion.
64888         * manual/filesys.texi: Likewise.
64889         (getumask): Document as specific to GNU/Hurd.
64890         * manual/install.texi: Likewise.  Reword some references to
64891         GNU/Linux.
64892         * manual/intro.texi: Likewise.
64893         * manual/io.texi: Likewise.
64894         (File Name Portability): Detail which constraints are inapplicable
64895         to all GNU systems and which are only inapplicable to GNU/Hurd.
64896         * manual/job.texi: Likewise.
64897         * manual/llio.texi: Likewise.
64898         (O_NOCTTY): Document as present on GNU/Linux.
64899         * manual/maint.texi: Likewise.
64900         * manual/memory.texi: Likewise.
64901         * manual/pattern.texi: Likewise.
64902         * manual/pipe.texi: Likewise.
64903         * manual/process.texi: Likewise.
64904         * manual/resource.texi: Likewise.
64905         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64906         child on GNU/Hurd.
64907         * manual/setjmp.texi: Likewise.
64908         * manual/signal.texi: Likewise.
64909         * manual/startup.texi: Likewise.
64910         * manual/stdio.texi: Likewise.
64911         * manual/terminal.texi: Likewise.
64912         (ONLCR): Document as POSIX.
64913         (OXTABS): Document availability on GNU/Linux as XTABS.
64914         (ONOEOT): Document availability separately from other bits.
64915         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64916         * manual/time.texi: Likewise.
64917         * manual/users.texi: Likewise.
64918         * INSTALL: Regenerated.
64919         * sysdeps/gnu/errlist.c: Regenerated.
64921         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64922         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64923         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64924         puts.
64925         * configure: Regenerated.
64927 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64929         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64930         default includes instead of AC_HEADER_CHECK.
64931         * sysdeps/i386/configure: Regenerated.
64933         [BZ #10716]
64934         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64935         * math/s_cacoshf.c (__cacoshf): Likewise.
64936         * math/s_cacoshl.c (__cacoshl): Likewise.
64937         * math/s_casinh.c (__casinh): Set signs of result from argument.
64938         * math/s_casinhf.c (__casinhf): Likewise.
64939         * math/s_casinhl.c (__casinhl): Likewise.
64940         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64941         (casinh_test): Add more tests.
64942         * sysdeps/i386/fpu/libm-test-ulps: Update.
64943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64945 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64947         * po/zh_TW.po: Update from translation team.
64949         * login/Makefile (distribute): Remove variable.
64950         * catgets/Makefile: Likewise.
64951         * mach/Makefile: Likewise.
64952         * malloc/Makefile: Likewise.
64953         * misc/Makefile: Likewise.
64954         * iconv/Makefile: Likewise.
64955         * nscd/Makefile: Likewise.
64956         * hurd/Makefile: Likewise.
64957         * manual/Makefile: Likewise.
64958         * locale/Makefile: Likewise.
64959         * intl/Makefile: Likewise.
64960         * conform/Makefile: Likewise.
64961         * nss/Makefile: Likewise.
64962         * time/Makefile: Likewise.
64963         * soft-fp/Makefile: Likewise.
64964         * dirent/Makefile: Likewise.
64965         * gmon/Makefile: Likewise.
64966         * po/Makefile: Likewise.
64967         * rt/Makefile: Likewise.
64968         * socket/Makefile: Likewise.
64969         * math/Makefile: Likewise.
64970         * signal/Makefile: Likewise.
64971         * debug/Makefile: Likewise.
64972         * elf/Makefile: Likewise.
64973         * timezone/Makefile: Likewise.
64974         * stdlib/Makefile: Likewise.
64975         * iconvdata/Makefile: Likewise.
64976         * sunrpc/Makefile: Likewise.
64977         * io/Makefile: Likewise.
64978         * argp/Makefile: Likewise.
64979         * inet/Makefile: Likewise.
64980         * hesiod/Makefile: Likewise.
64981         * grp/Makefile: Likewise.
64982         * csu/Makefile: Likewise.
64983         * wctype/Makefile: Likewise.
64984         * crypt/Makefile: Likewise.
64985         * libio/Makefile: Likewise.
64986         * string/Makefile: Likewise.
64987         * nis/Makefile: Likewise.
64988         * resolv/Makefile: Likewise.
64989         * stdio-common/Makefile: Likewise.
64990         * wcsmbs/Makefile: Likewise.
64991         * dlfcn/Makefile: Likewise.
64992         * posix/Makefile: Likewise.
64994         [BZ #6959]
64995         * timezone/Makefile: Don't install timezone files, just the programs
64996         and scripts.
64998 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65000         * nss/databases.def: Add missing gshadow entry.
65002         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65004 2012-03-06  Marek Polacek  <polacek@redhat.com>
65006         [BZ #13726]
65007         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65008         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65009         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65010         * stdio-common/tst-long-dbl-fphex.c: New file.
65012 2012-03-06  David S. Miller  <davem@davemloft.net>
65014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65015         (set_obp_int): New function.
65016         (get_obp_int): New function.
65017         (__get_clockfreq_via_dev_openprom): Likewise.
65018         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65019         Avoid unused variable warnings on 'val' and use builtin_expect.
65020         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65021         __builtin_expect.
65022         (INLINE_CLONE_SYSCALL): Likewise.
65024 2012-03-05  David S. Miller  <davem@davemloft.net>
65026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65028 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
65030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65032         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65033         only for |x| >= 40.
65034         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65036 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65038         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65039         Replace gettimeofday with __vdso_gettimeofday.
65041         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65042         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65043         __vdso_clock_gettime and __vdso_getcpu.
65045         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65046         time with __vdso_time.
65048 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65050         * manual/lang.texi (size_t): Note types to which size_t may be
65051         equivalent with the GNU C Library, but do not describe when
65052         differences between them are significant.
65054 2012-03-05  Andreas Jaeger  <aj@suse.de>
65056         * sysdeps/i386/fpu/libm-test-ulps: Update.
65058 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65060         [BZ #3976]
65061         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65062         (__ieee754_pow): Save and restore rounding mode and use
65063         round-to-nearest for main computations.
65064         * math/libm-test.inc (pow_test_tonearest): New function.
65065         (pow_test_towardzero): Likewise.
65066         (pow_test_downward): Likewise.
65067         (pow_test_upward): Likewise.
65068         (main): Call the new functions.
65069         * sysdeps/i386/fpu/libm-test-ulps: Update.
65070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65072         [BZ #3976]
65073         * math/libm-test.inc (cosh_test_tonearest): New function.
65074         (cosh_test_towardzero): Likewise.
65075         (cosh_test_downward): Likewise.
65076         (cosh_test_upward): Likewise.
65077         (sinh_test_tonearest): Likewise.
65078         (sinh_test_towardzero): Likewise.
65079         (sinh_test_downward): Likewise.
65080         (sinh_test_upward): Likewise.
65081         (main): Call the new functions.
65082         * sysdeps/i386/fpu/libm-test-ulps: Update.
65083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65085 2012-03-05  Tom de Vries  <tom@codesourcery.com>
65087         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65088         default stack guard is set in last bytes.
65089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65091 2012-03-05  Kees Cook  <keescook@chromium.org>
65093         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65095         [BZ #13656]
65096         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65097         possibly allocate from heap instead of stack.
65098         * stdio-common/bug-vfprintf-nargs.c: New file.
65099         * stdio-common/Makefile (tests): Add nargs overflow test.
65101 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
65103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65105 2012-03-03  Marek Polacek  <polacek@redhat.com>
65107         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65108         * math/math_private.h: Likewise.
65109         * stdlib/tst-strtod.c: Likewise.
65110         * sysdeps/i386/i486/bits/atomic.h: Likewise.
65111         * sysdeps/x86_64/bits/atomic.h: Likewise.
65113 2012-03-02  David S. Miller  <davem@davemloft.net>
65115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65119         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65120         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65121         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65122         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65124 2012-03-02  Roland McGrath  <roland@hack.frob.com>
65126         [BZ #13792]
65127         * manual/examples/README: New file, says the example source files
65128         can be used under GPL>=2.
65129         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
65130         line containing just "*/".
65131         * manual/examples/add.c: Add copyright header (GPL>=2).
65132         * manual/examples/argp-ex1.c: Likewise.
65133         * manual/examples/argp-ex2.c: Likewise.
65134         * manual/examples/argp-ex3.c: Likewise.
65135         * manual/examples/argp-ex4.c: Likewise.
65136         * manual/examples/atexit.c: Likewise.
65137         * manual/examples/db.c: Likewise.
65138         * manual/examples/dir.c: Likewise.
65139         * manual/examples/dir2.c: Likewise.
65140         * manual/examples/execinfo.c: Likewise.
65141         * manual/examples/filecli.c: Likewise.
65142         * manual/examples/filesrv.c: Likewise.
65143         * manual/examples/fmtmsgexpl.c: Likewise.
65144         * manual/examples/genpass.c: Likewise.
65145         * manual/examples/inetcli.c: Likewise.
65146         * manual/examples/inetsrv.c: Likewise.
65147         * manual/examples/isockad.c: Likewise.
65148         * manual/examples/longopt.c: Likewise.
65149         * manual/examples/memopen.c: Likewise.
65150         * manual/examples/memstrm.c: Likewise.
65151         * manual/examples/mkfsock.c: Likewise.
65152         * manual/examples/mkisock.c: Likewise.
65153         * manual/examples/mygetpass.c: Likewise.
65154         * manual/examples/pipe.c: Likewise.
65155         * manual/examples/popen.c: Likewise.
65156         * manual/examples/rprintf.c: Likewise.
65157         * manual/examples/search.c: Likewise.
65158         * manual/examples/select.c: Likewise.
65159         * manual/examples/setjmp.c: Likewise.
65160         * manual/examples/sigh1.c: Likewise.
65161         * manual/examples/sigusr.c: Likewise.
65162         * manual/examples/stpcpy.c: Likewise.
65163         * manual/examples/strdupa.c: Likewise.
65164         * manual/examples/strftim.c: Likewise.
65165         * manual/examples/strncat.c: Likewise.
65166         * manual/examples/subopt.c: Likewise.
65167         * manual/examples/swapcontext.c: Likewise.
65168         * manual/examples/termios.c: Likewise.
65169         * manual/examples/testopt.c: Likewise.
65170         * manual/examples/testpass.c: Likewise.
65171         * manual/examples/timeval_subtract.c: Likewise.
65173         [BZ #13792]
65174         * manual/time.texi (Elapsed Time): Move timeval_subtract example
65175         function to ...
65176         * manual/timeval_subtract.c.texi: ... here, new file.
65178 2012-03-02  David S. Miller  <davem@davemloft.net>
65180         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
65182 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
65184         [BZ #3976]
65185         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
65186         (__sin): Save and restore rounding mode and use round-to-nearest
65187         for all computations.
65188         (__cos): Save and restore rounding mode and use round-to-nearest
65189         for all computations.
65190         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
65191         <fenv.h>.
65192         (tan): Save and restore rounding mode and use round-to-nearest for
65193         all computations.
65194         * math/libm-test.inc (cos_test_tonearest): New function.
65195         (cos_test_towardzero): Likewise.
65196         (cos_test_downward): Likewise.
65197         (cos_test_upward): Likewise.
65198         (sin_test_tonearest): Likewise.
65199         (sin_test_towardzero): Likewise.
65200         (sin_test_downward): Likewise.
65201         (sin_test_upward): Likewise.
65202         (tan_test_tonearest): Likewise.
65203         (tan_test_towardzero): Likewise.
65204         (tan_test_downward): Likewise.
65205         (tan_test_upward): Likewise.
65206         (main): Call the new functions.
65207         * sysdeps/i386/fpu/libm-test-ulps: Update.
65208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65210         [BZ #10135]
65211         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
65212         small n, then large n, before computing and testing k+n.
65213         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
65214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
65215         Likewise.
65216         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
65217         Likewise.
65218         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
65219         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
65220         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
65221         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
65222         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
65223         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
65224         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
65225         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
65226         * math/libm-test.inc (scalbn_test): Add more tests.
65227         (scalbln_test): Likewise.
65229         * manual/filesys.texi (mode_t): Describe constraints on size and
65230         signedness, not exact equivalence to a particular type.
65231         (ino_t): Likewise.
65232         (ino64_t): Likewise.
65233         (dev_t): Likewise.
65234         (nlink_t): Likewise.
65235         (blkcnt_t): Likewise.
65236         (blkcnt64_t): Likewise.
65237         * manual/llio.texi (off_t): Likewise.
65239         [BZ #3976]
65240         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
65241         (__ieee754_exp): Save and restore rounding mode and use
65242         round-to-nearest for all computations.
65243         * math/libm-test.inc (exp_test_tonearest): New function.
65244         (exp_test_towardzero): Likewise.
65245         (exp_test_downward): Likewise.
65246         (exp_test_upward): Likewise.
65247         (main): Call the new functions.
65248         * sysdeps/i386/fpu/libm-test-ulps: Update.
65249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65251 2012-03-01  Chris Demetriou  <cgd@google.com>
65253         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
65254         have predictable order.
65256 2012-03-01  David S. Miller  <davem@davemloft.net>
65258         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
65260         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
65261         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
65262         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
65263         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
65265         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
65266         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
65267         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
65268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
65269         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
65270         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
65271         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
65272         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
65273         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
65275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65277         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
65278         * sysdeps/sparc/fpu/libm-test-ulps: to here.
65279         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
65281         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
65282         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65283         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65284         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
65285         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
65286         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
65287         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
65288         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65289         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65290         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
65291         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
65292         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65294         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65295         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65297         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
65298         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
65299         * sysdeps/sparc/elf/configure: Regenerated.
65301 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
65303         * configure.in (AS, LD): Require binutils 2.20 or later.
65304         * configure: Regenerated.
65305         * manual/install.texi (Tools for Compilation): Give binutils 2.20
65306         as required minimum version.
65307         * INSTALL: Regenerated.
65309         [BZ #2541]
65310         [BZ #4108]
65311         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
65312         before squaring exponent.
65313         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
65314         bottom long double and 27 bits of top long double before squaring
65315         exponent.
65316         * math/libm-test.inc (erfc_test): Add more tests.
65317         * sysdeps/i386/fpu/libm-test-ulps: Update.
65318         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65321 2012-03-01  Kai Tietz  <ktietz@redhat.com>
65323         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
65324         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
65325         containing bit-fields.
65326         * soft-fp/extended.h (_FP_UNION_E): Likewise.
65327         * soft-fp/single.h (_FP_UNION_S): Likewise.
65328         * soft-fp/double.h (_FP_UNION_D): Likewise.
65330 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65332         [BZ #13786]
65333         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
65334         not include ../strcmp.S.
65335         [USE_AS_STRNCASECMP_L]: Likewise.
65336         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
65337         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
65338         * sysdeps/i386/i686/multiarch/strncase_l-c.c
65339         (__strncasecmp_l_ia32): Define as alias to
65340         __strncasecmp_l_nonascii.
65342         [BZ #5794]
65343         * math/libm-test.inc (expm1_test): Add test for bug 5794.
65344         * sysdeps/i386/fpu/libm-test-ulps: Update.
65345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65347         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
65348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65350 2012-02-29  Jeff Law  <law@redhat.com>
65352         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
65353         out of bounds read.
65355 2012-02-29  Marek Polacek  <polacek@redhat.com>
65357         [BZ #13706]
65358         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
65359         * elf/Makefile: Add rules to run tst-unused-dep.out.
65361 2012-02-28  David S. Miller  <davem@davemloft.net>
65363         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
65364         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
65365         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
65366         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
65367         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
65368         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
65370 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65372         * math/libm-test.inc (llround_test): Move one test from
65373         lround_test.  Use TEST_f_L in moved test.
65374         (lround_test): Move misplaced test to llround_test.  Add testcase
65375         from bug 2561.
65377 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
65379         * sysdeps/x86_64/fpu/e_expf.S: New file.
65380         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
65382 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
65384         [BZ #13637]
65385         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
65386         of remain_len that may cause incomplete multi-byte character and
65387         false match.
65388         * posix/bug-regex33.c: New file.
65389         * posix/Makefile (tests): Add bug-regex33.
65391 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
65393         * manual/macros.texi: New file.
65394         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
65395         * manual/libc.texinfo: Include macros.texi.
65396         * manual/creatute.texi: Likewise.
65397         * manual/install.texi: Likewise.
65398         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
65399         @glibcadj{} in references to the GNU C Library.
65400         * manual/charset.texi: Likewise.
65401         * manual/conf.texi: Likewise.
65402         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
65403         when not using those macros.
65404         * manual/creature.texi: Likewise.
65405         * manual/crypt.texi: Likewise.
65406         * manual/errno.texi: Likewise.
65407         * manual/filesys.texi: Likewise.
65408         * manual/header.texi: Likewise.
65409         * manual/install.texi: Likewise.
65410         * manual/intro.texi: Likewise.
65411         * manual/io.texi: Likewise.
65412         * manual/job.texi: Likewise.
65413         * manual/lang.texi: Likewise.
65414         * manual/libc.texiinfo: Likewise.
65415         * manual/llio.texi: Likewise.
65416         * manual/locale.texi: Likewise.
65417         * manual/maint.texi: Likewise.
65418         * manual/math.texi: Likewise.
65419         * manual/memory.texi: Likewise.
65420         * manual/message.texi: Likewise.
65421         * manual/nss.texi: Likewise.
65422         * manual/pattern.texi: Likewise.
65423         * manual/process.texi: Likewise.
65424         * manual/resource.texi: Likewise.
65425         * manual/search.texi: Likewise.
65426         * manual/setjmp.texi: Likewise.
65427         * manual/signal.texi: Likewise.
65428         * manual/socket.texi: Likewise.
65429         * manual/startup.texi: Likewise.
65430         * manual/stdio.texi: Likewise.
65431         * manual/string.texi: Likewise.
65432         * manual/sysinfo.texi: Likewise.
65433         * manual/syslog.texi: Likewise.
65434         * manual/terminal.texi: Likewise.
65435         * manual/time.texi: Likewise.
65436         * manual/users.texi: Likewise.
65437         * INSTALL: Regenerated.
65438         * NOTES: Regenerated.
65439         * sysdeps/gnu/errlist.c: Regenerated.
65441 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
65443         * include/dirent.h: Include <dirstream.h> before
65444         <dirent/dirent.h>.
65446 2012-02-28  David S. Miller  <davem@davemloft.net>
65448         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
65449         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
65450         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
65451         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
65453 2012-02-27  David S. Miller  <davem@davemloft.net>
65455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
65456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
65457         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
65458         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
65460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
65461         frame pointer instead of stack pointer relative arg slot.
65462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65463         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65464         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65466 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
65468         [BZ #3992]
65469         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
65471 2012-02-27  David S. Miller  <davem@davemloft.net>
65473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
65474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
65477         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65478         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65479         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
65480         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
65482 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65484         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
65485         later.  Allow versions 5-9.
65486         * configure: Regenerated.
65487         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
65488         required minimum version and 4.6 as recommended version.  Do not
65489         mention bugs in GCC 2.7 and 2.8.
65490         * INSTALL: Regenerated.
65492 2012-02-27  David S. Miller  <davem@davemloft.net>
65494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
65495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
65496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
65497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
65498         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
65499         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
65500         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
65501         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
65503         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
65504         manipulate bits before adding and subtracting TWO112[sx].
65505         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65507 2012-02-27  Roland McGrath  <roland@hack.frob.com>
65509         [BZ #13775]
65510         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
65511         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
65512         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
65513         being in POSIX, because they are in 1003.1-2008.
65515         * rt/tst-aio.c: Include <fcntl.h>.
65516         * rt/tst-aio7.c: Likewise.
65517         * rt/tst-aio64.c: Likewise.
65519         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
65521 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65523         * manual/install.texi (--with-headers): Describe headers as
65524         interface headers, not private headers.
65525         (Specific advice for GNU/Linux systems): Describe use of headers
65526         from "make headers_install", not private headers from older
65527         kernels.
65528         * INSTALL: Regenerated.
65529         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
65530         Change to 2.6.19.
65531         * sysdeps/unix/sysv/linux/configure: Regenerated.
65533         * manual/llio.texi (fclean): Remove documentation.
65535         * manual/Makefile (libc-texi-generated): New variable.  Include
65536         version.texi.
65537         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
65538         $(libc-texi-generated), not duplicated list of files.
65539         (version.texi, stamp-version): New rules.
65540         (realclean): Remove $(libc-texi-generated), not individual files
65541         from that list.  Do not remove dir-add.texinfo.
65542         * manual/libc.texinfo: Comment out uses of edition numbers and
65543         references to printed manual.  Remove last-updated dates.
65544         (EDITION): Comment out.
65545         (ISBN): Likewise.
65546         (VERSION, UPDATED): Remove.
65547         (version.texi): Include.
65549 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
65551         * sysdeps/posix/spawni.c: Include <signal.h>.
65552         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
65553         * sysdeps/pthread/aio_fsync.c: Likewise.
65555 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
65557         * conform/Makefile (tests): Run only when not cross-compiling and
65558         when fast-check is not defined.
65560         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
65561         * conform/data/limits.h-data: Fixes for POSIX2008.
65562         * conform/run-conformtest.sh: Run all tests.
65563         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
65564         headers.
65565         * include/bits/dlfcn.h: Likewise.
65566         * include/langinfo.h: Likewise.
65567         * include/monetary.h: Likewise.
65568         * include/sys/poll.h: Likewise.
65570         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
65571         for __USE_GNU.
65572         * posix/spawn.h: Define __need_sigset_t.
65573         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
65574         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
65575         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
65576         to get sigevent_t only.
65577         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
65578         only for __USE_GNU.
65579         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65580         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65581         process_vm_writev only for __USE_GNU.
65582         * termios/termios.h: Declare tcgetsid also for POSIX2008.
65584         * conform/Makefile: For now ignore errors from run-conformtest.
65585         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
65586         POSIX to avoid namespace pollution.  Don't prepend headers.
65587         * conform/data/aio.h-data: Fixes for POSIX testing.
65588         * conform/data/fcntl.h-data: Likewise.
65589         * conform/data/glob.h-data: Likewise.
65590         * conform/data/grp.h-data: Likewise.
65591         * conform/data/pthread.h-data: Likewise.
65592         * conform/data/pwd.h-data: Likewise.
65593         * conform/data/signal.h-data: Likewise.
65594         * conform/data/spawn.h-data: Likewise.
65595         * conform/data/stdio.h-data: Likewise.
65596         * conform/data/stdlib.h-data: Likewise.
65597         * conform/data/stropts.h-data: Likewise.
65598         * conform/data/sys/mman.h-data: Likewise.
65599         * conform/data/sys/stat.h-data: Likewise.
65600         * conform/data/sys/types.h-data: Likewise.
65601         * conform/data/sys/wait.h-data: Likewise.
65602         * conform/data/time.h-data: Likewise.
65603         * conform/data/unistd.h-data: Likewise.
65604         * conform/data/utime.h-data: Likewise.
65606         * io/sys/stat.h: fchmod was always in POSIX.
65607         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
65608         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
65609         * rt/aio.h: Define __need_timespec before including <time.h>.
65610         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
65611         struct.  Add forward declaration of pthread_attr_t and use it in
65612         sigevent.
65613         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65614         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65615         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
65616         always remove CLK_TCK definition.
65618 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
65620         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65622 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
65624         * conform/run-conformtest.sh: New file.
65625         * conform/Makefile: Run run-conformtest for tests.
65626         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
65627         support.
65629         * conform/data/uchar.h-data: New file.
65630         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65631         * conform/data/arpa/inet.h-data: Likewise.
65632         * conform/data/assert.h-data: Likewise.
65633         * conform/data/complex.h-data: Likewise.
65634         * conform/data/cpio.h-data: Likewise.
65635         * conform/data/ctype.h-data: Likewise.
65636         * conform/data/dirent.h-data: Likewise.
65637         * conform/data/dlfcn.h-data: Likewise.
65638         * conform/data/errno.h-data: Likewise.
65639         * conform/data/fcntl.h-data: Likewise.
65640         * conform/data/float.h-data: Likewise.
65641         * conform/data/fmtmsg.h-data: Likewise.
65642         * conform/data/fnmatch.h-data: Likewise.
65643         * conform/data/ftw.h-data: Likewise.
65644         * conform/data/glob.h-data: Likewise.
65645         * conform/data/grp.h-data: Likewise.
65646         * conform/data/iconv.h-data: Likewise.
65647         * conform/data/inttypes.h-data: Likewise.
65648         * conform/data/langinfo.h-data: Likewise.
65649         * conform/data/libgen.h-data: Likewise.
65650         * conform/data/limits.h-data: Likewise.
65651         * conform/data/locale.h-data: Likewise.
65652         * conform/data/math.h-data: Likewise.
65653         * conform/data/monetary.h-data: Likewise.
65654         * conform/data/mqueue.h-data: Likewise.
65655         * conform/data/ndbm.h-data: Likewise.
65656         * conform/data/net/if.h-data: Likewise.
65657         * conform/data/netdb.h-data: Likewise.
65658         * conform/data/netinet/in.h-data: Likewise.
65659         * conform/data/nl_types.h-data: Likewise.
65660         * conform/data/poll.h-data: Likewise.
65661         * conform/data/pthread.h-data: Likewise.
65662         * conform/data/pwd.h-data: Likewise.
65663         * conform/data/regex.h-data: Likewise.
65664         * conform/data/sched.h-data: Likewise.
65665         * conform/data/search.h-data: Likewise.
65666         * conform/data/semaphore.h-data: Likewise.
65667         * conform/data/setjmp.h-data: Likewise.
65668         * conform/data/signal.h-data: Likewise.
65669         * conform/data/spawn.h-data: Likewise.
65670         * conform/data/stdarg.h-data: Likewise.
65671         * conform/data/stdio.h-data: Likewise.
65672         * conform/data/stdlib.h-data: Likewise.
65673         * conform/data/string.h-data: Likewise.
65674         * conform/data/strings.h-data: Likewise.
65675         * conform/data/stropts.h-data: Likewise.
65676         * conform/data/sys/ipc.h-data: Likewise.
65677         * conform/data/sys/mman.h-data: Likewise.
65678         * conform/data/sys/msg.h-data: Likewise.
65679         * conform/data/sys/resource.h-data: Likewise.
65680         * conform/data/sys/select.h-data: Likewise.
65681         * conform/data/sys/sem.h-data: Likewise.
65682         * conform/data/sys/shm.h-data: Likewise.
65683         * conform/data/sys/socket.h-data: Likewise.
65684         * conform/data/sys/stat.h-data: Likewise.
65685         * conform/data/sys/statvfs.h-data: Likewise.
65686         * conform/data/sys/time.h-data: Likewise.
65687         * conform/data/sys/timeb.h-data: Likewise.
65688         * conform/data/sys/times.h-data: Likewise.
65689         * conform/data/sys/types.h-data: Likewise.
65690         * conform/data/sys/uio.h-data: Likewise.
65691         * conform/data/sys/un.h-data: Likewise.
65692         * conform/data/sys/utsname.h-data: Likewise.
65693         * conform/data/sys/wait.h-data: Likewise.
65694         * conform/data/syslog.h-data: Likewise.
65695         * conform/data/tar.h-data: Likewise.
65696         * conform/data/termios.h-data: Likewise.
65697         * conform/data/utime.h-data: Likewise.
65698         * conform/data/utmpx.h-data: Likewise.
65699         * conform/data/varargs.h-data: Likewise.
65700         * conform/data/wchar.h-data: Likewise.
65701         * conform/data/wctype.h-data: Likewise.
65702         * conform/data/wordexp.h-data: Likewise.
65704         * include/stropts.h: New file.
65705         * include/uchar.h: New file.
65706         * include/aio.h: Changes to allow conformtest.pl to use the headers.
65707         * include/assert.h: Likewise.
65708         * include/ctype.h: Likewise.
65709         * include/dirent.h: Likewise.
65710         * include/dlfcn.h: Likewise.
65711         * include/fcntl.h: Likewise.
65712         * include/fnmatch.h: Likewise.
65713         * include/glob.h: Likewise.
65714         * include/grp.h: Likewise.
65715         * include/libio.h: Likewise.
65716         * include/locale.h: Likewise.
65717         * include/math.h: Likewise.
65718         * include/net/if.h: Likewise.
65719         * include/netdb.h: Likewise.
65720         * include/netinet/in.h: Likewise.
65721         * include/pthread.h: Likewise.
65722         * include/pwd.h: Likewise.
65723         * include/regex.h: Likewise.
65724         * include/sched.h: Likewise.
65725         * include/search.h: Likewise.
65726         * include/setjmp.h: Likewise.
65727         * include/signal.h: Likewise.
65728         * include/stdio.h: Likewise.
65729         * include/stdlib.h: Likewise.
65730         * include/string.h: Likewise.
65731         * include/sys/cdefs.h: Likewise.
65732         * include/sys/mman.h: Likewise.
65733         * include/sys/msg.h: Likewise.
65734         * include/sys/resource.h: Likewise.
65735         * include/sys/select.h: Likewise.
65736         * include/sys/socket.h: Likewise.
65737         * include/sys/stat.h: Likewise.
65738         * include/sys/statvfs.h: Likewise.
65739         * include/sys/time.h: Likewise.
65740         * include/sys/times.h: Likewise.
65741         * include/sys/uio.h: Likewise.
65742         * include/sys/utsname.h: Likewise.
65743         * include/sys/wait.h: Likewise.
65744         * include/termios.h: Likewise.
65745         * include/time.h: Likewise.
65746         * include/ulimit.h: Likewise.
65747         * include/unistd.h: Likewise.
65748         * include/utime.h: Likewise.
65749         * include/wchar.h: Likewise.
65750         * include/wctype.h: Likewise.
65751         * include/wordexp.h: Likewise.
65753         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65755         * time/time.h: TIME_UTC must be a macro.
65756         Make timespec_get available for ISO C11 only as well.
65758 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65760         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65761         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65763 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65765         * configure.in: Use -o not -a in test for unsupported multi-arch.
65767 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65769         * manual/texinfo.tex: Update to version 2012-01-19.16.
65771 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65773         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65775 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65777         [BZ #13738]
65778         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65779         * manual/fdl-1.3.texi: New file.
65780         * manual/fdl-1.1.texi: File removed.
65782         [BZ #13738]
65783         * manual/libc.texinfo (FDL_VERSION): New @set.
65784         Use it for mention of FDL in cover text.
65785         (Documentation License): Use it in @include file name.
65787 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65788             Roland McGrath  <roland@hack.frob.com>
65790         [BZ #5461]
65791         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65792         (not LONG_LONG_MAX and LONG_LONG_MIN.
65793         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65794         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65795         name.
65796         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65798 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65800         [BZ #2547]
65801         [BZ #11365]
65802         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65803         manipulate bits before adding and subtracting TWO23[sx].
65804         * math/libm-test.inc (nearbyint_test): Add more tests.
65806 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65808         [BZ #2548]
65809         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65810         bits before adding and subtracting TWO23[sx].
65811         * math/libm-test.inc (rint_test): Add more tests.
65812         (rint_test_tonearest): Likewise.
65813         (rint_test_towardzero): Likewise.
65814         (rint_test_downward): Likewise.
65815         (rint_test_upward: Likewise.
65817 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65819         [BZ #10110]
65820         * include/stdc-predef.h: New file.  Extracted from features.h.
65821         * include/features.h: Include stdc-predef.h.
65822         * Makefile (headers): Add stdc-predef.h.
65823         * CONFORMANCE (Compiler limitations): Update.
65825 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65827         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65829 2012-02-21  David S. Miller  <davem@davemloft.net>
65831         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65832         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65834 2012-02-20  David S. Miller  <davem@davemloft.net>
65836         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65837         using a normal save/restore sequence, rather than allocating a
65838         dummy stack frame just to store a frame pointer and restore.
65839         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65841 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65843         * manual/install.texi: Fix stray word in line-wrapped comment.
65845 2012-02-20  David S. Miller  <davem@davemloft.net>
65847         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65848         both binutils and gcc support GOTDATA.
65850         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65851         "rd %pc" in the PIC register setup sequences.
65853         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65854         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65855         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65856         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65857         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65859         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65860         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65862         (SYSCALL_ERROR_HANDLER): Likewise.
65863         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65864         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65865         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65866         (SYSCALL_ERROR_HANDLER): Likewise.
65868         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65869         (HAVE_GCC_GOTDATA): New.
65870         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65871         relocation support in both binutils and gcc.
65872         * sysdeps/sparc/elf/configure: Regenerate.
65874         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65875         * sysdeps/sparc/sparc32/elf/configure: Delete.
65876         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65877         * sysdeps/sparc/sparc64/elf/configure: Delete.
65878         * sysdeps/sparc/elf/configure.in: New file.
65879         * sysdeps/sparc/elf/configure: Generate.
65881         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65882         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65883         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65884         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65885         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65887 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65889         * manual/install.texi: Do not mention specific glibc version
65890         numbers.
65891         * manual/libc.texinfo (VERSION, UPDATED): Update.
65892         (@copying): Use @copyright{} and range of years.
65894 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65896         [BZ #13695]
65897         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65898         [crti.S not in sysdirs] (generated): Do not append.
65899         [crti.S not in sysdirs] (omit-deps): Likewise.
65900         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65901         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65902         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65903         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65904         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65905         Likewise.
65906         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65907         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65908         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65909         * csu/defs.awk: Remove file.
65910         * sysdeps/generic/initfini.c: Likewise.
65911         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65912         variable.
65913         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65914         Likewise.
65916 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65918         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65919         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65920         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65921         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65922         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65923         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65924         <bits/epoll.h>.
65925         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65926         (__EPOLL_PACKED): Define to empty if not defined by
65927         <bits/epoll.h>.
65928         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65930         bits/epoll.h.
65932 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65934         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65935         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65936         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65937         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65938         <bits/timerfd.h>.
65939         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65941         bits/timerfd.h.
65943 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65945         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65946         in C locale.
65947         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65948         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65949         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65952 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65954         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65955         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65957 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65959         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65960         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65961         defined.
65962         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65963         Likewise.
65964         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65965         entry for 2.16.
65967 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65969         * math/w_acos.c: Use non-signaling floating-point comparisons.
65970         * math/w_acosf.c: Likewise.
65971         * math/w_acosh.c: Likewise.
65972         * math/w_acoshf.c: Likewise.
65973         * math/w_acoshl.c: Likewise.
65974         * math/w_acosl.c: Likewise.
65975         * math/w_asin.c: Likewise.
65976         * math/w_asinf.c: Likewise.
65977         * math/w_asinl.c: Likewise.
65978         * math/w_atanh.c: Likewise.
65979         * math/w_atanhf.c: Likewise.
65980         * math/w_atanhl.c: Likewise.
65981         * math/w_exp2.c: Likewise.
65982         * math/w_exp2f.c: Likewise.
65983         * math/w_exp2l.c: Likewise.
65984         * math/w_j0.c: Likewise.
65985         * math/w_j0f.c: Likewise.
65986         * math/w_j0l.c: Likewise.
65987         * math/w_j1.c: Likewise.
65988         * math/w_j1f.c: Likewise.
65989         * math/w_j1l.c: Likewise.
65990         * math/w_jn.c: Likewise.
65991         * math/w_jnf.c: Likewise.
65992         * math/w_log.c: Likewise.
65993         * math/w_log10.c: Likewise.
65994         * math/w_log10f.c: Likewise.
65995         * math/w_log10l.c: Likewise.
65996         * math/w_log2.c: Likewise.
65997         * math/w_log2f.c: Likewise.
65998         * math/w_log2l.c: Likewise.
65999         * math/w_logf.c: Likewise.
66000         * math/w_logl.c: Likewise.
66001         * math/w_sqrt.c: Likewise.
66002         * math/w_sqrtf.c: Likewise.
66003         * math/w_sqrtl.c: Likewise.
66004         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66005         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66006         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66007         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66008         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66010 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66012         [BZ #9739]
66013         * manual/string.texi (strnlen): Use correct parameter name in
66014         equivalent expression.
66016 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66018         [BZ #11174]
66019         * manual/users.texi (seteuid): Consistently use neweuid for
66020         argument name.
66022 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66024         [BZ #13704]
66025         * manual/nss.texi (Services in the NSS configuration): Correct
66026         list of services in example configuration file.
66028 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
66030         [BZ #11322]
66031         * manual/arith.texi: Remove statements about negative zero
66032         behaving identically to zero.
66034 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66036         [BZ #5993]
66037         * manual/install.texi: Do not document upgrading from libc5.
66039 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66041         [BZ #4596]
66042         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66044 2012-02-18  David S. Miller  <davem@davemloft.net>
66046         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66047         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66048         %o7 across the call.
66049         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66050         instead.
66051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66052         SETUP_PIC_REG_LEAF.
66053         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66054         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66055         * sysdeps/sparc/crtn.S: Likewise.
66057 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66059         * aout/Makefile: Remove.
66061 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
66063         [BZ #13058]
66064         * manual/examples/argp-ex1.c (main): Format definition in GNU
66065         style.
66066         * manual/examples/argp-ex2.c (main): Likewise.
66067         * manual/examples/argp-ex3.c (main): Likewise.
66068         * manual/examples/argp-ex4.c (main): Likewise.
66069         * manual/examples/longopt.c (main): Use new-style prototype
66070         definition.
66071         * manual/examples/strncat.c (main): Specify return type and use
66072         (void) for arguments.
66073         * manual/examples/subopt.c (main): Use char **argv argument.
66075 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66077         [BZ #5077]
66078         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66079         rounding modes.
66081 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
66083         [BZ #6907]
66084         * manual/string.texi (strchr): Change when strchrnul is
66085         recommended.
66087 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
66089         [BZ #174]
66090         * manual/locale.texi (setlocale): Document LOCPATH.
66092 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66094         [BZ #10210]
66095         * manual/process.texi (execle): Move @dots{} before last argument.
66097 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
66099         [BZ #12047]
66100         * manual/charset.texi (Generic Charset Conversion): Fix typo
66101         (LC_TYPE -> LC_CTYPE).
66103 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
66105         [BZ #5805]
66106         * manual/arith.texi (scalbn): Use @var{} on parameter names.
66107         (scalbnf): Likewise.
66108         (scalbnl): Likewise.
66109         (scalbln): Likewise.
66110         (scalblnf): Likewise.
66111         (scalblnl): Likewise.
66112         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66113         (vwarnx): Likewise.
66114         (verr): Likewise.
66115         (verrx): Likewise.
66116         * manual/filesys.texi (telldir): Use braces around return type.
66117         * manual/llio.texi (mmap): Add space after comma.
66118         (mmap64): Likewise.
66119         * manual/math.texi (jn): Use @var{} on parameter names.
66120         (jnf): Likewise.
66121         (jnl): Likewise.
66122         (yn): Likewise.
66123         (ynf): Likewise.
66124         (ynl): Likewise.
66125         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66126         line.
66127         * manual/resource.texi (ulimit): Use @dots{} instead of literal
66128         "...".
66129         (sched_get_priority_min): Remove semicolon on @deftypefun line.
66130         (sched_get_priority_max): Likewise.
66131         * manual/signal.texi (sigvec): Add space after comma.
66132         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
66133         names.
66134         (if_indextoname): Likewise.
66135         (if_freenameindex): Likewise.
66136         (sendto): Use ',' instead of '.' in prototype.
66137         * manual/startup.texi (syscall): Use @dots{} instead of literal
66138         "...".
66139         * manual/stdio.texi (__fpending): Separate initial words of
66140         paragraph from @deftypefun line.
66141         * manual/syslog.texi (syslog): Use @dots{} instead of literal
66142         "...".
66143         (vsyslog): Use @var{} on parameter names.
66144         * manual/terminal.texi (stty): Use @var{} on parameter names.
66145         * manual/users.texi (getutmp): Use @var{} on parameter names.
66146         (getutmpx): Likewise.
66148 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66150         [BZ #6884]
66151         * manual/stdio.texi (fopen): Fix typos in description of
66152         ",ccs=STRING".
66154 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
66156         [BZ #4026]
66157         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
66158         get clock_id definition.
66160 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
66162         [BZ #4822]
66163         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
66164         (madvise): Cast every argument to void on its own.
66166 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66168         [BZ #9902]
66169         * manual/startup.texi (Exit Status): Fix typo.
66171 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66173         [BZ #10140]
66174         * manual/examples/argp-ex1.c: Include <stdlib.h>.
66175         * manual/examples/argp-ex2.c: Likewise.
66176         * manual/examples/argp-ex3.c: Likewise.
66178 2012-02-16  Richard Henderson  <rth@redhat.com>
66180         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
66181         * sysdeps/s390/s390-32/initfini.c: Remove.
66182         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
66183         * sysdeps/s390/s390-64/initfini.c: Remove.
66185 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66187         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
66188         compiler output for sysdeps/generic/initfini.c.
66189         * sysdeps/sh/elf/initfini.c: Remove file.
66191 2012-02-16  David S. Miller  <davem@davemloft.net>
66193         [BZ #11494]
66194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
66196         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
66197         * sysdeps/sparc/crti.S: New file.
66198         * sysdeps/sparc/crtn.S: New file.
66199         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
66200         * sysdeps/sparc/sparc64/Makefile: Likewise.
66202 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
66204         [BZ #3335]
66205         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
66207 2012-02-15  Roland McGrath  <roland@hack.frob.com>
66209         [BZ #4822]
66210         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
66212         * mach/devstream.c (cookie_io_functions_t): Macro removed.
66213         (write, read, close): Likewise.
66214         Patch by Aurelien Jarno <aurelien@aurel32.net>.
66216 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
66218         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
66219         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
66220         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
66221         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
66222         <bits/signalfd.h>.
66223         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
66224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66225         bits/signalfd.h.
66227 2012-02-14  Marek Polacek  <polacek@redhat.com>
66229         * sysdeps/x86_64/crti.S: New file.
66230         * sysdeps/x86_64/crtn.S: New file.
66231         * sysdeps/x86_64/elf/initfini.c: Remove file.
66233 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66235         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
66236         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
66237         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
66238         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
66239         <bits/inotify.h>.
66240         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
66241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66242         bits/inotify.h.
66244 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66246         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
66247         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
66248         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
66249         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
66250         <bits/eventfd.h>.
66251         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
66252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66253         bits/eventfd.h.
66255 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
66257         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
66258         __feraiseexcept instead of feraiseexcept.
66260         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
66261         nanosleep invocations.
66262         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
66263         strings, and add error checking for a nanosleep invocations.
66265 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
66267         Replace FSF snail mail address with URLs, as per GNU coding standards.
66268         Most of the snail mail addresses were wrong anyway, and omitting
66269         them makes the source code easier to maintain.  Almost all of the
66270         changes are to license notices and to locale LC_IDENTIFICATION
66271         addresses, except for this one:
66272         * manual/libc.texinfo: In "Published by", give the FSF's URL,
66273         not its snail mail address.
66275 2012-02-09  Richard Henderson  <rth@twiddle.net>
66277         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
66278         of kernel-features.h.
66280         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
66282 2012-02-08  Marek Polacek  <polacek@redhat.com>
66284         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
66285         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
66286         * sysdeps/gnu/_G_config.h: Likewise.
66287         * sysdeps/generic/_G_config.h: Likewise.
66289 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
66291         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
66292         tests.
66293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66295         * sysdeps/powerpc/powerpc32/crti.S: New file.
66296         * sysdeps/powerpc/powerpc32/crtn.S: New file.
66297         * sysdeps/powerpc/powerpc64/crti.S: New file.
66298         * sysdeps/powerpc/powerpc64/crtn.S: New file.
66300         * Makeconfig (have-initfini): Don't set.
66301         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
66302         * configure.in (nopic_initfini): Don't substitute.
66303         * config.h.in (HAVE_INITFINI): Don't #undef.
66304         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
66305         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
66307 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
66309         Support crti.S and crtn.S provided directly by architectures.
66310         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
66311         [crti.S in sysdirs] (omit-deps): Likewise.
66312         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
66313         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
66314         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
66315         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
66316         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
66317         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
66318         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
66319         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
66320         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
66321         compiler output for sysdeps/generic/initfini.c.
66322         * sysdeps/i386/elf/Makefile: Remove file.
66323         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
66325 2012-02-07  Marek Polacek  <polacek@redhat.com>
66327         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
66328         * sysdeps/gnu/_G_config.h: Likewise.
66329         * sysdeps/mach/hurd/_G_config.h: Likewise.
66331 2012-02-07  Marek Polacek  <polacek@redhat.com>
66333         * math/Makefile (tests): Add tst-CMPLX2.
66334         * math/tst-CMPLX2.c: New file.
66336 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
66338         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66340         * math/libm-test.inc (jn_test): Add missing L suffix.
66342 2012-02-06  Marek Polacek  <polacek@redhat.com>
66344         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
66345         * sysdeps/i386/fpu/e_powf.S: Likewise.
66346         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66347         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66348         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66349         * sysdeps/i386/fpu/e_pow.S: Likewise.
66350         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66351         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66352         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66353         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66354         * sysdeps/i386/fpu/e_log2.S: Likewise.
66355         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66356         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66357         * sysdeps/i386/fpu/e_powl.S: Likewise.
66358         * sysdeps/i386/fpu/s_log1p.S: Likewise.
66359         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66360         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66361         * sysdeps/i386/fpu/e_logl.S: Likewise.
66362         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66363         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
66364         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66365         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66366         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66367         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66368         * sysdeps/i386/fpu/e_log.S: Likewise.
66369         * sysdeps/i386/fpu/s_cexp.S: Likewise.
66370         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66371         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
66372         * sysdeps/i386/fpu/e_logf.S: Likewise.
66373         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66374         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66375         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
66376         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66377         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66378         * sysdeps/i386/fpu/e_log10.S: Likewise.
66379         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66380         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66381         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66382         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66383         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66384         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66385         * sysdeps/i386/asm-syntax.h: Likewise.
66386         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66387         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66388         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66389         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
66390         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
66391         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66392         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66393         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66394         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66395         * sysdeps/powerpc/sysdep.h: Likewise.
66396         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
66397         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66399 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66401         [BZ #411]
66402         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
66404 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66406         * sysdeps/i386/sysdep.h: Include <features.h>.
66407         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
66408         version.
66410 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
66412         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
66413         Define.
66414         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
66415         LOAD_PIC_REG_STR.
66417 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66419         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
66420         (SETUP_PIC_REG): Use GET_PC_THUNK.
66421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
66422         macro.
66424 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66426         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
66427         for non-PIC compilation.
66428         (SETUP_PIC_REG): Add .p2align directive.
66429         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
66430         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
66431         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66432         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66433         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
66434         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66435         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
66436         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66437         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66438         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66439         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66440         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66441         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66442         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66443         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66444         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
66445         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
66446         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66447         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66448         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66449         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66450         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
66451         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66452         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66453         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
66454         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
66455         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66456         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
66457         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66458         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66459         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66460         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66461         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66462         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66463         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66464         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66465         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66466         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66467         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66468         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66469         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66471 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66473         * math/tst-CMPLX.c: Include <stdio.h>.
66475 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
66477         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
66478         float.
66479         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66480         * sysdeps/sparc/bits/mathdef.h: Likewise.
66482 2012-01-31  Marek Polacek  <polacek@redhat.com>
66484         * libio/libio.h: Don't define _PARAMS.
66485         * locale/programs/config.h: Don't define PARAMS.
66486         * stdlib/strtol_l.c: Likewise.
66487         (__strtol_l): Remove PARAMS from the prototype.
66489 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
66491         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
66492         names.  Just use the correct names.  Remove unnecessary wrapper
66493         functions.
66494         * malloc/arena.c: Likewise.
66495         * malloc/hooks.c: Likewise.
66497         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
66498         ARENA_TEST says not to.  Simplify test for creation of a new arena.
66499         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
66501 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
66503         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
66504         into tail calls.
66505         (update_get_addr): New function.
66506         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
66507         GET_ADDR_MODULE parameter.
66509 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66511         * crypt/cert.c: Remove __STDC__ conditionals.
66512         * crypt/crypt-entry.c: Likewise.
66513         * crypt/crypt_util.c: Likewise.
66514         * libio/filedoalloc.c: Likewise.
66515         * libio/fileops.c: Likewise.
66516         * libio/genops.c: Likewise.
66517         * libio/iofclose.c: Likewise.
66518         * libio/iofdopen.c: Likewise.
66519         * libio/iofopen.c: Likewise.
66520         * libio/iofopen64.c: Likewise.
66521         * libio/iogetdelim.c: Likewise.
66522         * libio/iopopen.c: Likewise.
66523         * libio/obprintf.c: Likewise.
66524         * libio/oldfileops.c: Likewise.
66525         * libio/oldiofclose.c: Likewise.
66526         * libio/oldiofdopen.c: Likewise.
66527         * libio/oldiofopen.c: Likewise.
66528         * libio/oldiopopen.c: Likewise.
66529         * libio/wfiledoalloc.c: Likewise.
66530         * libio/wgenops.c: Likewise.
66531         * locale/programs/xmalloc.c: Likewise.
66532         * misc/syslog.c: Likewise.
66533         * stdio-common/xbug.c: Likewise.
66534         * string/memchr.c: Likewise.
66535         * string/memcmp.c: Likewise.
66536         * string/memrchr.c: Likewise.
66537         * string/rawmemchr.c: Likewise.
66538         * sysdeps/posix/getcwd.c: Likewise.
66539         * time/strftime_l.c: Likewise.
66541 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66543         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
66544         * config.make.in (config-cflags-sse2avx): Define.
66545         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
66546         Fix typo.
66548 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
66550         * scripts/config.guess: Update from upstream config git repository.
66551         * scripts/config.sub: Likewise.
66553 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
66555         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
66556         (EM_NUM): Update.
66557         (R_TILEPRO_*, R_TILEGX_*): New macros.
66559         * scripts/firstversions.awk: Fix bug in version range handling.
66561         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
66563         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
66565         * include/sys/epoll.h: New file.
66566         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
66567         libc_hidden_def.
66569 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
66571         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
66572         Avoid unnecessary __WORDSIZE == 64 test.
66573         (fmaxf): Use VEX format if possible.
66574         (fmax): Likewise.
66575         (fminf): Likewise.
66576         (fmin): Likewise.
66578         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
66579         * math/math_private.h: Remove libc_fegetround* and
66580         libc_fesetround*.
66581         * sysdeps/i386/configure.in: Check for -msse2avx.
66582         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
66583         also if SSE2AVX is defined.
66584         Remove libc_fegetround* and libc_fesetround*.
66585         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
66586         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
66587         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
66588         of HAS_YMM_USABLE.
66589         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66590         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66591         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66592         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66593         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66595         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
66597 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66599         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
66600         size is not set.
66601         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66603 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
66605         [BZ #13618]
66606         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
66607         relocation.
66608         * Makeconfig (libm): Define.
66609         * elf/Makefile: Add rules to build and run tst-relsort1.
66610         * elf/tst-relsort1.c: New file.
66611         * elf/tst-relsort1mod1.c: New file.
66612         * elf/tst-relsort1mod2.c: New file.
66614 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
66616         * math/s_ldexp.c: Remove __STDC__ conditionals.
66617         * math/s_ldexpf.c: Likewise.
66618         * math/s_ldexpl.c: Likewise.
66619         * math/s_nextafter.c: Likewise.
66620         * math/s_nexttowardf.c: Likewise.
66621         * math/s_significand.c: Likewise.
66622         * math/s_significandf.c: Likewise.
66623         * math/s_significandl.c: Likewise.
66624         * math/w_jnl.c: Likewise.
66625         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66626         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66627         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66628         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66629         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66630         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66631         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66632         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66633         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66634         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66635         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66636         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66637         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66638         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66639         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66640         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66641         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66642         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66643         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66644         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66645         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66646         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66647         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66648         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66649         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66650         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66651         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66652         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66653         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66654         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66655         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66656         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66657         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66658         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66659         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66660         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66661         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66662         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66663         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66664         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66665         * sysdeps/ieee754/k_standard.c: Likewise.
66666         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66667         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66668         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66669         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66670         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66671         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66672         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66673         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66674         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66675         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66676         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66677         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66678         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66679         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66680         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66681         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66682         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66683         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66684         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66685         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66686         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66687         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66688         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66689         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66690         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66691         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66692         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66694         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66695         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66696         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66697         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
66698         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66699         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66700         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66701         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66702         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
66703         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66704         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66705         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66706         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66707         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66708         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66709         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66710         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66711         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66712         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66713         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66714         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66715         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66716         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66717         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66718         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66719         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66720         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66721         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66722         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66723         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66724         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66725         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66726         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66727         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66728         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66729         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66730         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66731         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66732         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66733         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66734         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66735         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66736         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66737         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66738         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66739         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66740         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66741         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66742         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66743         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66744         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66745         * sysdeps/ieee754/s_matherr.c: Likewise.
66746         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66747         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66748         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66749         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66751 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66753         * crypt/md5.h: Remove __STDC__ conditionals.
66754         * libio/libioP.h: Likewise.
66755         * locale/programs/config.h: Likewise.
66756         * sysdeps/generic/sysdep.h: Likewise.
66757         * sysdeps/i386/asm-syntax.h: Likewise.
66758         * sysdeps/s390/asm-syntax.h: Likewise.
66759         * sysdeps/unix/sysdep.h: Likewise.
66760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66763 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66765         * libio/libio.h: Remove __STDC__ conditionals.
66766         * malloc/obstack.h: Likewise.
66767         * math/complex.h: Likewise.
66768         * math/math.h: Likewise.
66769         * sysdeps/generic/_G_config.h: Likewise.
66770         * sysdeps/gnu/_G_config.h: Likewise.
66771         * sysdeps/mach/hurd/_G_config.h: Likewise.
66772         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66773         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66774         * sysdeps/sparc/bits/mathdef.h: Likewise.
66776 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66778         [BZ #13583]
66779         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66780         Clean up HAS_* macros.
66781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66782         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66783         possible.
66784         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66785         HAS_AVX.
66786         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66787         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66788         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66789         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66790         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66792 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66794         * elf/tst-unique3.cc (gets): Remove declaration.
66795         * elf/tst-unique3lib.cc (gets): Likewise.
66796         * elf/tst-unique3lib2.cc (gets): Likewise.
66797         * elf/tst-unique4.cc (gets): Likewise.
66799 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66801         * include/stdio.h: Add C++ protection.  Add gets declarations and
66802         definitions.
66803         * debug/tst-chk1.c: Don't declare gets here.
66804         * stdio-common/tst-gets.c: Likewise.
66806 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66808         * posix/glob: Remove directory.
66810 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66812         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66814 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66816         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66817         of the non-standard EPFNOSUPPORT.
66819 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66821         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66822         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66823         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66825 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66827         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66829 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66831         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66832         transient errors.
66833         * nscd/grpcache.c (cache_addgr): Likewise.
66834         * nscd/hstcache.c (cache_addhst): Likewise.
66835         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66836         * nscd/pwdcache.c (cache_addpw): Likewise.
66837         * nscd/servicescache.c (cache_addserv): Likewise.
66839 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66841         * malloc/malloc.c: Various cleanups.
66842         * malloc/hooks.c: Likewise.
66844         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66845         * stdlib/bug-fmtmsg1.c: New file.
66847         * stdlib/fmtmsg.c (init): Add missing unlock.
66848         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66850 2012-01-12  Marek Polacek  <polacek@redhat.com>
66852         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66853         and _GNU_SOURCE.
66855 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66857         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66858         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66859         macro to ensure uniqueness of label name.
66860         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66861         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66863 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66865         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66867         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66868         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66869         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66870         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66872 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66874         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66876         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66877         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66878         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66880         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66882         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66883         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66884         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66885         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66887         * math/bits/math-finite.h: Add ldexp support.
66889 2012-01-10  Marek Polacek  <polacek@redhat.com>
66891         * locale/programs/localedef.h (show_archive_content): Add noreturn
66892         attribute.
66894 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66896         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66898 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66900         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66902         * io/Makefile (headers): Add bits/poll2.h.
66904 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66907         typo #include statement.
66909 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66911         * include/sys/cdefs.h: Define __attribute_alloc_size.
66912         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66913         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66914         * elf/pldd.c: Likewise.
66915         * iconv/iconv_charmap.c: Likewise.
66916         * iconv/iconvconfig.c: Likewise.
66917         * iconv/strtab.c: Likewise.
66918         * locale/programs/locale.c: Likewise.
66919         * locale/programs/localedef.h: Likewise.
66920         * locale/programs/simple-hash.c: Likewise.
66921         * nscd/nscd.h: Likewise.
66922         * nss/makedb.c: Likewise.
66923         * sysdeps/generic/ldconfig.h: Likewise.
66924         * locale/programs/localedef.c: Remove xmalloc prototype.
66925         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66927 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66929         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66930         appropriate.
66932 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66934         * math/Makefile (tests): Add tst-CMPLX.
66935         * math/tst-CMPLX.c: New file.
66937         * math/complex.h (CMPLXL): Fix typo.
66939         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66940         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66941         GLIBC_2.16.
66942         * debug/tst-chk1.c: Add poll and ppoll tests.
66943         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66944         * include/sys/poll.h: Add hidden proto for ppoll.
66945         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66946         * sysdeps/mach/hurd/ppoll.c: Likewise.
66947         * io/ppoll.c: Likewise.
66948         * debug/poll_chk.c: New file.
66949         * debug/ppoll_chk.c: New file.
66950         * include/bits/poll2.h: New file.
66951         * io/bits/poll2.h: New file.
66953         [BZ #1350]
66954         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66956         * configure.in: static is always set to yes.  Remove.
66957         * config.make.in: Don't set build-static.
66958         * Makeconfig: Remove use of build-static.
66959         * dlfcn/Makefile: Likewise.
66960         * elf/Makefile: Likewise.
66961         * math/Makefile: Likewise.
66962         * misc/Makefile: Likewise.
66963         * nptl/Makefile: Likewise.
66964         * sysdeps/mach/hurd/Makefile: Likewise.
66966         * configure.in: PWD_P is not used anymore.
66967         * config.make.in: Remove PWD_P entry.
66969         * configure.in: Remove last remnants of RANLIB.
66970         No need to check for signed size_t anymore.
66971         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66972         and IA-64.
66973         Remove __builtin_expect test because we require at least gcc 3.4.
66974         * aclocal.m4: Likewise.
66976         * wcsmbs/mbrtoc16.c: Implement using towc function.
66977         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66978         * wcsmbs/wcsmbsload.c: Likewise.
66979         * iconv/gconv_simple.c: Likewise.
66980         * iconv/gconv_int.h: Likewise.
66981         * iconv/gconv_builtin.h: Likewise.
66982         * iconv/iconv_prog.c: Remove CHAR16 handling.
66984         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66986         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66988         * configure.in: Remove --with-elf and --enable-bounded options.
66989         Dont set base_machine for ia64.  More non-ELF conditions removed.
66990         Remove testing and setting of leading underscore information.
66991         * config.make.in (build-bounded): Set to no.
66992         * config.h.in: Remove NO_UNDERSCORES entry.
66993         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66994         them.
66995         * csu/start.c: Remove !NO_UNDERSCORE code.
66996         * locale/localeinfo.h: Likewise.
66997         * sysdeps/generic/machine-gmon.h: Likewise.
66998         * sysdeps/generic/sysdep.h: Likewise.
66999         * sysdeps/i386/sysdep.h: Likewise.
67000         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67001         * sysdeps/mach/sysdep.h: Likewise.
67002         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67003         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67004         * sysdeps/sh/sysdep.h: Likewise.
67005         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67006         * sysdeps/unix/i386/sysdep.S: Likewise.
67007         * sysdeps/unix/sparc/start.c: Likewise.
67008         * sysdeps/unix/sparc/sysdep.S: Likewise.
67009         * sysdeps/unix/sparc/sysdep.h: Likewise.
67010         * sysdeps/unix/start.c: Likewise.
67011         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67012         * sysdeps/x86_64/sysdep.h: Likewise.
67014 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67016         [BZ #13553]
67017         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67018         for non-gcc.
67019         * argp/argp-fmtstream.h: Use const instead __const.
67020         * argp/argp.h: Likewise.
67021         * assert/assert.h: Likewise.
67022         * bits/fenv.h: Likewise.
67023         * bits/sched.h: Likewise.
67024         * bits/sigset.h: Likewise.
67025         * bits/sigthread.h: Likewise.
67026         * catgets/nl_types.h: Likewise.
67027         * conform/data/pthread.h-data: Likewise.
67028         * crypt/crypt-private.h: Likewise.
67029         * crypt/crypt.h: Likewise.
67030         * crypt/crypt_util.c: Likewise.
67031         * ctype/ctype.h: Likewise.
67032         * debug/execinfo.h: Likewise.
67033         * debug/mbsnrtowcs_chk.c: Likewise.
67034         * debug/mbsrtowcs_chk.c: Likewise.
67035         * debug/wcsnrtombs_chk.c: Likewise.
67036         * debug/wcsrtombs_chk.c: Likewise.
67037         * debug/wcstombs_chk.c: Likewise.
67038         * dirent/dirent.h: Likewise.
67039         * dlfcn/dlfcn.h: Likewise.
67040         * elf/neededtest4.c: Likewise.
67041         * grp/grp.h: Likewise.
67042         * gshadow/gshadow.h: Likewise.
67043         * iconv/gconv.h: Likewise.
67044         * iconv/gconv_int.h: Likewise.
67045         * iconv/gconv_simple.c: Likewise.
67046         * iconv/iconv.h: Likewise.
67047         * iconv/loop.c: Likewise.
67048         * iconv/skeleton.c: Likewise.
67049         * include/aio.h: Likewise.
67050         * include/aliases.h: Likewise.
67051         * include/argz.h: Likewise.
67052         * include/arpa/inet.h: Likewise.
67053         * include/assert.h: Likewise.
67054         * include/dirent.h: Likewise.
67055         * include/dlfcn.h: Likewise.
67056         * include/execinfo.h: Likewise.
67057         * include/fcntl.h: Likewise.
67058         * include/fenv.h: Likewise.
67059         * include/glob.h: Likewise.
67060         * include/grp.h: Likewise.
67061         * include/libintl.h: Likewise.
67062         * include/mntent.h: Likewise.
67063         * include/netdb.h: Likewise.
67064         * include/pwd.h: Likewise.
67065         * include/rpc/netdb.h: Likewise.
67066         * include/sched.h: Likewise.
67067         * include/search.h: Likewise.
67068         * include/shadow.h: Likewise.
67069         * include/signal.h: Likewise.
67070         * include/stdio.h: Likewise.
67071         * include/stdlib.h: Likewise.
67072         * include/string.h: Likewise.
67073         * include/sys/socket.h: Likewise.
67074         * include/sys/stat.h: Likewise.
67075         * include/sys/statfs.h: Likewise.
67076         * include/sys/statvfs.h: Likewise.
67077         * include/sys/syslog.h: Likewise.
67078         * include/sys/time.h: Likewise.
67079         * include/sys/uio.h: Likewise.
67080         * include/time.h: Likewise.
67081         * include/unistd.h: Likewise.
67082         * include/utmp.h: Likewise.
67083         * include/wchar.h: Likewise.
67084         * include/wctype.h: Likewise.
67085         * inet/aliases.h: Likewise.
67086         * inet/arpa/inet.h: Likewise.
67087         * inet/netinet/ether.h: Likewise.
67088         * inet/netinet/in.h: Likewise.
67089         * intl/libintl.h: Likewise.
67090         * io/bits/fcntl2.h: Likewise.
67091         * io/fcntl.h: Likewise.
67092         * io/ftw.h: Likewise.
67093         * io/sys/poll.h: Likewise.
67094         * io/sys/stat.h: Likewise.
67095         * io/sys/statfs.h: Likewise.
67096         * io/sys/statvfs.h: Likewise.
67097         * io/utime.h: Likewise.
67098         * libio/bits/stdio.h: Likewise.
67099         * libio/bits/stdio2.h: Likewise.
67100         * libio/libio.h: Likewise.
67101         * libio/libioP.h: Likewise.
67102         * libio/stdio.h: Likewise.
67103         * locale/lc-ctype.c: Likewise.
67104         * locale/locale.h: Likewise.
67105         * login/utmp.h: Likewise.
67106         * malloc/arena.c: Likewise.
67107         * malloc/malloc.c: Likewise.
67108         * malloc/malloc.h: Likewise.
67109         * malloc/mcheck.c: Likewise.
67110         * malloc/mtrace.c: Likewise.
67111         * math/bits/mathcalls.h: Likewise.
67112         * math/fenv.h: Likewise.
67113         * math/math_private.h: Likewise.
67114         * misc/bits/error.h: Likewise.
67115         * misc/bits/syslog.h: Likewise.
67116         * misc/err.h: Likewise.
67117         * misc/error.h: Likewise.
67118         * misc/fstab.h: Likewise.
67119         * misc/mntent.h: Likewise.
67120         * misc/regexp.h: Likewise.
67121         * misc/search.h: Likewise.
67122         * misc/sgtty.h: Likewise.
67123         * misc/sys/mman.h: Likewise.
67124         * misc/sys/syslog.h: Likewise.
67125         * misc/sys/uio.h: Likewise.
67126         * misc/sys/xattr.h: Likewise.
67127         * misc/ttyent.h: Likewise.
67128         * nis/rpcsvc/ypclnt.h: Likewise.
67129         * nss/nss.h: Likewise.
67130         * posix/bits/unistd.h: Likewise.
67131         * posix/fnmatch.h: Likewise.
67132         * posix/glob.h: Likewise.
67133         * posix/sched.h: Likewise.
67134         * posix/spawn.h: Likewise.
67135         * posix/sys/wait.h: Likewise.
67136         * posix/unistd.h: Likewise.
67137         * posix/wordexp.h: Likewise.
67138         * pwd/pwd.h: Likewise.
67139         * resolv/netdb.h: Likewise.
67140         * resource/sys/resource.h: Likewise.
67141         * rt/aio.h: Likewise.
67142         * rt/bits/mqueue2.h: Likewise.
67143         * rt/mqueue.h: Likewise.
67144         * shadow/shadow.h: Likewise.
67145         * signal/signal.h: Likewise.
67146         * socket/send.c: Likewise.
67147         * socket/sendto.c: Likewise.
67148         * socket/sys/socket.h: Likewise.
67149         * stdio-common/printf.h: Likewise.
67150         * stdlib/bits/stdlib.h: Likewise.
67151         * stdlib/fmtmsg.h: Likewise.
67152         * stdlib/monetary.h: Likewise.
67153         * stdlib/stdlib.h: Likewise.
67154         * stdlib/ucontext.h: Likewise.
67155         * streams/stropts.h: Likewise.
67156         * string/argz.h: Likewise.
67157         * string/bits/string2.h: Likewise.
67158         * string/string.h: Likewise.
67159         * string/strings.h: Likewise.
67160         * sunrpc/rpc/auth.h: Likewise.
67161         * sunrpc/rpc/auth_des.h: Likewise.
67162         * sunrpc/rpc/clnt.h: Likewise.
67163         * sunrpc/rpc/netdb.h: Likewise.
67164         * sunrpc/rpc/pmap_clnt.h: Likewise.
67165         * sunrpc/rpc/xdr.h: Likewise.
67166         * sysdeps/generic/inttypes.h: Likewise.
67167         * sysdeps/generic/net/if.h: Likewise.
67168         * sysdeps/generic/sys/swap.h: Likewise.
67169         * sysdeps/gnu/net/if.h: Likewise.
67170         * sysdeps/gnu/utmpx.h: Likewise.
67171         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
67172         * sysdeps/i386/i486/bits/string.h: Likewise.
67173         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
67174         * sysdeps/s390/bits/string.h: Likewise.
67175         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
67176         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
67177         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
67178         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
67179         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
67180         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
67181         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
67182         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
67183         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
67184         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
67185         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
67186         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67187         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
67188         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67189         * sysdeps/unix/sysv/linux/readv.c: Likewise.
67190         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
67191         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
67192         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
67194         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
67195         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67196         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
67197         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
67198         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
67199         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
67200         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
67201         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
67202         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67203         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
67204         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
67205         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
67206         * sysvipc/sys/ipc.h: Likewise.
67207         * sysvipc/sys/msg.h: Likewise.
67208         * sysvipc/sys/sem.h: Likewise.
67209         * sysvipc/sys/shm.h: Likewise.
67210         * termios/termios.h: Likewise.
67211         * time/sys/time.h: Likewise.
67212         * time/time.h: Likewise.
67213         * wcsmbs/bits/wchar2.h: Likewise.
67214         * wcsmbs/uchar.h: Likewise.
67215         * wcsmbs/wchar.h: Likewise.
67216         * wctype/wctype.h: Likewise.
67218         [BZ #13551]
67219         * Makeconfig: Remove all but ELF support including AIX support.
67220         * Makerules: Likewise.
67221         * config.h.in: Likewise.
67222         * config.make.in: Likewise.
67223         * configure: Likewise.
67224         * configure.in: Likewise.
67225         * csu/Makefile: Likewise.
67226         * csu/version.c: Likewise.
67227         * debug/Makefile: Likewise.
67228         * dlfcn/Makefile: Likewise.
67229         * elf/Makefile: Likewise.
67230         * extra-lib.mk: Likewise.
67231         * iconv/Makefile: Likewise.
67232         * include/libc-symbols.h: Likewise.
67233         * include/shlib-compat.h: Likewise.
67234         * resolv/Makefile: Likewise.
67235         * resolv/res_libc.c: Likewise.
67236         * rt/Makefile: Likewise.
67237         * sysdeps/i386/asm-syntax.h: Likewise.
67238         * sysdeps/i386/sysdep.h: Likewise.
67239         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67240         * sysdeps/mach/sysdep.h: Likewise.
67241         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
67242         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
67243         * sysdeps/s390/asm-syntax.h: Likewise.
67244         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67245         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67246         * sysdeps/sh/sysdep.h: Likewise.
67247         * sysdeps/unix/sparc/sysdep.h: Likewise.
67248         * sysdeps/wordsize-32/divdi3.c: Likewise.
67249         * sysdeps/x86_64/sysdep.h: Likewise.
67251         * argp/Versions: Remove _argp_unlock_xxx.
67253         [BZ #13559]
67254         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
67255         * abilist/libBrokenLocale.abilist: Likewise.
67256         * abilist/libanl.abilist: Likewise.
67257         * abilist/libc.abilist: Likewise.
67258         * abilist/libcrypt.abilist: Likewise.
67259         * abilist/libdl.abilist: Likewise.
67260         * abilist/libm.abilist: Likewise.
67261         * abilist/libnsl.abilist: Likewise.
67262         * abilist/libpthread.abilist: Likewise.
67263         * abilist/libresolv.abilist: Likewise.
67264         * abilist/librt.abilist: Likewise.
67265         * abilist/libthread_db.abilist: Likewise.
67266         * abilist/libutil.abilist: Likewise.
67267         * abilist/libnss_db.abilist: New file.
67269         * scripts/abilist.awk: Add support for indirect functions.
67271         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
67273         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
67275         * shlib-versions: Remove entries for ports architectures.
67277         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
67278         files in ports.
67279         * elf/stackguard-macros.h: Remove support for IA-64.
67280         * elf/tst-auditmod1.c: Likewise.
67281         * sysdeps/generic/ldsodefs.h: Likewise.
67283         * sysdeps/unix/sysv/linux/configure.in: Ports should define
67284         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
67285         configure files.
67287         [BZ #13552]
67288         * configure.in: Remove --enable-omitfp support.
67289         * FAQ.in: Adjust.
67290         * config.make.in: Likewise.
67291         * Makeconfig: Likewise.
67292         * manual/install.texi: Likewise.
67294         In case anyone cares, the IA-64 architecture could move to ports.
67295         * sysdeps/ia64/*: Removed.
67296         * sysdeps/unix/sysv/linux/ia64/*: Removed.
67297         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
67299         [BZ #13555]
67300         * configure.in: Remove entries for unsupported architectures.
67302         [BZ #13533]
67303         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
67304         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
67305         routines.
67306         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
67307         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
67308         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
67309         fall back to using wcrtomb.
67310         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
67311         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
67312         renaming.
67313         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
67314         * wcsmbs/tst-c16c32-1.c: New file.
67316         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
67317         local variable.
67319         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
67321         * elf/tst-unique3.cc: Add explicit declaration of gets.
67322         * elf/tst-unique3lib.cc: Likewise.
67323         * elf/tst-unique3lib2.cc: Likewise.
67324         * elf/tst-unique4.cc: Likewise.
67326         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
67328 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
67330         [BZ #13566]
67331         * assert/assert.h (static_assert): Don't define for C++.
67332         * libio/stdio.h (gets): Do declare for C++ <= C++11.
67333         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
67335 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
67337         * iconv/loop.c (single loop): Fix assertion in storing of
67338         remaining bytes.
67340         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
67342 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
67344         * posix/getconf.c: Update copyright year.
67345         * nss/getent.c: Likewise.
67346         * nss/makedb.c: Likewise.
67347         * iconv/iconvconfig.c: Likewise.
67348         * iconv/iconv_prog.c: Likewise.
67349         * elf/ldconfig.c: Likewise.
67350         * elf/pldd.c: Likewise.
67351         * elf/sotruss.ksh: Likewise.
67352         * catgets/gencat.c: Likewise.
67353         * csu/version.c: Likewise.
67354         * elf/ldd.bash.in: Likewise.
67355         * elf/sprof.c (print_version): Likewise.
67356         * locale/programs/locale.c: Likewise.
67357         * locale/programs/localedef.c: Likewise.
67358         * login/programs/pt_chown.c: Likewise.
67359         * nscd/nscd.c (print_version): Likewise.
67360         * debug/xtrace.sh: Likewise.
67361         * malloc/memusage.sh: Likewise.
67362         * malloc/mtrace.pl: Likewise.
67363         * debug/catchsegv.sh: Likewise.
67365 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
67367         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
67368         pure attribute.
67370 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
67372         [BZ #13533]
67373         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
67374         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
67375         transformations.
67376         * iconv/gconv_int.h: Likewise.
67377         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
67378         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
67379         from libc for GLIBC_2.16.
67380         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
67381         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
67382         * wcsmbs/uchar.h: Really define mbstate_t.
67383         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
67384         * wcsmbs/c16rtomb.c: New file.
67385         * wcsmbs/mbrtoc16.c: New file.
67386         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
67387         for C/POSIX locale.
67388         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
67389         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
67391         * wcsmbs/wchar.h: Add missing __restrict.
67393 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67395         [BZ #13532]
67396         * time/Makefile (routines): Add timespec_get.
67397         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
67398         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
67399         timespec for ISO C11.
67400         * time/timespec_get.c: New file.
67401         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
67402         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
67404         [BZ #13531]
67405         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
67406         * stdlib/stdlib.h: Declare aligned_alloc.
67407         * Versions.def: Add GLIBC_2.16 for libc.
67408         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
67410         [BZ 13527]
67411         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
67412         ISO C11.
67414         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
67415         code.
67417         [BZ #13528]
67418         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
67420         [BZ #13529]
67421         * assert/assert.h (static_assert): Define.
67423         * version.h: Update for 2.16 development version.
67425         [BZ #13526]
67426         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
67427         _ISOC11_SOURCE.
67429         * version.h (RELEASE): Bump for 2.15 release.
67430         * include/features.h (__GLIBC_MINOR__): Bump to 15.
67432         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
67433         Patch by Marek Polacek <mpolacek@redhat.com>.
67435         * bits/byteswap.h: Protect long long constants with __extension__.
67436         * sysdeps/i386/bits/byteswap.h: Likewise.
67437         * sysdeps/ia64/bits/byteswap.h: Likewise.
67438         * sysdeps/s390/bits/byteswap.h: Likewise.
67439         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67441 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67443         [BZ #13540]
67444         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
67445         destination buffer.
67446         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
67448 2011-12-23  Marek Polacek  <polacek@redhat.com>
67450         * elf/dl-addr.c (determine_info): Add inline keyword.
67451         * elf/tst-auditmod4b.c (check_avx): Likewise.
67452         * elf/tst-auditmod6b.c (check_avx): Likewise.
67453         * elf/tst-auditmod6c.c (check_avx): Likewise.
67454         * elf/tst-auditmod7b.c (check_avx): Likewise.
67456 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67458         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
67459         !__SSE_MATH__.
67461 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67463         [BZ #13540]
67464         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
67465         processing for last bytes.
67467 2011-08-06  Bruno Haible  <bruno@clisp.org>
67469         [BZ #13061]
67470         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
67471         U+0385, not to U+1FEE.
67473         [BZ #13062]
67474         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
67475         entry for U+00A5 U+0301.
67477 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67479         [BZ #13166]
67480         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
67481         buffer for the output is too small.
67483         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
67484         optimization.
67486         [BZ #13185]
67487         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
67488         SSE flags if possible.
67490 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67492         [BZ #13540]
67493         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
67494         processing for last bytes.
67496 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
67498         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
67499         (syscall-list-default-options, syscall-list-default-condition)
67500         (syscall-list-includes): Define.
67501         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
67502         list of ABIs and options and #if conditions for each ABI.  Do not
67503         handle common syscalls between ABIs specially.
67504         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
67505         Remove.
67506         (syscall-list-variants, syscall-list-32bit-options)
67507         (syscall-list-32bit-condition, syscall-list-64bit-options)
67508         (syscall-list-64bit-condition): Define.
67509         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
67510         (syscall-list-variants, syscall-list-32bit-options)
67511         (syscall-list-32bit-condition, syscall-list-64bit-options)
67512         (syscall-list-64bit-condition): Define.
67513         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
67514         Remove.
67515         (syscall-list-variants, syscall-list-32bit-options)
67516         (syscall-list-32bit-condition, syscall-list-64bit-options)
67517         (syscall-list-64bit-condition): Define.
67518         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
67519         Remove.
67520         (syscall-list-variants, syscall-list-32bit-options)
67521         (syscall-list-32bit-condition, syscall-list-64bit-options)
67522         (syscall-list-64bit-condition): Define.
67524 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67526         * locale/iso-639.def: Add brx entry.
67528         [BZ #13328]
67529         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
67530         Proposed by Mariusz_Cukr <marcukr@op.pl>.
67532         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
67533         __feraiseexcept_renamed.
67535 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67537         [BZ #13538]
67538         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
67539         EPOLLET with unsigned values.
67540         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67541         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67543         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
67544         to large cancellation.
67545         * math/s_cacoshf.c: Likewise.
67546         * math/s_cacoshl.c: Likewise.
67548 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
67550         [BZ #13305]
67551         [BZ #12786]
67552         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
67553         * math/s_cacoshf.c: Likewise.
67554         * math/s_cacoshl.c: Likewise.
67556 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67558         [BZ #13439]
67559         * iconv/gconv.h: Define __GCONV_SWAP.
67560         * iconvdata/unicode.c: The swap bit must be stored in __flags.
67561         * iconvdata/utf-16.c: Likewise.
67562         * iconvdata/utf-32.c: Likewise.
67564 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
67566         [BZ #13524]
67567         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
67568         numerator after shifting it by one limb.
67570 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
67572         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
67573         under [__USE_EXTERN_INLINES].
67575 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67577         [BZ #13446]
67578         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
67580 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67582         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
67583         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
67584         optimized code.
67585         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
67586         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
67587         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
67588         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
67589         for strncasecmp/strncasecmp_l compilation.
67590         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
67591         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
67593 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
67595         [BZ #13484]
67596         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
67597         of __asm__.
67599 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67601         [BZ #13506]
67602         * time/tzfile.c (__tzfile_read): Check values from file header.
67604 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67606         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
67607         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
67608         * powerpc/powerpc32/dl-start.S: Likewise.
67609         * powerpc/powerpc32/elf/start.S: Likewise.
67610         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
67611         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
67612         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
67613         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
67614         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
67615         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
67616         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
67617         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67618         * powerpc/powerpc32/fpu/s_round.S: Likewise.
67619         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67620         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67621         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67622         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67623         * powerpc/powerpc32/memset.S: Likewise.
67624         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67625         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67626         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67627         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67628         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67629         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67630         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67631         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67632         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67633         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67634         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67635         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67636         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67638 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67640         * math/libm-test.inc: Added more nearbyint tests.
67641         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67642         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67644         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67646 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
67648         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67649         FD_CLOEXEC.
67651 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67653         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67654         Add wcscpy-ssse3 wcscpy-c.
67655         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67656         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67657         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67658         * sysdeps/x86_64/wcschr.S: New file.
67659         * sysdeps/x86_64/wcsrchr.S: New file.
67660         * string/test-strcmp.c: Remove checking of wcscmp function for
67661         wrong alignments.
67662         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
67663         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
67664         wcsrchr-sse2 wcsrchr-c.
67665         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
67666         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
67667         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
67668         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
67669         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
67670         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
67671         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
67672         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
67673         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
67674         * wcsmbc/wcschr.c (WCSCHR): New macro.
67676 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67678         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
67679         * wcsmbs/test-wcsrchr.c: New file.
67680         * string/test-strrchr.c: Add wcsrchr support.
67681         (WIDE): New macro.
67682         * wcsmbs/test-wcscpy.c: New file.
67683         * string/test-strcpy.c: Add wcscpy support.
67684         (WIDE): New macro.
67686 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
67688         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
67689         the inner loop.
67691 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
67693         [BZ #13472]
67694         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
67696 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
67698         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
67699         Minor optimizations.
67701         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
67702         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
67703         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67705 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
67707         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67708         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67709         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67710         for gcc to avoid warnings.
67711         * inet/Makefile (tests): Add tst-checks.
67712         * inet/tst-checks.c: New file.
67714         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67715         warning.
67717         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67718         __wmemcmp_sse2.
67720         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67721         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67723         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67725 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
67727         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67728         problem.
67730         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67732 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
67734         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67735         conditional on GCC version.
67736         (__arch_compare_and_exchange_val_8_acq)
67737         (__arch_compare_and_exchange_val_16_acq)
67738         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67739         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67740         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67742 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
67744         * sysdeps/sh/backtrace.c: New file.
67746 2011-12-02  Andreas Schwab  <schwab@redhat.com>
67748         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
67749         parenthesis.
67751 2011-12-01  Andreas Schwab  <schwab@redhat.com>
67753         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67754         falling back to utime.
67756 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67758         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67759         expectations for float.
67761 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67763         * locale/weight.h (findidx): Add parameter len.
67764         * locale/weightwc.h (findidx): Likewise.
67765         * posix/fnmatch_loop.c (FCT): Adjust caller.
67766         * posix/regcomp.c (build_equiv_class): Likewise.
67767         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67768         * posix/regexec.c (check_node_accept_bytes): Likewise.
67769         * string/strcoll_l.c (STRCOLL): Likewise.
67770         * string/strxfrm_l.c (STRXFRM): Likewise.
67772 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67774         * Makefile.in: Remove CVSOPT handling.
67775         * configure.in: Remove use of AC_REVISION.
67776         * iconvdata/Makefile (distribute): No need to filter out CVS.
67777         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67778         handling.
67780 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67782         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67783         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67784         [USE_AS_STRNCASECMP_L]: Likewise.
67785         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67786         NO_TLS_DIRECT_SEG_REFS.
67787         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67788         Fix argument offsets for non-PIC.
67789         [USE_AS_STRNCASECMP_L]: Likewise.
67790         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67791         NO_TLS_DIRECT_SEG_REFS.
67793 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67795         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67796         O_CLOEXEC.
67797         * locale/loadlocale.c (_nl_load_locale): Likewise.
67799 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67801         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67802         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67803         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67804         (SYSCALL_GETTIME): Set errno on error.
67806         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67807         count references to noai6ai_cached.
67809 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67811         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67813         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67814         FD_CLOEXEC for /proc/self/maps.
67816         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67817         FD_CLOEXEC for /proc/meminfo.
67819         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67820         gai.conf.
67822         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67823         FD_CLOEXEC for given file.
67825         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67827         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67828         FD_CLOEXEC for /etc/hosts.
67829         (_gethtent): Likewise.
67831         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67833         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67834         cancellation and set FD_CLOEXEC for /etc/netgroup.
67836         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67837         reading /etc/publickey.
67839         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67840         allow cancellation when reading /etc/group.
67842         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67843         cancellation.
67844         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67846         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67847         when using data file.
67849         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67851         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67852         (write_nis_obj): Use "c" and "e" in fopen.
67854         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67856         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67858         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67860         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67862         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67863         locale.alias.
67865         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67867         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67869         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67871         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67872         file parsing and set FD_CLOEXEC.
67874 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67876         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67878 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67880         * malloc/arena.c (arena_get2): Don't call reused_arena when
67881         _int_new_arena failed.
67883 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67885         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67886         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67887         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67888         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67889         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67890         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67891         to compile strcasecmp and strncasecmp.
67892         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67893         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67895         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67897 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67899         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67900         locale-defines.sym to gen-as-const-headers.
67901         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67902         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67903         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67904         to compile strcasecmp and strncasecmp.
67905         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67906         strcasecmp_l and strncasecmp_l.
67907         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67908         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67909         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67910         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67911         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67912         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67913         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67914         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67915         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67916         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67917         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67919 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67921         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67922         result of SYSDEP_GETTIME_CPU to retval.
67923         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67924         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67926         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67927         variable.
67929         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67930         mantissa words.
67931         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67933         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67934         from unused variable.
67936         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67937         DWARF definitions.
67938         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67939         for assembling.
67941         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67942         over namespaces.
67944         * sunrpc/rpc_prot.c (rejected): Fix case value.
67946         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67947         unsigned long long int to avoid warnings in shift.
67949         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67950         of use of trans.
67951         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67952         variable tmp.
67954         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67955         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67956         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67958         * nis/nis_table.c (nis_list): Use variable of correct type for
67959         result of __follow_path call.
67961 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67963         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67964         of math functions ceil, trunc, floor, round, and sqrt, when
67965         avaliable on the platform.
67966         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67967         name clash.
67968         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67969         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67970         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67972 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67974         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67975         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67977 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67979         * include/unistd.h: Fix __readlink return type.
67980         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67982 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67984         * stdlib/ucontext.h: Undo last change for makecontext.
67986 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67988         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67990         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67991         * setjmp/setjmp.h: Mark functions as non-leaf.
67992         * setjmp/bits/setjmp2.h: Likewise.
67993         * stdlib/ucontext.h: Likewise.
67995 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67997         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67998         (reused_arena): Don't check arena limit.
67999         (arena_get2): Atomically check arena limit.
68001 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68003         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68004         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68006         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68007         instructions.
68009 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68011         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68012         handler when locking.
68014         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68015         Fix size of allocated buffer.
68017 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68019         [BZ #10103]
68020         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68021         declarations for long double functions.
68022         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68024         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68026 2011-11-03  Andreas Schwab  <schwab@redhat.com>
68028         * nscd/nscd.c (main): Don't start AVC thread until credentials are
68029         installed.
68031         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68032         is disabled.
68034 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68036         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68038 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68040         * include/alloca.h (stackinfo_alloca_round): Define.
68041         (extend_alloca): Use it.
68042         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68043         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68044         here.
68046         * scripts/check-local-headers.sh: Ignore libaudit.h.
68048         * nscd/Makefile (extra-objs): Make recursively expanded.
68050 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68052         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68053         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68055         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68056         * posix/tst-rfc3484-2.c: Likewise.
68057         * posix/tst-rfc3484-3.c: Likewise.
68059         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68060         process_vm_writev.
68061         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68062         process_vm_writev.
68063         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68064         process_vm_writev from libc using GLIBC_2.15 version.
68066         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68068 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
68070         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68071         stack usage.
68073 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
68075         [BZ #13367]
68076         * nss/getent.c (initgroups_keys): Show error message in case no group
68077         names are given.
68079         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68080         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68081         __bump_nl_timestamp.
68082         * nscd/connections (nscd_init): When host database is served open
68083         netlink socket and request notification about configuration changes.
68084         (main_loop_poll): Track netlink file descriptor and bump timestamp
68085         in case data becomes available.
68086         (main_loop_epoll): Likewise.
68087         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68088         (database_pers_head): Add extra_data fileds.
68089         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68090         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68091         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68092         Adjust caller.
68093         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68094         in6ai data, call __free_in6ai.
68095         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68096         Add -DHAVE_NETLINK.
68097         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
68098         interface information.  Reuse previous data if netlink timestamp
68099         is not changed.
68100         (__bump_nl_timestamp): New function.
68101         (__free_in6ai): New function.
68103 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
68105         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68106         close_not_cancel_no_status here.
68107         (__check_pf): Reorganize code a bit to not call close twice if OOM.
68109 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68111         [BZ #13276]
68112         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68113         return value.
68115         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68116         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68117         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68119 2011-07-03  Andreas Jaeger  <aj@suse.de>
68121         [BZ #10709]
68122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68123         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68124         * math/libm-test.inc (sin_test): Add test case.
68126 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68128         [BZ #13337]
68129         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
68130         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68132         * elf/chroot_canon.c (chroot_canon): Cleanups.
68134         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
68136         [BZ #13335]
68137         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
68138         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68140         * string/test-strchr.c: Make usable for strchrnul testing.
68141         * string/test-strchrnul.c: New file.
68142         * string/Makefile (strop-tests): Add strchrnul.
68144         * po/it.po: Update from translation team.
68145         * po/es.po: Likewise.
68147 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
68149         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
68150         the three constants needed as parameters.  Drop the others.
68151         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
68152         __m128i_strloadu_tolower.
68153         Create and initialize variable zero and use it in all the places
68154         where _mm_setzero_si128 was used.
68156         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
68157         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
68158         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
68159         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
68160         anymore.
68161         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
68162         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
68163         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
68164         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
68165         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
68166         __mpranred, __mptan.
68167         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
68168         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
68169         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
68170         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
68171         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
68172         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
68173         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
68174         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
68175         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
68177 2011-10-28  Andreas Schwab  <schwab@redhat.com>
68179         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
68180         redefine if SHARED.
68181         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
68183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
68184         wide char related routines to wcsmbs subdir.
68186 2011-10-27  Andreas Schwab  <schwab@redhat.com>
68188         [BZ #13344]
68189         * misc/sys/cdefs.h (__THROWNL): Define.
68190         * posix/unistd.h: Use __THREADNL instead of __THREAD
68191         for memory synchronization functions.
68193 2011-10-26  Roland McGrath  <roland@hack.frob.com>
68195         [BZ #13349]
68196         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
68197         doesn't exist.
68198         * manual/stdio.texi (Obstack Streams): Node removed.
68200 2011-10-26  Andreas Schwab  <schwab@redhat.com>
68202         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
68203         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68204         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68206         * math/math_private.h (math_force_eval): Allow non-addressable
68207         arguments.
68208         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
68210 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68212         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
68213         file is not needed.
68215         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
68216         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
68217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68218         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68219         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68220         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68221         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68222         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
68223         Add AVX variants.
68224         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
68225         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
68226         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
68227         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
68228         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
68229         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
68230         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
68231         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
68232         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
68233         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
68234         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
68235         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
68236         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
68237         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
68238         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
68239         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
68240         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
68241         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
68242         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
68244         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
68245         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
68247         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
68248         place.  Use VEX encoding when compiling for AVX.
68250 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68252         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
68253         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
68255         * string/test-strchr.c (do_test): Don't generate NUL bytes.
68257 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68259         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
68260         useless if() expression.
68261         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68262         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68263         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68264         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68265         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68266         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68267         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68268         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68269         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68270         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68271         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68272         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68273         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68274         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68275         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68276         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68277         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68278         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68279         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68281         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
68283 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68285         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
68286         condition.
68287         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68289 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68291         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
68292         .text section.  Avoid duplicate constants.
68293         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68295         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68297         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68298         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68299         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68300         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68301         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68302         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
68303         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68304         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68305         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68306         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68307         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68308         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68309         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68310         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68311         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68312         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68313         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68314         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68315         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68316         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
68317         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
68318         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
68319         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
68320         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
68321         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
68322         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
68323         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
68324         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
68325         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68326         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
68327         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
68328         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
68329         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
68330         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
68331         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
68332         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
68333         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
68334         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
68335         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
68336         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
68337         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
68339 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
68341         * sysdeps/x86_64/dla.h: Move to ...
68342         * sysdeps/x86_64/fpu/dla.h: ...here.
68343         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
68344         situations.  Use __builtin_fma only for gcc 4.6 and up.
68346         * config.make.in: Add have-mfma4 entry.
68347         * configure.in: Substitute libc_cv_cc_fma4.
68348         * math/Makefile (dbl-only-routines): Add sincostab.
68349         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
68350         Use __sincostab not sincos.
68351         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
68352         name is a macro.
68353         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68355         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68356         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
68357         using __copysign.
68358         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
68359         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
68360         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
68361         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
68362         and __inv.
68363         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
68364         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
68365         __copysign.
68366         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
68367         define aliases when function name is a macro.
68368         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
68369         sysdeps/ieee754/dbl-64/sincos.tbl.
68370         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
68371         fma4-enabled routines.
68372         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
68373         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
68374         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
68375         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
68376         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
68377         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
68378         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
68379         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
68380         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
68381         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
68382         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
68383         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
68384         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
68385         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
68386         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
68387         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
68388         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
68389         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
68390         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
68391         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
68392         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
68393         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
68394         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
68395         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
68396         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
68397         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
68398         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
68399         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
68400         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
68401         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
68403         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
68404         rename.
68405         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68407         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68408         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68409         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68411         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68412         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68414 2011-10-24  Andreas Schwab  <schwab@redhat.com>
68416         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
68418 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68420         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
68422         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
68423         prediction.
68424         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
68426         * string/strnlen.c: Don't define STRNLEN, reverse logic.
68427         Remove unused variable magic_bits.
68428         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
68430         * string/strnlen.c: Define and use STRNLEN macro.
68431         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
68432         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
68433         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
68434         * wcsmbs/wcslen.c: Define and use WCSLEN.
68435         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
68436         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
68437         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
68438         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
68439         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
68440         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
68441         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68443 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68446         strnlen-sse2-no-bsf.
68447         Rename strlen-no-bsf to strlen-sse2-no-bsf.
68448         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
68449         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
68450         Add strnlen support.
68451         (USE_AS_STRNLEN): New macro.
68452         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
68453         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
68454         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
68455         * sysdeps/x86_64/wcslen.S: New file.
68457 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
68459         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68460         XMM-moves are used for copying on small sizes.
68462 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68464         * wcsmbs/Makefile (strop-tests): Add wcschr.
68465         * wcsmbs/test-wcschr.c: New file.
68466         * string/test-strchr.c: Update.
68467         Add wcschr support.
68468         (WIDE): New macro.
68470 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68472         * wcsmbs/Makefile (strop-tests): Add wcslen.
68473         * wcsmbs/test-wcslen.c: New file.
68474         * string/test-strlen.c: Update.
68475         Add wcslen support.
68476         (WIDE): New macro.
68478 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68480         * po/it.po: Update from translation team.
68482 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68484         * sysdeps/x86_64/wcscmp.S: Update.
68485         Fix wrong comparison semantics.
68486         wcscmp shall use signed comparison not unsigned.
68487         Don't use substraction to avoid overflow bug.
68488         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
68489         * wcsmbc/wcscmp.c: Likewise.
68490         * string/test-strcmp.c: Likewise.
68491         Add new tests to check cases with negative values.
68493 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68495         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
68496         * sysdeps/x86_64/dla.h: ...here.  New file.
68497         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
68498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68499         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68500         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68502         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68503         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68504         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68505         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68507 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
68509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
68510         __ynl_finite aliases.
68512 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68516         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
68517         define DLA_FMA.
68518         [DLA_FMA] (EMULV): Use DLA_FMA.
68519         [DLA_FMA] (MUL12): Use EMULV.
68520         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
68521         that are not needed.
68522         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68523         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68527         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68528         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68530 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
68532         * math/s_nan.c: Undef __nan.
68533         * math/s_nanf.c: Undef __nanf.
68534         * math/s_nanl.c: Undef __nanl.
68535         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
68536         "math_private.h".
68538 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68540         * math/s_catan.c: Add branch predictions.
68541         * math/s_catanf.c: Likewise.
68542         * math/s_catanh.c: Likewise.
68543         * math/s_catanhf.c: Likewise.
68544         * math/s_catanhl.c: Likewise.
68545         * math/s_catanl.c: Likewise.
68546         * math/s_cexp.c: Likewise.
68547         * math/s_cexpf.c: Likewise.
68548         * math/s_cexpl.c: Likewise.
68549         * math/s_clog.c: Likewise.
68550         * math/s_clog10.c: Likewise.
68551         * math/s_clog10f.c: Likewise.
68552         * math/s_clog10l.c: Likewise.
68553         * math/s_clogf.c: Likewise.
68554         * math/s_clogl.c: Likewise.
68555         * math/s_csqrt.c: Likewise.
68556         * math/s_csqrtf.c: Likewise.
68557         * math/s_csqrtl.c: Likewise.
68558         * math/s_ctanf.c: Likewise.
68559         * math/s_ctanh.c: Likewise.
68560         * math/s_ctanhf.c: Likewise.
68561         * math/s_ctanhl.c: Likewise.
68562         * math/s_ctanl.c: Likewise.
68564         * math/math_private.h: Define __nan, __nanf, __nanl.
68565         * math/s_cacosh.c: Include <math_private.h>.
68566         * math/s_cacoshl.c: Likewise.
68567         * math/s_casinh.c: Likewise.
68568         * math/s_casinhf.c: Likewise.
68569         * math/s_casinhl.c: Likewise.
68570         * math/s_ccos.c: Rely entire on ccosh.
68571         * math/s_ccosf.c: Rely entire on ccoshf.
68572         * math/s_ccosl.c: Rely entirely on ccoshl.
68573         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
68574         Remove tests for FE_INVALID.
68575         * math/s_ccoshf.c: Likewise.
68576         * math/s_ccoshl.c: Likewise.
68577         * math/s_csin.c: Likewise.
68578         * math/s_csinf.c: Likewise.
68579         * math/s_csinh.c Likewise.
68580         * math/s_csinhf.c: Likewise.
68581         * math/s_csinhl.c: Likewise.
68582         * math/s_csinl.c: Likewise.
68583         * math/s_ctan.c: Likewise.
68584         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
68585         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
68586         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
68588 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
68590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
68591         compilation problems.
68593         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
68594         __builtin_expect.
68596 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
68598         * sysdeps/i386/configure.in: Test for -mfma4 option.
68599         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
68600         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
68601         COMMON_CPUID_INDEX_80000001.
68602         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
68603         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
68604         use it if FMA3 is not supported.
68605         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
68607         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
68608         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68610 2011-10-20  Andreas Schwab  <schwab@redhat.com>
68612         [BZ #12892]
68613         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
68614         it would create a cycle with a link time dependency.
68616 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
68618         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68619         instruction.
68620         * string/Makefile (strop-tests): Add rawmemchr.
68621         * string/test-rawmemchr.c: New file.
68623         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68624         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
68625         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
68626         when compiling str{,n}casecmp and when AVX is available.  Hook up
68627         new optimized code in initializers.
68629 2011-10-19  Andreas Schwab  <schwab@redhat.com>
68631         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68632         __feraiseexcept instead of feraiseexcept.
68634 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
68636         * math/math_private.h: Define defaults for libc_fetestexcept and
68637         libc_feupdateenv.
68638         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68639         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68640         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68641         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68642         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68643         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68644         libc_fetestexcept and libc_feupdateenv.
68646         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68647         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68648         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68649         * sysdeps/x86_64/fpu/math_private.h: Define special version of
68650         libc_feholdexcept_setround.
68652         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68653         Add s_nearbyint-c and s_nearbyintf-c.
68654         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68655         nearbyintf inlines.
68656         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68657         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68658         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68659         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68661         * math/math_private.h: Define defaults for libc_fegetround,
68662         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
68663         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
68664         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
68665         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
68666         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
68667         standard functions.
68668         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68669         Remove comments and hacks for old compiler versions.
68670         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68671         libc_fegetround, libc_fesetround, libc_feholdexcept, and
68672         libc_feholdexceptl.
68674 2011-10-18  Andreas Schwab  <schwab@redhat.com>
68676         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
68677         (__feraiseexcept_renamed): Add __NTH.
68678         (feraiseexcept): Add __NTH.  Rename local variables to fix
68679         namespace violations.
68681 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
68683         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
68685         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
68687         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
68688         recently added interfaces.
68689         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
68691         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
68692         about macro parameter expansion.
68694         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
68695         __NO_MATH_INLINES is defined.  Cleanups.
68697         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
68698         and __floorf is target has SSE4.1.
68699         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
68700         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
68701         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
68702         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
68704         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68705         name.
68706         (floorf): Likewise.
68708         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68710 2011-10-17  Andreas Schwab  <schwab@redhat.com>
68712         * misc/sys/cdefs.h: Fix last change.
68714         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68715         database lookup.
68717 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
68719         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68721         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68722         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68723         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68724         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68725         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68726         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68727         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68728         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68729         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68730         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68731         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68732         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68733         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68734         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68735         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68736         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68737         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68738         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68739         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68740         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68741         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68742         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68744         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68745         ceil, ceilf, floor, floorf.
68747         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68748         Perform IRELATIVE relocations last.
68750         * elf/do-rel.h: Add another parameter nrelative, replacing the
68751         local variable with the same name.  Change name of the function
68752         to end in Rel or Rela (uppercase).
68753         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68754         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
68755         elf_dynamic_do_##reloc function.
68757 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68759         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68760         is sufficient, at least on modern CPUs.
68762         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68764         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68765         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68767         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68768         __expl_finite.
68769         * math/bits/math-finite.h: Add entries for exp.
68770         * math/e_expl.c: Add __*_finite alias.
68771         * sysdeps/i386/fpu/e_exp.S: Likewise.
68772         * sysdeps/i386/fpu/e_expf.S: Likewise.
68773         * sysdeps/i386/fpu/e_expl.c: Likewise.
68774         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68775         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68776         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68777         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68778         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68779         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68780         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68782         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68783         is sufficient, at least on modern CPUs.
68785         * ctype/ctype-info.c (__ctype_init): Define.
68786         * include/ctype.h (__ctype_init): Declare.
68787         (__ctype_b_loc): The variable is always initialized.
68788         (__ctype_toupper_loc): Likewise.
68789         (__ctype_tolower_loc): Likewise.
68790         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68791         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68793 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68795         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68797         * configure.in: Also look in $cxxmachine/include for C++ system
68798         headers.
68800 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68802         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68803         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68804         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68805         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68806         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68807         (USE_AS_WMEMCMP): New macro.
68808         Fixing indents.
68809         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68810         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68811         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68812         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68814         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68815         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68816         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68817         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68818         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68819         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68820         (USE_AS_WMEMCMP): New macro.
68821         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68822         * sysdeps/string/test-memcmp.c: Update.
68823         Fix simple_wmemcmp.
68824         Add new tests.
68825         * wcsmbs/wmemcmp.c: Update.
68826         (WMEMCMP): New macro.
68827         Fix overflow bug.
68829 2011-10-12  Andreas Jaeger  <aj@suse.de>
68831         [BZ #13268]
68832         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68834 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68836         * libio/iofwide.c (do_length): Avoid warning.
68838         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68840 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68842         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68844         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68845         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68846         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68847         * sysdeps/i386/i686/fpu/e_log.S: New file.
68848         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68849         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68851         * ctype/ctype.h: Add support for inlined isXXX functions when
68852         compiling C++ code.
68854 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68856         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68858         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68860 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68862         [BZ #13291]
68863         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68865 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68867         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68868         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68869         feraiseexcept.
68871         * sysdeps/x86_64/memrchr.S: Check for zero size.
68873         * string/stratcliff.c: Add memrchr tests.
68875 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68878         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68879         rawmemchr-sse2 rawmemchr-sse2-bsf.
68880         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68881         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68882         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68883         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68884         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68885         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68886         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68887         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68888         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68889         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68890         * string/memrchr.c (MEMRCHR): New macro.
68892 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68894         Add integration with gcc's -ffinite-math-only and optimize wrapper
68895         functions in libm.
68896         * Versions.def: Define GLIBC_2.15 version for libm.
68897         * math/Makefile (headers): Add bits/math-finite.h.
68898         * math/bits/math-finite.h: New file.
68899         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68900         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68901         * math/e_acoshl.c: Add __*_finite alias.
68902         * math/e_acosl.c: Likewise.
68903         * math/e_asinl.c: Likewise.
68904         * math/e_atan2l.c: Likewise.
68905         * math/e_atanhl.c: Likewise.
68906         * math/e_coshl.c: Likewise.
68907         * math/e_exp10.c: Likewise.
68908         * math/e_exp10f.c: Likewise.
68909         * math/e_exp10l.c: Likewise.
68910         * math/e_exp2l.c: Likewise.
68911         * math/e_fmodl.c: Likewise.
68912         * math/e_gammal_r.c: Likewise.
68913         * math/e_hypotl.c: Likewise.
68914         * math/e_j0l.c: Likewise.
68915         * math/e_j1l.c: Likewise.
68916         * math/e_jnl.c: Likewise.
68917         * math/e_lgammal_r.c: Likewise.
68918         * math/e_log10l.c: Likewise.
68919         * math/e_log2l.c: Likewise.
68920         * math/e_logl.c: Likewise.
68921         * math/e_powl.c: Likewise.
68922         * math/e_sinhl.c: Likewise.
68923         * math/e_sqrtl.c: Likewise.
68924         * math/e_scalb.c: Completely rewritten and optimized.
68925         * math/e_scalbf.c: Likewise.
68926         * math/e_scalbl.c: Likewise.
68927         * math/w_acos.c: Likewise.
68928         * math/w_acosf.c: Likewise.
68929         * math/w_acosl.c: Likewise.
68930         * math/w_acosh.c: Likewise.
68931         * math/w_acoshf.c: Likewise.
68932         * math/w_acoshl.c: Likewise.
68933         * math/w_asin.c: Likewise.
68934         * math/w_asinf.c: Likewise.
68935         * math/w_asinl.c: Likewise.
68936         * math/w_atan2.c: Likewise.
68937         * math/w_atan2f.c: Likewise.
68938         * math/w_atan2l.c: Likewise.
68939         * math/w_atanh.c: Likewise.
68940         * math/w_atanhf.c: Likewise.
68941         * math/w_atanhl.c: Likewise.
68942         * math/w_exp10.c: Likewise.
68943         * math/w_exp10f.c: Likewise.
68944         * math/w_exp10l.c: Likewise.
68945         * math/w_fmod.c: Likewise.
68946         * math/w_fmodf.c: Likewise.
68947         * math/w_fmodl.c: Likewise.
68948         * math/w_j0.c: Likewise.
68949         * math/w_j0f.c: Likewise.
68950         * math/w_j0l.c: Likewise.
68951         * math/w_j1.c: Likewise.
68952         * math/w_j1f.c: Likewise.
68953         * math/w_j1l.c: Likewise.
68954         * math/w_jn.c: Likewise.
68955         * math/w_jnf.c: Likewise.
68956         * math/w_log.c: Likewise.
68957         * math/w_logf.c: Likewise.
68958         * math/w_logl.c: Likewise.
68959         * math/w_log10.c: Likewise.
68960         * math/w_log10f.c: Likewise.
68961         * math/w_log10l.c: Likewise.
68962         * math/w_log2.c: Likewise.
68963         * math/w_log2f.c: Likewise.
68964         * math/w_log2l.c: Likewise.
68965         * math/w_pow.c: Likewise.
68966         * math/w_powf.c: Likewise.
68967         * math/w_powl.c: Likewise.
68968         * math/w_remainder.c: Likewise.
68969         * math/w_remainderf.c: Likewise.
68970         * math/w_remainderl.c: Likewise.
68971         * math/w_scalb.c: Likewise.
68972         * math/w_scalbf.c: Likewise.
68973         * math/w_scalbl.c: Likewise.
68974         * math/w_sqrt.c: Likewise.
68975         * math/w_sqrtf.c: Likewise.
68976         * math/w_sqrtl.c: Likewise.
68977         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68978         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68979         used.
68980         * math/math_private.h: Declare __kernel_standard_f.
68981         * math/w_cosh.c: Remove cruft and optimize a bit.
68982         * math/w_coshf.c: Likewise.
68983         * math/w_coshl.c: Likewise.
68984         * math/w_exp2.c: Likewise.
68985         * math/w_exp2f.c: Likewise.
68986         * math/w_exp2l.c: Likewise.
68987         * math/w_hypot.c: Likewise.
68988         * math/w_hypotf.c: Likewise.
68989         * math/w_hypotl.c: Likewise.
68990         * math/w_lgamma.c: Likewise.
68991         * math/w_lgamma_r.c: Likewise.
68992         * math/w_lgammaf.c: Likewise.
68993         * math/w_lgammaf_r.c: Likewise.
68994         * math/w_lgammal.c: Likewise.
68995         * math/w_lgammal_r.c: Likewise.
68996         * math/w_sinh.c: Likewise.
68997         * math/w_sinhf.c: Likewise.
68998         * math/w_sinhl.c: Likewise.
68999         * math/w_tgamma.c: Likewise.
69000         * math/w_tgammaf.c: Likewise.
69001         * math/w_tgammal.c: Likewise.
69002         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69003         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69004         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69005         Minor optimizations.  Pretty printing.  Remove cruft.
69006         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69007         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69008         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69009         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69010         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69011         * sysdeps/i386/fpu/e_asin.S: Likewise.
69012         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69013         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69014         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69015         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69016         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69017         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69018         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69019         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69020         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69021         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69022         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69023         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69024         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69025         * sysdeps/i386/fpu/e_fmod.S: Likewise.
69026         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69027         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69028         * sysdeps/i386/fpu/e_hypot.S: Likewise.
69029         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69030         * sysdeps/i386/fpu/e_log.S: Likewise.
69031         * sysdeps/i386/fpu/e_log10.S: Likewise.
69032         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69033         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69034         * sysdeps/i386/fpu/e_log2.S: Likewise.
69035         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69036         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69037         * sysdeps/i386/fpu/e_logf.S: Likewise.
69038         * sysdeps/i386/fpu/e_logl.S: Likewise.
69039         * sysdeps/i386/fpu/e_pow.S: Likewise.
69040         * sysdeps/i386/fpu/e_powf.S: Likewise.
69041         * sysdeps/i386/fpu/e_powl.S: Likewise.
69042         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69043         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69044         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69045         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69046         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69047         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69048         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69049         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69050         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69051         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69052         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69053         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69054         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69055         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69056         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69057         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69058         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69059         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69060         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69061         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69062         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69064         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69065         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69066         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69067         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69068         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69069         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69070         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69071         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69072         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69073         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69074         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69075         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69076         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69077         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69078         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69079         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69080         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69081         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69082         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69083         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69084         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69085         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69086         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69087         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69088         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69089         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69090         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69091         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69092         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69093         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69094         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69095         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69096         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69097         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69098         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69099         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69100         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69101         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69102         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69103         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69104         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69105         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69106         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69107         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69108         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69109         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69110         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69111         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69112         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69113         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69114         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69115         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69116         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69117         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69118         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69119         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69120         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69121         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69122         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69123         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69124         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69125         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69126         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69127         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69128         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69129         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69130         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69131         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69132         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69133         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
69134         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69135         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69136         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69137         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69138         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69139         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69140         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69141         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69142         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69143         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69144         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
69145         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69146         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69147         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69148         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
69149         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
69150         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
69151         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
69152         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
69153         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
69154         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
69155         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69156         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69157         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69158         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69159         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
69160         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69161         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
69162         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
69163         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
69164         (__isnanf): Likewise.
69165         (__isinf_ns): Likewise.
69166         (__isinf_nsf): Likewise.
69167         (__finite): Likewise.
69168         (__finitef): Likewise.
69169         (__ieee754_sqrt): Define as macro.
69170         (__ieee754_sqrtf): Define as macro.
69171         (__ieee754_sqrtl): Define as macro.
69172         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
69173         inlined copy.
69174         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
69175         __FINITE_MATH_ONLY__ consistent.
69176         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
69178 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
69180         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
69181         of rawmemchr.
69183         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
69185 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
69187         * po/ja.po: Update from translation team.
69189 2011-10-08  Roland McGrath  <roland@hack.frob.com>
69191         * locale/programs/locarchive.c (prepare_address_space): New function.
69192         (create_archive, enlarge_archive, open_archive): Use it.
69194         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
69195         inside [SHARED], where it is used.
69197         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
69199         * nss/getent.c (netgroup_keys): Remove unused variable.
69200         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69202 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
69204         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
69205         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
69206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
69207         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
69208         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
69209         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
69210         * math/Makefile (libm-calls): Add s_isinf_ns.
69211         * math/divtc3.c: Use __isinf_nsl instead of isinf.
69212         * math/multc3.c: Likewise.
69213         * math/s_casin.c: Likewise.
69214         * math/s_casinf.c: Likewise.
69215         * math/s_casinl.c: Likewise.
69216         * math/s_ccos.c: Likewise.
69217         * math/s_ccosf.c: Likewise.
69218         * math/s_ccosl.c: Likewise.
69219         * math/s_ctan.c: Likewise.
69220         * math/s_ctanf.c: Likewise.
69221         * math/s_ctanh.c: Likewise.
69222         * math/s_ctanhf.c: Likewise.
69223         * math/s_ctanhl.c: Likewise.
69224         * math/s_ctanl.c: Likewise.
69225         * math/w_fmod.c: Likewise.
69226         * math/w_fmodf.c: Likewise.
69227         * math/w_fmodl.c: Likewise.
69228         * math/w_remainder.c: Likewise.
69229         * math/w_remainderf.c: Likewise.
69230         * math/w_remainderl.c: Likewise.
69231         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
69232         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
69233         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
69234         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
69235         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
69236         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
69237         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
69238         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
69240         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
69241         of the number.
69242         * stdio-common/printf_fphex.c: Likewise.
69243         * stdio-common/printf_size.c: Likewise.
69245         * math/e_exp10.c: Include math_private.h using <...> not "...".
69246         * math/e_exp10f.c: Likewise.
69247         * math/e_exp10l.c: Likewise.
69248         * math/e_exp2l.c: Likewise.
69249         * math/e_j0l.c: Likewise.
69250         * math/e_j1l.c: Likewise.
69251         * math/e_jnl.c: Likewise.
69252         * math/e_lgammal_r.c: Likewise.
69253         * math/e_rem_pio2l.c: Likewise.
69254         * math/e_scalb.c: Likewise.
69255         * math/e_scalbf.c: Likewise.
69256         * math/e_scalbl.c: Likewise.
69257         * math/k_cosl.c: Likewise.
69258         * math/k_sinl.c: Likewise.
69259         * math/k_tanl.c: Likewise.
69260         * math/s_cacoshf.c: Likewise.
69261         * math/s_catan.c: Likewise.
69262         * math/s_catanf.c: Likewise.
69263         * math/s_catanh.c: Likewise.
69264         * math/s_catanhf.c: Likewise.
69265         * math/s_catanhl.c: Likewise.
69266         * math/s_catanl.c: Likewise.
69267         * math/s_ccosh.c: Likewise.
69268         * math/s_ccoshf.c: Likewise.
69269         * math/s_ccoshl.c: Likewise.
69270         * math/s_cexp.c: Likewise.
69271         * math/s_cexpf.c: Likewise.
69272         * math/s_cexpl.c: Likewise.
69273         * math/s_clog.c: Likewise.
69274         * math/s_clog10.c: Likewise.
69275         * math/s_clog10f.c: Likewise.
69276         * math/s_clog10l.c: Likewise.
69277         * math/s_clogf.c: Likewise.
69278         * math/s_clogl.c: Likewise.
69279         * math/s_csin.c: Likewise.
69280         * math/s_csinf.c: Likewise.
69281         * math/s_csinh.c: Likewise.
69282         * math/s_csinhf.c: Likewise.
69283         * math/s_csinhl.c: Likewise.
69284         * math/s_csinl.c: Likewise.
69285         * math/s_csqrt.c: Likewise.
69286         * math/s_csqrtf.c: Likewise.
69287         * math/s_csqrtl.c: Likewise.
69288         * math/s_ctan.c: Likewise.
69289         * math/s_ctanf.c: Likewise.
69290         * math/s_ctanh.c: Likewise.
69291         * math/s_ctanhf.c: Likewise.
69292         * math/s_ctanhl.c: Likewise.
69293         * math/s_ctanl.c: Likewise.
69294         * math/s_ldexp.c: Likewise.
69295         * math/s_ldexpf.c: Likewise.
69296         * math/s_ldexpl.c: Likewise.
69297         * math/s_significand.c: Likewise.
69298         * math/s_significandf.c: Likewise.
69299         * math/s_significandl.c: Likewise.
69300         * math/w_acos.c: Likewise.
69301         * math/w_acosf.c: Likewise.
69302         * math/w_acosh.c: Likewise.
69303         * math/w_acoshf.c: Likewise.
69304         * math/w_acoshl.c: Likewise.
69305         * math/w_acosl.c: Likewise.
69306         * math/w_asin.c: Likewise.
69307         * math/w_asinf.c: Likewise.
69308         * math/w_asinl.c: Likewise.
69309         * math/w_atan2.c: Likewise.
69310         * math/w_atan2f.c: Likewise.
69311         * math/w_atan2l.c: Likewise.
69312         * math/w_atanh.c: Likewise.
69313         * math/w_atanhf.c: Likewise.
69314         * math/w_atanhl.c: Likewise.
69315         * math/w_cosh.c: Likewise.
69316         * math/w_coshf.c: Likewise.
69317         * math/w_coshl.c: Likewise.
69318         * math/w_dremf.c: Likewise.
69319         * math/w_exp10.c: Likewise.
69320         * math/w_exp10f.c: Likewise.
69321         * math/w_exp10l.c: Likewise.
69322         * math/w_exp2.c: Likewise.
69323         * math/w_exp2f.c: Likewise.
69324         * math/w_fmod.c: Likewise.
69325         * math/w_fmodf.c: Likewise.
69326         * math/w_fmodl.c: Likewise.
69327         * math/w_hypot.c: Likewise.
69328         * math/w_hypotf.c: Likewise.
69329         * math/w_hypotl.c: Likewise.
69330         * math/w_j0.c: Likewise.
69331         * math/w_j0f.c: Likewise.
69332         * math/w_j0l.c: Likewise.
69333         * math/w_j1.c: Likewise.
69334         * math/w_j1f.c: Likewise.
69335         * math/w_j1l.c: Likewise.
69336         * math/w_jn.c: Likewise.
69337         * math/w_jnf.c: Likewise.
69338         * math/w_jnl.c: Likewise.
69339         * math/w_lgamma.c: Likewise.
69340         * math/w_lgamma_r.c: Likewise.
69341         * math/w_lgammaf.c: Likewise.
69342         * math/w_lgammaf_r.c: Likewise.
69343         * math/w_lgammal.c: Likewise.
69344         * math/w_lgammal_r.c: Likewise.
69345         * math/w_log.c: Likewise.
69346         * math/w_log10.c: Likewise.
69347         * math/w_log10f.c: Likewise.
69348         * math/w_log10l.c: Likewise.
69349         * math/w_log2.c: Likewise.
69350         * math/w_log2f.c: Likewise.
69351         * math/w_log2l.c: Likewise.
69352         * math/w_logf.c: Likewise.
69353         * math/w_logl.c: Likewise.
69354         * math/w_pow.c: Likewise.
69355         * math/w_powf.c: Likewise.
69356         * math/w_powl.c: Likewise.
69357         * math/w_remainder.c: Likewise.
69358         * math/w_remainderf.c: Likewise.
69359         * math/w_remainderl.c: Likewise.
69360         * math/w_scalb.c: Likewise.
69361         * math/w_scalbf.c: Likewise.
69362         * math/w_scalbl.c: Likewise.
69363         * math/w_sinh.c: Likewise.
69364         * math/w_sinhf.c: Likewise.
69365         * math/w_sinhl.c: Likewise.
69366         * math/w_sqrt.c: Likewise.
69367         * math/w_sqrtf.c: Likewise.
69368         * math/w_sqrtl.c: Likewise.
69369         * math/w_tgamma.c: Likewise.
69370         * math/w_tgammaf.c: Likewise.
69371         * math/w_tgammal.c: Likewise.
69373         * po/ja.po: Update from translation team.
69375 2011-09-29  Andreas Jaeger  <aj@suse.de>
69377         [BZ #13179]
69378         * sunrpc/netname.c (netname2host): Fix logic.
69380         [BZ #6779]
69381         [BZ #6783]
69382         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
69383         correctly.
69384         * math/w_remainder.c (__remainder): Likewise.
69385         * math/w_remainderf.c (__remainderf): Likewise.
69386         * math/libm-test.inc (remainder_test): Add test cases.
69388 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69390         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
69391         sdiv_qrnnd.
69393 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69395         * string/test-memcmp.c: Avoid unncessary #defines.
69396         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69398 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69400         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
69401         Use new sse2 version for core i3 - i7 as it's faster
69402         than sse42 version.
69403         (bit_Prefer_PMINUB_for_stringop): New.
69404         * sysdeps/x86_64/rawmemchr.S: Update.
69405         Replace with faster SSE2 version.
69406         * sysdeps/x86_64/memrchr.S: New file.
69407         * sysdeps/x86_64/memchr.S: Update.
69408         Replace with faster SSE2 version.
69410 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
69412         * elf/dl-load.c (lose): Add cast to avoid warning.
69414 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69416         * po/ca.po: Update from translation team.
69418         * inet/getnetgrent_r.c: Hook up nscd.
69419         * nscd/Makefile (routines): Add nscd_netgroup.
69420         (nscd-modules): Add netgroupcache.
69421         (CFLAGS-netgroupcache.c): Define.
69422         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
69423         (cache_search): Add const to second parameter.
69424         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
69425         INNETGR.
69426         (dbs): Add netgrdb entry.
69427         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
69428         (verify_persistent_db): Handle netgrdb.
69429         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
69430         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
69431         GETFDNETGR.
69432         (netgroup_response_header): Define.
69433         (innetgroup_response_header): Define.
69434         (datahead): Add netgroup_response_header and innetgroup_response_header
69435         elements.
69436         * nscd/nscd.conf: Add entries for netgroup cache.
69437         * nscd/nscd.h (dbtype): Add netgrdb.
69438         (_PATH_NSCD_NETGROUP_DB): Define.
69439         (netgroup_iov_disabled): Declare.
69440         (xmalloc, xcalloc, xrealloc): Move declarations here.
69441         (cache_search): Adjust prototype.
69442         Add netgroup-related prototypes.
69443         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
69444         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
69445         (__nscd_innetgr): Declare.
69446         * nscd/selinux.c (perms): Use access_vector_t as element type and
69447         add netgroup-related initializers.
69448         * nscd/netgroupcache.c: New file.
69449         * nscd/nscd_netgroup.c: New file.
69450         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
69451         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
69452         For four parameters use innetgr.
69453         * nss/nss_files/files-init.c: Add definition and callback for netgr.
69454         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
69455         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
69456         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
69458         * nscd/connections.c (register_traced_file): Don't register file
69459         for disabled databases.
69461 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
69463         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
69465         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
69466         from tree and freeing node.
69468 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
69470         * nss/nsswitch.c (__nss_database_lookup): Handle
69471         nss_parse_service_list out of memory case.
69473 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
69475         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
69476         out of memory case.
69478 2011-10-04  Andreas Schwab  <schwab@redhat.com>
69480         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
69481         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
69482         pass it down.
69483         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
69484         elf_machine_rela, elf_machine_lazy_rel.
69485         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
69486         (ELF_DYNAMIC_DO_REL): Likewise.
69487         (ELF_DYNAMIC_DO_RELA): Likewise.
69488         (ELF_DYNAMIC_RELOCATE): Likewise.
69489         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
69490         to ELF_DYNAMIC_DO_REL.
69491         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
69492         (dl_main): In trace mode always set __RTLD_NOIFUNC.
69493         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
69494         elf_machine_rela.
69495         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
69496         skip_ifunc, don't call ifunc function if non-zero.
69497         (elf_machine_rela): Likewise.
69498         (elf_machine_lazy_rel): Likewise.
69499         (elf_machine_lazy_rela): Likewise.
69500         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
69501         (elf_machine_lazy_rel): Likewise.
69502         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
69503         Likewise.
69504         (elf_machine_lazy_rel): Likewise.
69505         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69506         Likewise.
69507         (elf_machine_lazy_rel): Likewise.
69508         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
69509         (elf_machine_lazy_rel): Likewise.
69510         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
69511         (elf_machine_lazy_rel): Likewise.
69512         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
69513         (elf_machine_lazy_rel): Likewise.
69514         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
69515         (elf_machine_lazy_rel): Likewise.
69516         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
69517         (elf_machine_lazy_rel): Likewise.
69518         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
69519         (elf_machine_lazy_rel): Likewise.
69521 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
69523         * nss/nss_files/files-init.c (_nss_files_init): Use static
69524         initialization for all the *_traced_file variables.
69526 2011-09-28  Andreas Schwab  <schwab@redhat.com>
69528         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69530 2011-09-27  Roland McGrath  <roland@hack.frob.com>
69532         [BZ #13226]
69533         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
69535 2011-09-27  Andreas Schwab  <schwab@redhat.com>
69537         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69538         Reread the line before reparsing it.
69540 2011-09-26  Andreas Schwab  <schwab@redhat.com>
69542         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
69544 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
69545             Maxim Kuvyrkov  <maxim@codesourcery.com>
69546             Joseph Myers  <joseph@codesourcery.com>
69548         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
69549         if needed for __stack_chk_guard.
69551 2011-09-19  Roland McGrath  <roland@hack.frob.com>
69553         * sysdeps/posix/spawni.c (script_execute): Always define it.
69554         It will be optimized away if unused.
69555         (maybe_script_execute): New function.
69556         (__spawni): Call it.
69558         * Makerules: Don't include tls.make.
69559         (config-tls): Always set to thread.
69560         * tls.make.c: File removed.
69562 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
69564         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
69565         * config.make.in (CPPFLAGS-config): New substituted variable.
69567 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69569         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
69571         [BZ #13192]
69572         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
69573         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
69575 2011-09-15  Roland McGrath  <roland@hack.frob.com>
69577         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
69578         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
69579         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69580         (CALL_FAIL): Likewise.
69581         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
69582         (CALL_FAIL): Macro removed.
69583         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
69585 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69587         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
69588         for __FINITE_MATH_ONLY__ == 1.
69590 2011-09-15  Andreas Schwab  <schwab@redhat.com>
69592         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
69593         __ieee754_sqrt instead of sqrt.
69594         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
69595         __ieee754_sqrtf instead of sqrtf.
69596         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
69597         __floorf instead of floorf.
69598         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
69599         __floorf, __truncf instead of floorf, truncf.
69601 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
69603         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
69605         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
69606         __extern_always_inline.
69607         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
69608         32-bit.
69610 2011-09-14  Andreas Schwab  <schwab@redhat.com>
69612         * elf/rtld.c (dl_main): Also relocate in dependency order when
69613         doing symbol dependency testing.
69615 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
69617         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69618         Always define `refsym'.
69620 2011-09-13  Andreas Schwab  <schwab@redhat.com>
69622         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69623         (__FD_ELT): Renamed from __FDELT.
69624         * misc/bits/select2.h (__FD_ELT): Likewise.
69625         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69626         __FD_MASK instead of __FDELT, __FDMASK.
69627         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69628         Likewise.
69629         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69630         Likewise.
69632         * elf/Makefile (gen-ldd): Fix pattern.
69634         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69635         (init_tls): Likewise.
69637 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
69639         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69641 2011-09-12  Andreas Schwab  <schwab@redhat.com>
69643         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69644         `struct cmsghdr *' instead of `void *'.
69645         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69646         Likewise.
69648 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
69650         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69651         if non-absolute.
69652         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69653         ldd_rewrite_script.
69655 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
69657         * configure.in: Remove --with-tls option.
69658         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69659         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69660         out in case it is missing.
69661         * sysdeps/ia64/elf/configure.in: Likewise.
69662         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
69663         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
69664         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
69665         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
69666         * sysdeps/sh/elf/configure.in: Likewise.
69667         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
69668         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69669         * sysdeps/x86_64/elf/configure.in: Likewise.
69670         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
69671         * sysdeps/mach/hurd/tls.h: Likewise.
69673         [BZ #13067]
69674         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
69676         [BZ #13090]
69677         * configure.in: Fix use of AC_INIT.
69679         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
69681 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
69683         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
69684         __set_errno.
69685         * malloc/hooks.c: Likewise.
69687         [BZ #11929]
69688         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
69689         variables statically.
69690         (narenas): Initialize.
69691         (list_lock): Initialize.
69692         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
69693         initializtion of main_arena and list_lock.  Small cleanups.
69694         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
69695         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
69696         Add initializers to main_arena and mp_.
69697         (malloc_state): Remove pagesize member.  Change all users to use
69698         GLRO(dl_pagesize).
69700         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
69701         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
69702         is always initialized.
69704         * malloc/malloc.c: Removed unused configurations and dead code.
69705         * malloc/arena.c: Likewise.
69706         * malloc/hooks.c: Likewise.
69707         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69709         * include/tls.h: Removed.  USE___THREAD must always be defined.
69710         * bits/libc-tsd.h: Don't handle !USE___THREAD.
69711         * elf/dl-libc.c: Likewise.
69712         * elf/dl-tsd.c: Likewise.
69713         * include/errno.h: Likewise.
69714         * include/netdb.h: Likewise.
69715         * include/resolv.h: Likewise.
69716         * inet/herrno-loc.c: Likewise.
69717         * inet/herrno.c: Likewise.
69718         * malloc/arena.c: Likewise.
69719         * malloc/hooks.c: Likewise.
69720         * malloc/malloc.c: Likewise.
69721         * resolv/res-state.c: Likewise.
69722         * resolv/res_libc.c: Likewise.
69723         * sysdeps/i386/dl-machine.h: Likewise.
69724         * sysdeps/ia64/dl-machine.h: Likewise.
69725         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69726         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69727         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69728         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69729         * sysdeps/sh/dl-machine.h: Likewise.
69730         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69731         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69732         * sysdeps/unix/i386/sysdep.S: Likewise.
69733         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69734         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69735         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69736         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69738         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69739         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69740         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69741         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69743         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69744         * sysdeps/x86_64/dl-machine.h: Likewise.
69745         * tls.make.c: Likewise.
69747         * configure.in: Remove --with-__thread option.  Make tests for
69748         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69749         tls_model attribute fail if no support is available.  Remove
69750         USE_IN_LIBIO.
69751         * Makeconfig: Adjust for dropped configure option.  All features are
69752         now mandatory.
69753         * Makerules: Likewise.
69754         * Versions.def: Likewise.
69755         * argp/argp-fmtstream.c: Likewise.
69756         * argp/argp-fmtstream.h: Likewise.
69757         * argp/argp-help.c: Likewise.
69758         * assert/assert.c: Likewise.
69759         * config.h.in: Likewise.
69760         * config.make.in: Likewise.
69761         * configure: Likewise.
69762         * configure.in: Likewise.
69763         * csu/Versions: Likewise.
69764         * csu/init.c: Likewise.
69765         * elf/tst-audit2.c: Likewise.
69766         * elf/tst-tls10.c: Likewise.
69767         * elf/tst-tls10.h: Likewise.
69768         * elf/tst-tls11.c: Likewise.
69769         * elf/tst-tls12.c: Likewise.
69770         * elf/tst-tls14.c: Likewise.
69771         * elf/tst-tlsmod11.c: Likewise.
69772         * elf/tst-tlsmod12.c: Likewise.
69773         * elf/tst-tlsmod13.c: Likewise.
69774         * elf/tst-tlsmod13a.c: Likewise.
69775         * elf/tst-tlsmod14a.c: Likewise.
69776         * elf/tst-tlsmod15b.c: Likewise.
69777         * elf/tst-tlsmod16a.c: Likewise.
69778         * elf/tst-tlsmod16b.c: Likewise.
69779         * elf/tst-tlsmod7.c: Likewise.
69780         * elf/tst-tlsmod8.c: Likewise.
69781         * elf/tst-tlsmod9.c: Likewise.
69782         * gmon/gmon.c: Likewise.
69783         * grp/fgetgrent_r.c: Likewise.
69784         * grp/putgrent.c: Likewise.
69785         * hurd/fopenport.c: Likewise.
69786         * include/libc-symbols.h: Likewise.
69787         * include/tls.h: Likewise.
69788         * intl/gettextP.h: Likewise.
69789         * intl/loadinfo.h: Likewise.
69790         * locale/global-locale.c: Likewise.
69791         * locale/localeinfo.h: Likewise.
69792         * mach/devstream.c: Likewise.
69793         * malloc/arena.c: Likewise.
69794         * malloc/set-freeres.c: Likewise.
69795         * misc/err.c: Likewise.
69796         * misc/getttyent.c: Likewise.
69797         * misc/mntent_r.c: Likewise.
69798         * posix/getopt.c: Likewise.
69799         * posix/wordexp.c: Likewise.
69800         * pwd/fgetpwent_r.c: Likewise.
69801         * resolv/Versions: Likewise.
69802         * resolv/res_hconf.c: Likewise.
69803         * shadow/fgetspent_r.c: Likewise.
69804         * shadow/putspent.c: Likewise.
69805         * stdio-common/printf_fphex.c: Likewise.
69806         * stdio-common/tmpfile.c: Likewise.
69807         * stdlib/abort.c: Likewise.
69808         * stdlib/fmtmsg.c: Likewise.
69809         * sunrpc/auth_unix.c: Likewise.
69810         * sunrpc/clnt_perr.c: Likewise.
69811         * sunrpc/clnt_tcp.c: Likewise.
69812         * sunrpc/clnt_udp.c: Likewise.
69813         * sunrpc/clnt_unix.c: Likewise.
69814         * sunrpc/openchild.c: Likewise.
69815         * sunrpc/svc_simple.c: Likewise.
69816         * sunrpc/svc_tcp.c: Likewise.
69817         * sunrpc/svc_udp.c: Likewise.
69818         * sunrpc/svc_unix.c: Likewise.
69819         * sunrpc/xdr.c: Likewise.
69820         * sunrpc/xdr_array.c: Likewise.
69821         * sunrpc/xdr_rec.c: Likewise.
69822         * sunrpc/xdr_ref.c: Likewise.
69823         * sunrpc/xdr_stdio.c: Likewise.
69825 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69827         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69829 2011-07-03  Andreas Jaeger  <aj@suse.de>
69831         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69832         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69833         regenerate with gen-libm-tests.pl.
69835 2010-05-12  Petr Baudis  <pasky@suse.cz>
69837         [BZ #11589]
69838         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69839         around j0() zero points by switching to j1().
69840         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69841         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69842         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69843         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69845 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69847         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69848         instead of 0.
69849         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69850         instead of 0.
69851         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69852         Patch in part by Pavel Roskin <proski@gnu.org>.
69854         [BZ #13138]
69855         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69856         realloc.
69857         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69858         Free memory block if necessary.
69860         [BZ #12847]
69861         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69862         be NULL.  Don't lock in this case.
69864 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69866         * elf/elf.h (ELFOSABI_GNU): New macro.
69867         (ELFOSABI_LINUX): Define to that.
69869 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69871         * string/strncat.c (strncat): Undef the symbol in case it has been
69872         defined in bits/string.h.
69874 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69876         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69878         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69879         link map.
69881 2011-08-17  Andreas Jaeger  <aj@suse.de>
69883         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69885 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69886             Ian Lance Taylor  <iant@google.com>
69888         * math/libm-test.inc (lround_test): New testcase.
69889         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69891 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69893         * Makefile: Remove support for automatic cvs check-ins.
69894         * Makerules: Likewise.
69895         * config.make.in: Likewise.
69896         * configure.in: Likewise.
69897         * intl/Makefile: Likewise.
69898         * locale/Makefile: Likewise.
69899         * po/Makefile: Likewise.
69900         * posix/Makefile: Likewise.
69901         * sysdeps/gnu/Makefile: Likewise.
69902         * sysdeps/mach/hurd/Makefile: Likewise.
69903         * sysdeps/sparc/sparc32/Makefile: Likewise.
69905         [BZ #13118]
69906         * posix/Makefile (bug-regex32-ENV): Define.
69907         Patch by John Stanley <jpsinthemix@verizon.net>.
69909         * misc/Makefile (headers): Add bits/select2.h.
69910         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69911         * misc/bits/select2.h: New file.
69912         * include/bits/select2.h: New file.
69913         * debug/Makefile (routines): Add fdelt_chk.
69914         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69915         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69916         FD_ISSET.
69917         * debug/fdelt_chk.c: New file.
69919         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69920         * wcsmbs/test-wmemcmp.c: Likewise.
69921         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69922         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69924 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69926         * string/Makefile (strop-tests): Add memcmp.
69927         * string/test-wmemcmp.c: New file.
69928         * string/test-memcmp.c: Add wmemcmp support.
69930 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69932         [BZ #13153]
69933         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69934         2011-07-19 change.
69936         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69937         garbage value in a __mach_port_mod_refs call in the cases of the
69938         task-self and thread-self ports.
69940 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69942         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69944 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69946         * elf/dl-load.c (lose): Check for non-null L.
69948 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69950         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69952         * elf/dl-libc.c (dlerror_run): Pass back error code from
69953         dl_catch_error.
69955         [BZ #13123]
69956         * elf/dl-load.c (lose): Free l_origin if it is valid.
69958         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69959         names.
69960         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69961         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69962         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69963         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69964         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69965         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69967 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69969         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69970         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69971         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69972         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69973         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69974         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69975         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69976         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69977         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69978         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69980 2011-08-15  Alan Modra  <amodra@gmail.com>
69982         [BZ #13092]
69983         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69984         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69985         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69986         ppc_mcount to static-only-routines.
69987         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69988         __mcount_internal.
69989         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69990         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69992 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69994         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69995         for finite and infinity parameters.
69997 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69999         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70000         and add nop instructions for throughput optimization.
70001         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70003 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70005         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70006         aligned copy for power7 with vector-scalar instructions.
70007         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70009 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70012         AVX check.
70014 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70016         [BZ #13144]
70017         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70018         last change.
70020 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70022         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70023         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70024         syscall wrapper around clock_gettime in __vdso_clock_gettime.
70025         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70026         clock_gettime.
70028 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70030         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70031         Forgot to demangle the pointer.
70033         * sysdeps/i386/sysdep.h: Define atom_text_section.
70034         * sysdeps/x86_64/sysdep.h: Likewise.
70035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70036         section with atom_text_section.
70037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70038         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70039         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70040         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70041         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70043         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70044         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70045         already be defined.  Change to take two parameters and don't assign
70046         result to variable.  Adjust all users.
70047         Define INTERNAL_GETTIME if not already defined.
70048         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70049         call.
70050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70051         HAVE_CLOCK_GETTIME_VSYSCALL.
70052         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70055         gettimeofday vsyscall, just use time.
70057 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70059         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70060         <errno.h>.
70062 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70064         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70065         syscall on x86-64.
70066         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70067         syscall.
70068         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70069         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70070         syscall if possible.
70072 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70074         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70075         e_ident.  Don't pass to find_mapsXX.
70076         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70078 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70080         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70081         strchr-sse2-no-bsf strrchr-sse2-no-bsf
70082         * sysdeps/x86_64/multiarch/strchr.S: Update.
70083         Check bit_slow_BSF bit.
70084         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70085         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70086         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70088 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70090         [BZ #13134]
70091         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70092         before glibc 2.15.
70093         (tryshell): Define.
70094         (__spawni): Change last parameter to be flag.  Test
70095         SPAWN_XFLAGS_USE_PATH flag to use path or not.
70096         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70097         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70098         * posix/spawni.c: Likewise.
70099         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70100         * posix/spawnp.c: Likewise.  Change normal version to use
70101         SPAWN_XFLAGS_USE_PATH.
70102         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70103         SPAWN_XFLAGS_TRY_SHELL.
70105         [BZ #13150]
70106         * posix/glob.h: Remove gcc 1.x support.
70108         [BZ #13068]
70109         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70111 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70114         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70115         strrchr-sse2-bsf
70116         * sysdeps/i386/i686/multiarch/strchr.S: New file.
70117         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70118         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70119         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70120         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70121         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70123 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70125         * sysdeps/x86_64/wcscmp.S: New file.
70127         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70128         wcscmp-c wcscmp-sse2
70129         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
70130         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
70131         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
70132         * wcsmbs/wcscmp.c: Allow renaming.
70134 2011-09-05  David S. Miller  <davem@davemloft.net>
70136         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
70137         stack slot, rather than the struct return pointer slot.
70138         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
70139         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
70140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
70141         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
70143 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70145         * po/ja.po: Update from translation team.
70147         [BZ #13144]
70148         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
70149         kernel in 64-bit binaries.
70151 2011-09-01  David S. Miller  <davem@davemloft.net>
70153         * elf/elf.h (HWCAP_SPARC_*): Move to..
70154         * sysdeps/sparc/sysdep.h: this new file and add new values.
70155         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
70156         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
70157         _DL_HWCAP_COUNT to 24.
70158         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70159         entries.
70160         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
70161         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
70162         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
70163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
70164         instead of magic constants.
70165         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70167 2011-08-31  David S. Miller  <davem@davemloft.net>
70169         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
70170         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
70171         Reimplement to do errno handling inline.
70172         (SYSCALL_ERROR_HANDLER): New macro.
70173         (__SYSCALL_STRING): Do not do errno handling in asm.
70174         (__CLONE_SYSCALL_STRING): Delete.
70175         (__INTERNAL_SYSCALL_STRING): Delete.
70176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
70177         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
70178         (PSEUDO): Reimplement to do errno handling inline.
70179         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
70180         (SYSCALL_ERROR_HANDLER): New macro.
70181         (__SYSCALL_STRING): Do not do errno handling in asm.
70182         (__CLONE_SYSCALL_STRING): Delete.
70183         (__INTERNAL_SYSCALL_STRING): Delete.
70184         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
70185         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
70186         i386.
70187         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
70188         (inline_syscall*): Add 'err' argument.
70189         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
70190         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
70191         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
70192         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
70194         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
70195         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70197 2011-08-30  Andreas Schwab  <schwab@redhat.com>
70199         * elf/rtld.c (dl_main): Relocate objects in dependency order.
70201 2011-08-29  Jiri Olsa <jolsa@redhat.com>
70203         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
70204         directive.
70206 2011-08-24  David S. Miller  <davem@davemloft.net>
70208         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
70210 2011-08-24  Andreas Schwab  <schwab@redhat.com>
70212         * elf/Makefile: Add rules to build and run unload8 test.
70213         * elf/unload8.c: New file.
70214         * elf/unload8mod1.c: New file.
70215         * elf/unload8mod1x.c: New file.
70216         * elf/unload8mod2.c: New file.
70217         * elf/unload8mod3.c: New file.
70219         * elf/dl-close.c (_dl_close_worker): Reset private search list if
70220         it wasn't used.
70222 2011-08-23  David S. Miller  <davem@davemloft.net>
70224         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
70225         subtract stack bias.
70226         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
70227         %sp not %fp in calculations.
70228         (_JMPBUF_UNWINDS_ADJ): Likewise.
70230         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
70231         (aio_suspend): Call it to force an exception region around the
70232         AIO_MISC_WAIT() invocation.
70234 2011-08-23  Andreas Schwab  <schwab@redhat.com>
70236         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
70237         backslash.
70239 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
70241         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
70242         protection macro.
70243         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
70244         and <dl-machine.h>.
70245         (Elf64_FuncDesc): Remove.
70247 2011-08-22  David S. Miller  <davem@davemloft.net>
70249         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
70250         sigaltstack check, add missing cfi directives.
70251         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
70252         missing cfi directives, and sigaltstack handling.
70254 2011-08-16  Andreas Schwab  <schwab@redhat.com>
70256         [BZ #11724]
70257         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
70258         object is seen twice.
70259         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70261         * elf/Makefile (distribute): Add tst-initorder2.c.
70262         (tests): Add tst-initorder2.
70263         (modules-names): Add tst-initorder2a tst-initorder2b
70264         tst-initorder2c tst-initorder2d.  Add rules to build them.
70265         ($(objpfx)tst-initorder2.out): New rule.
70266         * elf/tst-initorder2.c: New file.
70267         * elf/tst-initorder2.exp: New file.
70269 2011-08-22  Andreas Schwab  <schwab@redhat.com>
70271         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
70273         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
70274         dependencies back to end of function.
70276         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70277         $(elfobjdir)/ld.so.
70279 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
70281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
70282         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
70283         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
70284         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
70285         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
70286         of __vdso_gettimeofday.
70287         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
70288         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
70289         attribute_hidden.
70290         (_libc_vdso_platform_setup): Remove initialization of
70291         __vdso_gettimeofday and __vdso_time.
70293 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70295         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
70296         and fgetc_unlocked.
70297         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
70298         getc_unlocked.
70300         * elf/dl-open.c (add_to_global): Report additions to the global scope
70301         for LD_DEBUG=scopes.
70302         (dl_open_worker): Also print scope of newly loaded dependencies.
70303         (_dl_show_scope): Indicate if there is no scope.
70305         [BZ #13114]
70306         * stdio-common/Makefile (tests): Add bug24.
70307         * stdio-common/bug24.c: New file.
70309 2011-08-19  Andreas Jaeger  <aj@suse.de>
70311         [BZ #13114]
70312         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
70313         non-existant file when using close-on-exec mode.
70315 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
70318         the very first instruction.
70320         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
70321         the CFI state in the end.
70322         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
70323         inclusion of dl-trampoline.h.
70324         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
70326 2011-08-19  Andreas Schwab  <schwab@redhat.com>
70328         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
70329         expectations for long double.
70331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
70332         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
70334 2011-08-14  David S. Miller  <davem@davemloft.net>
70336         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
70337         artificual limit depends upon the system page size.
70339 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70341         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
70342         * resolv/Makefile: Define CFLAGS-libresolv.
70344 2011-08-17  Andreas Schwab  <schwab@redhat.com>
70346         * nss/makedb.c (compute_tables): Make variables used in nested
70347         function static.
70349 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70351         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
70352         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
70353         if buffer was too small.
70355         * elf/pldd.c (main): Attach to all threads in the process.
70356         Rewrite /proc handling to use *at functions.
70358 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
70360         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
70361         specifies first scope to show.
70362         (dl_open_worker): Update callers.  Move printing scope of new
70363         object to before the relocation.
70364         * elf/rtld.c (dl_main): Update _dl_show_scope call.
70365         * sysdeps/generic/ldsodefs.h: Update declaration.
70367         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
70368         string for the scope number.
70370 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
70372         * nscd/servicescache.c (cache_addserv): Make sure written is always
70373         initialized.
70375 2011-08-14  Roland McGrath  <roland@hack.frob.com>
70377         * sysdeps/i386/i486/bits/atomic.h
70378         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
70379         statement expression, so as to suppress "set but not used" warning.
70380         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
70382         * string/strncat.c (STRNCAT): Use prototype definition.
70384         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
70385         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
70386         -Iprograms here.
70387         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
70388         (localedef-modules): Add localedef.
70389         (locale-modules): Add locale.
70391         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
70392         * elf/rtld.c (dl_main): Invert order of assignment in last change,
70393         to avoid a warning.
70395 2011-08-14  David S. Miller  <davem@davemloft.net>
70397         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
70398         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
70400 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
70402         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
70403         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
70404         * elf/rtld.c (dl_main): Set l_name of vDSO.
70405         Call _dl_show_scope when DL_DEBUG_SCOPES.
70406         (process_dl_debug): Recognize scopes flag and also set it for all.
70407         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
70408         Declare _dl_show_scope.
70410         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
70411         (do_dlopen): Pass caller_dlopen to dl_open.
70412         (__libc_dlopen_mode): Initialize caller_dlopen.
70414         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
70415         of libc.  Make tolower call locale-independent.  Optimize a bit by
70416         using isdigit instead of isalnum.
70417         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
70419 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
70421         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
70422         was a dependency or dynamically loaded.
70424 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
70426         * intl/l10nflist.c: Allow architecture-specific pop function.
70427         * sysdeps/x86_64/l10nflist.c: New file.
70429         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
70430         classification.
70432 2011-08-10  Andreas Schwab  <schwab@redhat.com>
70434         * include/dirent.h: Add libc_hidden_proto for scandirat and
70435         scandirat64.  Don't declare __scandirat64.
70436         * dirent/scandirat.c: Add libc_hidden_def.
70437         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
70438         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
70440 2011-08-10  David S. Miller  <davem@davemloft.net>
70442         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
70443         enum.
70444         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70445         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70446         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70448 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
70450         * Versions.def [libc]: Add GLIBC_2.15.
70451         * dirent/Makefile (routines): Add scandirat and scandirat64.
70452         * dirent/Versions [libc]: Export scandirat and scandirat64 for
70453         GLIBC_2.15.
70454         * dirent/dirent.h: Declare scandirat and scandirat64.
70455         * dirent/scandirat.c: New file.
70456         * dirent/scandirat64.c: New file.
70457         * sysdeps/wordsize-64/scandirat.c: New file.
70458         * sysdeps/wordsize-64/scandirat64.c: New file.
70459         * dirent/opendir.c: Define opendirat.
70460         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
70461         using scandirat.
70462         * dirent/scandir64.c: Adjust for scandir.c change.
70463         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
70464         __scandirat64, and __scandir_cancel_handler.
70465         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
70466         additional parameter and use openat instead of open (outside of ld.so).
70467         Add new __opendir as wrapper around __opendirat.
70468         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
70469         here without requiring old scandirat implementation.
70471 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
70473         * dirent/scandir.c (cancel_handler): Renamed to
70474         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
70475         defined.  Adjust users.
70476         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
70477         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
70479 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
70481         * string/test-string.h (IMPL): Use __STRING to expand name and then
70482         stringify it.
70484         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
70485         of cleanups.
70487 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70489         * string/Makefile: Update.
70490         (strop-tests): Append strncat.
70491         * string/test-wcscmp.c: New file.
70492         New comprehensive test for wcscmp.
70493         * string/test-strcmp.c: Update.
70494         (WIDE): New define.
70496 2011-07-22  Andreas Schwab  <schwab@redhat.com>
70498         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
70499         line.
70501 2011-07-26  Andreas Schwab  <schwab@redhat.com>
70503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70504         encoding to ACE if AI_IDN.
70506 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
70508         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
70509         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
70511 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70513         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
70514         Fix overflow bug in strncat.
70515         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
70517         * string/test-strncat.c: Update.
70518         Add new tests for checking overflow bugs.
70520 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70522         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70523         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
70524         * sysdeps/i386/i686/multiarch/strcat.S: New file.
70525         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
70526         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
70527         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
70528         * sysdeps/i386/i686/multiarch/strncat.S: New file.
70529         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
70530         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
70532         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
70533         (USE_AS_STRCAT): Define.
70534         Add strcat and strncat support.
70535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70537 2011-07-25  Andreas Schwab  <schwab@redhat.com>
70539         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
70540         __n bigger than INT_MAX+1.
70541         (__strncmp_g): Likewise.
70543 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
70545         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
70546         * libio/stido.h: Likewise.
70548         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
70549         (AF_NFC): Define.
70550         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
70551         (AF_NFC): Define.
70553         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
70554         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70555         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70556         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
70557         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70559         [BZ #13021]
70560         * scripts/test-installation.pl: Don't expect libnss_test1 to be
70561         installed.
70563         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
70564         typo.
70565         (_dl_x86_64_save_sse): Likewise.
70567 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
70569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
70570         OSXSAVE.
70571         (_dl_x86_64_save_sse): Likewise.
70573         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
70575         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
70577 2011-07-21  Andreas Schwab  <schwab@redhat.com>
70579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
70580         change.
70581         (_dl_x86_64_save_sse): Use correct AVX check.
70583 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70585         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
70586         bug in strncpy/strncat.
70587         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
70589 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
70591         * string/tester.c (test_strcat): Add tests for different alignments
70592         of source and destination.
70593         (test_strncat): Likewise.
70595 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70597         [BZ #12852]
70598         * posix/glob.c (glob): Check passed in values before using them in
70599         expressions to avoid some overflows.
70600         (glob_in_dir): Likewise.
70602         [BZ #13007]
70603         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
70604         check for AVX enablement so that we don't crash with old kernels and
70605         new hardware.
70606         * elf/tst-audit4.c: Add same checks here.
70607         * elf/tst-audit6.c: Likewise.
70609         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
70611 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
70613         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
70615 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70617         * po/cs.po: Update from translation team.
70618         * po/bg.po: Likewise.
70620 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
70622         * misc/sys/cdefs.h: Add support for const attribute.
70623         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70624         to gnu_dev_{major,minor,makedev} functions.
70626 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
70628         * intl/dcigettext.c (get_output_charset): Add missing bracket.
70630 2011-07-20  Andreas Schwab  <schwab@redhat.com>
70632         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70633         strlen results.
70635 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70638         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70639         register in order to avoid conflicts with the soft frame pointer
70640         being held in r11 when necessary.
70641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70642         (INTERNAL_VSYSCALL_NCS): Likewise.
70644 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
70646         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70647         * elf/dl-fini.c (_dl_fini): Adjust caller.
70648         * elf/dl-close.c (_dl_close_worker): Likewise.
70649         * sysdeps/generic/ldsodefs.h: Adjust declaration.
70651 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70653         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70654         "aux_cache->nlibs < 0".
70656         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70657         in the reload-count case.
70659 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70662         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
70663         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
70664         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
70665         * sysdeps/x86_64/multiarch/strcat.S: New file.
70666         * sysdeps/x86_64/multiarch/strncat.S: New file.
70667         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
70668         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
70669         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
70670         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
70671         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
70672         (USE_AS_STRCAT): Define.
70673         Add strcat and strncat support.
70674         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70675         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
70676         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
70677         * string/strncat.c: Update.
70678         (USE_AS_STRNCAT): Define.
70679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70680         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
70681         and i7.
70682         * sysdeps/x86_64/multiarch/init-arch.h
70683         (bit_Prefer_PMINUB_for_stringop): New.
70684         (index_Prefer_PMINUB_for_stringop): Likewise.
70685         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
70686         bit_Prefer_PMINUB_for_stringop.
70688 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70690         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
70691         buffer64.
70692         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
70693         of casting of buffer.
70694         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
70695         buffer32 and buffer64.
70696         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
70697         writes instead of casting of buffer.
70698         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
70699         buffer32.
70700         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
70701         casting of buffer.
70703 2011-07-19  Andreas Schwab  <schwab@redhat.com>
70705         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70707 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70709         * nscd/nscd.c (termination_handler): Don't do anything for a database
70710         if it has not yet been initialized.
70712 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70714         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70716 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70718         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70720 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70722         * po/nl.po: Update from translation team.
70723         * po/sv.po: Likewise.
70725 2011-07-16  Roland McGrath  <roland@hack.frob.com>
70727         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70728         now disallowed by GCC.
70730         * configure.in (use-default-link): Default to yes if a test -shared
70731         link meets our qualifications.
70732         * configure: Regenerated.
70734         * config.make.in (output-format): New variable.
70735         * configure.in: Check for ld --print-output-format support.
70736         * configure: Regenerated.
70737         * Makerules ($(common-objpfx)format.lds)
70738         [$(output-format) != unknown]: Just use $(output-format),
70739         instead of the linker-script munging.
70741 2011-07-14  Roland McGrath  <roland@hack.frob.com>
70743         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70744         of $(common-objpfx)shlib.lds.
70745         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70747         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70748         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70750         * configure.in (-z relro check): Adjust test code to add a large
70751         writable data section after it.
70752         * configure: Regenerated.
70754 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70756         * configure.in (-z relro check): Fix test code to make the variable
70757         truly const.
70758         * configure: Regenerated.
70760 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70762         * nscd/nscd.h (struct traced_file): Define.
70763         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70764         elements.  Add traced_files.
70765         (inotify_fd): Declare.
70766         (register_traced_file): Declare.
70767         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70768         (inotify_fd): Export.
70769         (resolv_conf_descr): Remove.
70770         (nscd_init): Move inotify descriptor creation to main.
70771         Don't register files for notification here.
70772         (register_traced_file): New function.
70773         (invalidate_cache): Don't use reset_res to determine whether to call
70774         res_init, go through the list of registered files.
70775         (main_loop_poll): The inotify descriptors are now stored in the
70776         structures for the traced files.
70777         (main_loop_epoll): Likewise.
70778         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70779         to __nss_disable_nscd.
70780         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70781         for a database anymore.  Check the records for all the registered
70782         files instead.
70783         * nss/Makefile (libnss_files-routines): Add files-init.
70784         (libnss_db-routines): Add db-init.
70785         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70786         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70787         * nss/nss_db/db-init.c: New file.
70788         * nss/nss_files/files-init.c: New file.
70789         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70790         __nss_lookup_function.
70791         (__nss_lookup_function): Call nss_load_library.
70792         (nss_load_all_libraries): New function.
70793         (__nss_disable_nscd): Take parameter with callback function for files
70794         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70795         used for the cached services.
70796         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70797         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70798         options for features to all the files in nscd.
70800         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70802 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70804         * csu/elf-init.c (__libc_csu_init): Comment typo.
70806 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70808         * po/pl.po: Update from translation team.
70809         * po/ja.po: Likewise.
70810         * po/ru.po: Likewise.
70811         * po/ko.po: Likewise.
70812         * po/fr.po: Likewise.
70814 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70816         * configure.in (.ctors/.dtors header and trailer check):
70817         Use an empirical test on a built program.
70818         * configure: Regenerated.
70820         * configure.in (-z relro check): Use an empirical test on a built DSO.
70821         Detect, but do not require, on ia64.
70822         * configure: Regenerated.
70824         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70825         Update tests that use readelf to use $READELF instead.
70826         * configure: Regenerated.
70828 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70830         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70831         if the result is not used.
70833 2011-07-05  Andreas Jaeger  <aj@suse.de>
70835         [BZ#9696]
70836         * stdlib/tst-strtod.c: Add testcase.
70838 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70840         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70841         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70842         The latter has a higher limit.  Take additional parameter to pass to
70843         the new function.
70844         (__pathconf): Pass file to __statfs_link_max.
70845         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70846         __statfs_link_max.
70847         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70848         __statfs_link_max.
70850         [BZ #12868]
70851         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70852         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70853         Handle Lustre.
70854         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70855         (__statfs_filesize_max): Likewise.
70856         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70858 2011-07-05  Andreas Jaeger  <aj@suse.de>
70860         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70862 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70864         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70865         `status' variable.
70866         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70867         Likewise.
70869 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70871         * Makefile (strop-tests): Add strncat.
70872         * string/test-strncat.c: New file.
70874 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70876         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70878 2011-06-21  Andreas Jaeger  <aj@suse.de>
70880         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70881         Copy rule from iconvdata/Makefile.
70883 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70885         [BZ #12922]
70886         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70887         but no long options are defined, just return 'W'.
70889 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70891         [BZ #9696]
70892         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70894 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70896         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70897         netgroups to read.
70898         (innetgr): Likewise.
70900 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70902         * config.make.in (install_root): Default to $(DESTDIR).
70904 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70906         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70908 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70910         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70912         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70913         containing directory rather than embedding absolute directory names.
70915         * scripts/check-local-headers.sh: Rewritten using awk.
70916         Match by word, not by line.  Print error messages for matches.
70917         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70919         * Makerules [shlib-lds-flags empty]:
70920         ($(common-objpfx)libc_pic.opts): New target.
70921         ($(common-objpfx)libc_pic.os.clean): New target.
70922         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70924         * config.make.in (OBJCOPY): New variable.
70925         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70926         * configure: Regenerated.
70928         * config.make.in (use-default-link): New variable.
70929         * configure.in (use_default_link): Grok --with-default-link to set it.
70930         * configure: Regenerated.
70931         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70932         (shlib-lds, shlib-lds-flags): Define to empty.
70934         * Makerules (shlib-lds): New variable.
70935         (shlib-lds-flags): New variable.
70936         (build-shlib, build-moduile, build-module-asneeded): Use it.
70937         ($(common-objpfx)libc.so): Use $(shlib-lds).
70938         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70939         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70941         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70942         DT_FLAGS/DT_FLAGS_1 with zero flags.
70944         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70945         linker script munging.
70947 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70949         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70950         as 128-bit value.
70951         * crypt/sha512.c (sha512_process_block): Perform total addition using
70952         128-bit if possible.
70953         (__sha512_finish_ctx): Likewise.
70954         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70955         as 64-bit value.
70956         * crypt/sha256.c (SWAP64): Define.
70957         (sha256_process_block): Perform total addition using 64-bit if
70958         possible.
70959         (__sha256_finish_ctx): Likewise.
70961 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70963         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70965         * nscd/hstcache.c (cache_addhst): Likewise.
70966         * nscd/grpcache.c (cache_addgr): Likewise.
70967         * nscd/aicache.c (addhstaiX): Likewise.
70968         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70970 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70972         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70973         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70974         * nscd/hstcache.c (cache_addhst): Likewise.
70975         * nscd/grpcache.c (cache_addgr): Likewise.
70976         * nscd/aicache.c (addhstaiX): Likewise.
70978 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70980         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70981         domain only when needed.
70983 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70986         is always restored.
70988 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70990         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70991         are re-adding the entry.
70992         * nscd/servicescache.c (cache_addserv): Likewise.
70994 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70996         * sysdeps/generic/dl-irel.h: fix protection against multiple
70997         inclusions.
70998         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71000 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71002         [BZ #12935]
71003         * malloc/memusage.sh: Fix quoting in message.
71004         * debug/xtrace.sh: Likewise.
71006         * configure.in: Remove support for --experimental-malloc option, make
71007         it the default.
71008         * config.make.in: Likewise.
71009         * malloc/Makefile: Likewise.
71011 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71013         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71014         two-byte characters.
71016 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71018         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71019         AC_CACHE_CHECK invocation.
71020         * configure: Regenerated.
71022         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71024 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
71026         [BZ #12350]
71027         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
71028         bit from old_res_options.
71030         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71032         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71033         value type for setfct.
71035 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71037         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71038         __gettimeofday instead of gettimeofday.
71040 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71042         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71044 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71046         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71048         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71049         info.
71051 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71054         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71055         strcpy-sse2-unaligned strncpy-sse2-unaligned
71056         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71057         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71058         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71059         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71060         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71061         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71062         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71063         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71064         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71065         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71066         (STRCPY): Support SSE2 and SSSE3 versions.
71068 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
71070         [BZ #12874]
71071         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71072         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71073         kernels which artificially limit size of requests.
71075 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71077         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71078         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71079         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71080         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71081         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71082         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71083         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71084         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71085         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71086         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71087         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71088         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71089         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71090         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71091         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71093         Enable unaligned load optimization for Intel Core i3, i5 and i7
71094         processors.
71095         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71096         Define.
71097         (index_Fast_Unaligned_Load): Define.
71098         (HAS_FAST_UNALIGNED_LOAD): Define.
71100 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
71102         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71104 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71106         [BZ #12907]
71107         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71108         until it is clear that the information is realy needed.
71109         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71111 2011-06-22  Andreas Schwab  <schwab@redhat.com>
71113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71115 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71117         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71118         /sys/devices/system/cpu/online if it is usable.
71120         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71121         reading the information from the /proc filesystem to once a second.
71123 2011-06-21  Andreas Jaeger  <aj@suse.de>
71125         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71126         NULL after inclusion of kernel headers.
71128 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
71130         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
71131         calls to internal_setent.
71133         [BZ #12885]
71134         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
71135         addresses using gethostbyname4_r ignore IPv4 addresses.
71137         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
71138         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
71140         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
71142 2011-06-20  David S. Miller  <davem@davemloft.net>
71144         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
71145         inclusions.
71146         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
71148         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
71149         (elf_irel): Use it.
71150         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
71151         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
71152         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
71153         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
71154         * sysdeps/x86_64/dl-irel.h: Likewise.
71156         * elf/dl-runtime.c: Use elf_ifunc_invoke.
71157         * elf/dl-sym.c: Likewise.
71159 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71161         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
71162         need to dereference resplen2.
71164 2011-06-14  Andreas Schwab  <schwab@redhat.com>
71166         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
71168 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71170         * Makeconfig: Define vardbdir and inst_vardbdir.
71171         * nss/Makefile: Add rules to install db-Makefile.
71173         * nss/nss_db/db-XXX.c: Cleanup.
71175         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
71176         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
71177         GLIBC_PRIVATE.
71178         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
71179         * nss/makedb.c: Implement -g option to specify that value strings
71180         are generated and should not be added to table iterated over for
71181         get*ent calls.
71182         * nss/nss_db/db-initgroups.c: New file.
71184         * nss/getent.c: Add support for initgroups lookups through getgrouplist
71185         interface.
71187         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
71188         (internal_getgrouplist): Adjust to name change.
71189         Update use_initgroups_entry if this is not the first call.
71190         * nss/databases.def: Add initgroups entry.
71192         * nss/makedb.c (compute_tables): Check result of multiple hash table
71193         sizes to minimize maximum chain length.
71195 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
71197         * Versions.def: Add entry for libnss_db.
71198         * shlib-versions: Likewise.
71199         * nss/Makefile: Add rules to build libnss_db.
71200         * nss/Versions: Add libnss_db information.  Organize libnss_files
71201         entries better.
71202         * nss/db-Makefile: Add gshadow support.  Change rules for the new
71203         makedb progra.  Some minor improvements to generate smaller files.
71204         * nss/nss_db/nss_db.h: Move NSS database header data structures to
71205         here from...
71206         * nss/makedb.c: ...here.
71207         Improve database format to be smaller and require less memory at
71208         runtime.
71209         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
71210         db anymore.
71211         * nss/nss_db/db-netgrp.c: Likewise.
71212         * nss/nss_db/db-open.c: Likewise.
71213         * nss/nss_files/flies-XXX.x: Adjust comments.
71214         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
71215         * nss/nss_files/files-grp.c: Likewise.
71216         * nss/nss_files/files-hosts.c: Likewise.
71217         * nss/nss_files/files-network.c: Likewise.
71218         * nss/nss_files/files-proto.c: Likewise.
71219         * nss/nss_files/files-pwd.c: Likewise.
71220         * nss/nss_files/files-rpc.c: Likewise.
71221         * nss/nss_files/files-service.c: Likewise.
71222         * nss/nss_files/files-sgrp.c: Likewise.
71223         * nss/nss_files/files-spwd.c: Likewise.
71224         * nss/nss_db/db-alias.c: Removed.
71225         * nss/nss_db/dummy-db.h: Removed.
71227 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
71229         * nss/makedb.c: Rewritten to not use database library.
71230         * nss/Makefile: Update to build new makedb program.
71232 2011-06-14  Andreas Jaeger  <aj@suse.de>
71234         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
71235         memset declaration.
71237 2011-06-10  Andreas Schwab  <schwab@redhat.com>
71239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
71240         tmpbuf.
71242 2011-06-10  Roland McGrath  <roland@hack.frob.com>
71244         * Makerules (shlib.lds): Fail if the linker script comes out empty.
71245         * elf/Makefile ($(objpfx)ld.so): Likewise.
71247         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
71248         Don't list ld.so twice in dependencies.
71250         * posix/bug-regex31.c: Include <stdlib.h>.
71252         * nscd/hstcache.c (cache_addhst): Remove unused variable.
71254         * nis/nss_compat/compat-spwd.c
71255         (getspent_next_nss_netgr): Remove unused variable.
71256         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
71258         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
71259         nonmembers" output to use the right array.
71261         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
71263         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
71265         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
71266         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
71267         * catgets/gencat.c (read_input_file): Likewise.
71268         * locale/programs/locarchive.c (enlarge_archive): Likewise.
71270         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
71271         variable definition inside #if's controlling its use.
71273         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
71275         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
71277         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
71279         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
71280         unreachable code.
71282         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
71284         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
71285         * configure: Regenerated.
71287         * Makerules: Revert last change.
71288         * elf/Makefile: Likewise.
71290 2011-06-09  Roland McGrath  <roland@hack.frob.com>
71292         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
71293         * elf/Makefile ($(objpfx)librtld.os): Likewise.
71294         (reloc-link): Likewise.
71296 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
71298         * elf/Makefile: Add rules to build pldd.
71299         * elf/pldd.c: New file.
71300         * elf/pldd-xx.c: New file.
71302 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
71304         * version.h: Update for 2.15 development version.
71306 2011-06-07  David S. Miller  <davem@davemloft.net>
71308         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
71309         ifuncs.
71310         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
71311         elf_machine_lazy_rel): Likewise.
71312         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
71313         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
71314         elf_machine_lazy_rel): Likewise.
71315         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
71316         dl_hwcap via passed in argument.
71317         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
71318         Likewise.
71320 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71322         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
71324 2011-06-06  Roland McGrath  <roland@hack.frob.com>
71326         [BZ #12849]
71327         * manual/fdl-1.1.texi: New file, verbatim from:
71328         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
71329         * manual/lgpl-2.1.texi: New file, verbatim from:
71330         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
71331         * manual/Makefile (licenses): New variable, list those new file names.
71332         (texis): Use it.
71333         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
71335         * manual/fdl.texi: File removed.
71336         * manual/lesser.texi: File removed.
71337         * manual/libc.texinfo (Copying, Documentation License):
71338         Use new @include file names, put @appendix directive before @include.
71340 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
71342         [BZ #12841]
71343         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
71344         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
71345         (mq_open): Add __NTH.
71347 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
71349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71350         Assume Intel Core i3/i5/i7 processor if AVX is available.
71352 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71354         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71355         typo.
71357 2011-05-31  Andreas Schwab  <schwab@redhat.com>
71359         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
71360         memory.  Use alloca_account.  Fix memory leak when retrying.
71362 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71364         * version.h (RELEASE): Bump for 2.14 release.
71365         * include/features.h (__GLIBC_MINOR__): Bump to 14.
71367         * config.make.in (RANLIB): Remove entry.
71369 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
71371         * po/Makefile (po-sed-cmd): Add ksh to extensions.
71372         (libc.pot): Work around missing support for .ksh extension in xgettext.
71374         [BZ #12684]
71375         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
71376         if both request failed.
71377         (send_dg): In case of server errors clear resplen or *resplen2.
71379         [BZ #12454]
71380         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
71381         when there are multiple maps.
71382         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
71383         (_dl_fini): Remove test here.
71385         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
71387 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
71389         [BZ #12350]
71390         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
71391         bit from old_res_options.
71392         (gaih_inet): Likewise.
71394         [BZ #11099]
71395         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
71396         as signed.
71398         * resolv/res_init.c (res_setoptions): Make the code more compact.
71400         [BZ #11558]
71401         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
71402         set RES_USEVC.
71404         [BZ #11634]
71405         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
71407         * malloc/malloc.h: Mark malloc hook variables as deprecated.
71409         [BZ #11781]
71410         * malloc/malloc.h: Declare malloc hook variables as volatile.
71412         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
71413         in last patch.
71415         [BZ #11799]
71416         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
71417         raise in the comment.
71418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71419         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71420         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
71422 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
71424         [BZ #12811]
71425         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
71426         grow the buffers more if it already has to be sufficient.
71427         (build_wcs_upper_buffer): Likewise.
71428         * posix/regexec.c (check_matching): Likewise.
71429         (clean_state_log_if_needed): Likewise.
71430         (extend_buffers): Don't enlarge buffers beyond size of the input
71431         buffer.
71432         Patches mostly by Emil Wojak <emil@wojak.eu>.
71433         * posix/bug-regex32.c: New file.
71434         * posix/Makefile (tests): Add bug-regex32.
71436         * locale/findlocale.c (_nl_find_locale): Return right away if
71437         _nl_explode_name failed.
71438         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
71440         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
71442         * debug/xtrace.sh: Unify messages.
71443         * malloc/memusage.sh: Likewise.
71445         [BZ #12813]
71446         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
71447         time symbol from vDSO.  Substitute with vsyscall if not available.
71448         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
71449         __vdso_time.
71451         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
71452         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
71453         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
71454         Add sendmmsg and internal_sendmmsg.
71455         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
71456         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
71457         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
71459         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
71460         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
71461         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
71463 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
71465         [BZ #12813]
71466         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
71467         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
71468         available.
71469         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
71470         __vdso_getcpu.
71472         [BZ #12814]
71473         * iconvdata/Makefile (tests): Add bug-iconv9.
71474         * iconvdata/bug-iconv9.c: New file.
71476 2011-05-27  Andreas Schwab  <schwab@redhat.com>
71478         [BZ #12814]
71479         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
71481 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
71483         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71484         (struct user_regs_struct): Change intcs field back to cs.
71486 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
71488         * po/ja.po: Update from translation team.
71490 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
71492         [BZ #12795]
71493         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
71494         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
71496 2011-05-20  Andreas Schwab  <schwab@redhat.com>
71498         * stdlib/longlong.h: Update from GCC.
71500 2011-05-23  Andreas Schwab  <schwab@redhat.com>
71502         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
71503         parameter name.
71504         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
71505         Add parameter name.
71506         (__sysconf): Pass it down.
71508 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
71510         [BZ #12671]
71511         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
71512         some situations.
71513         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
71514         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
71515         add in in __libc_use_alloca calls.  Adjust callers.
71516         (glob): Use malloc in some situations.
71518         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
71519         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
71520         pltexit.
71522 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
71524         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
71525         and CLOCK_BOOTTIME_ALARM.
71527         [BZ #12782]
71528         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
71529         is returned.
71531         * string/_strerror.c (__strerror_r): Print negative errors as signed
71532         numbers.
71534         [BZ #12777]
71535         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
71536         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
71537         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
71539         * configure.in: Fix typo in redirection and correct removal of test
71540         files in two cases.
71542         [BZ #12788]
71543         * locale/setlocale.c (new_composite_name): Fix test to check for
71544         identical name of all categories.
71546         [BZ #12792]
71547         * libio/filedoalloc.c (local_isatty): New function.
71548         (_IO_file_doallocate): Use local_isatty.
71549         * stdio-common/perror.c (perror): In case a new stream is used
71550         forward the stream error.
71551         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
71552         error flag.
71554 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
71556         [BZ #11884]
71557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
71558         alloca.
71559         * include/alloca.h (extend_alloca_account): Define.
71561         [BZ #11857]
71562         * posix/regex.h: Fix comments with documentation of user-accessible
71563         fields after compilation and describe correct free'ing of pattern
71564         after re_compile_pattern.
71565         Patch by Reuben Thomas <rrt@sc3d.org>.
71567 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
71569         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
71570         and -mno-altivec to prevent the compiler from using Altivec and/or
71571         VSX instructions when the corresponding registers are not available.
71573 2011-05-19  Andreas Schwab  <schwab@redhat.com>
71575         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
71577 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
71579         * libio/freopen.c (freopen): Use __dup2, not dup2.
71580         * libio/freopen64.c (freopen64): Likewise.
71582 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71584         [BZ #12775]
71585         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
71586         * math/Makefile (tests): Add test-powl.
71587         (CFLAGS-test-powl.c): Define.
71588         * math/test-powl.c: New file.
71590 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71592         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
71594 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
71596         [BZ #11837]
71597         * iconvdata/gb18030.c: Update to GB18020-2005.
71599 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
71601         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
71602         RE_SYNTAX_POSIX_AWK): Update to match recent development.
71603         Patch by Aharon Robbins <arnold@skeeve.com>.
71605         [BZ #11892]
71606         * stdlib/putenv.c (putenv): Don't always create copy of the variable
71607         on the stack.
71609         [BZ #11895]
71610         * misc/pselect.c (__pselect): Handle timeout value errors hidden
71611         through underflows.
71613         [BZ #12766]
71614         * misc/error.c (error_at_line): Ensure file_name and old_file_name
71615         point to strings before performing equality test for error_one_per_line
71616         mode.
71618         [BZ #11697]
71619         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71621         [BZ #11820]
71622         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71623         (struct user_fpregs_struct): Avoid __uint*_t types.
71625         [BZ #6420]
71626         * malloc/mtrace.c (tr_where): Add additional parameter to point to
71627         symbol info.  Use it instead of calling _dl_addr locally.
71628         (lock_and_info): New function.
71629         (tr_freehook): Call lock_and_info and pass symbol info as additional
71630         parameter to tr_where.
71631         (tr_mallochook): Likewise.
71632         (tr_reallochook): Likewise.
71633         (tr_memalignhook): Likewise.
71635         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
71636         used and couldn't be at all thread-safe.
71638 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
71640         * libio/freopen.c (freopen): Don't close old file descriptor
71641         before the new one is opened.  Instead dup the new file descriptor
71642         to the old one after the new stream is created.
71643         * libio/freopen64.c (freopen64): Likewise.
71644         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71645         * libio/fileops.c (_IO_new_file_close_it): Handle new
71646         _IO_FLAGS2_NOCLOSE flag.
71647         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71648         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71649         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71650         _IO_FLAGS2_NOCLOSE flag.
71651         * include/unistd.h: Add hidden_proto for dup3.
71652         Define __have_dup3.
71653         * io/dup3.c: Define hidden symbol.
71654         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71656         [BZ #7101]
71657         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71658         when an incomplete long option is used.
71659         * posix/tst-getopt_long1.c: New file.
71660         * posix/Makefile (tests): Add tst-getopt_long1.
71662         [BZ #10138]
71663         * scripts/config.guess: Update from autoconf-2.68.
71664         * scripts/config.sub: Likewise.
71666         [BZ #10157]
71667         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
71668         tests into ...
71669         (has_cpuclock): ...this.  New function.
71670         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
71671         macro here based on has_cpuclock code.
71673         [BZ #10149]
71674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71675         First byte (not low byte) is now always NUL.
71676         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
71678         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71679         Use non-cancelable interfaces.
71681         [BZ #9809]
71682         * locale/iso-639.def: Add entry for Sorani.
71684         [BZ #11901]
71685         * include/stdlib.h: Move include protection to the right place.
71686         Define abort_msg_s.  Declare __abort_msg with it.
71687         * stdlib/abort.c (__abort_msg): Adjust type.
71688         * assert/assert.c (__assert_fail_base): New function.  Majority
71689         of code from __assert_fail.  Allocate memory for __abort_msg with
71690         mmap.
71691         (__assert_fail): Now call __assert_fail_base.
71692         * assert/assert-perr.c: Remove bulk of implementation.  Use
71693         __assert_fail_base.
71694         * include/assert.hL Declare __assert_fail_base.
71695         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
71696         mmap.
71697         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
71699 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
71701         [BZ #11952]
71702         [BZ #12453]
71703         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71704         until all modules are registered in the DTV.
71705         * elf/Makefile: Add rules to build and run tst-tls19.
71706         * elf/tst-tls19.c: New file.
71707         * elf/tst-tls19mod1.c: New file.
71708         * elf/tst-tls19mod2.c: New file.
71709         * elf/tst-tls19mod3.c: New file.
71710         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71712         [BZ #12083]
71713         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71714         correctly.
71716         [BZ #12601]
71717         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71718         two-byte sequence errors.
71719         * iconvdata/Makefile (tests): Add bug-iconv8.
71720         * iconvdata/bug-iconv8.c: New file.
71722         [BZ #12626]
71723         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71724         buf2 definition.
71726         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71728         [BZ #12432]
71729         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71730         (dummy_getcfa): New function.
71731         (init): Get _Unwind_GetCFA address, use dummy if not found.
71732         (backtrace_helper): In recursion check, also check whether CFA changes.
71733         (__backtrace): Completely initialize arg.
71735         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71736         storing incomplete byte sequence in state object.  Avoid testing for
71737         guaranteed too small input if we know there is enough data available.
71739 2011-05-11  Andreas Schwab  <schwab@redhat.com>
71741         * Makeconfig (+link-pie): Indent.
71742         * Rules (binaries-pie): Define if $(have-fpie) and
71743         $(build-shared).
71744         (binaries-shared): Also filter out $(binaries-pie).
71745         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71746         * nscd/Makefile (others-pie): Add nscd.
71747         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71748         ($(objpfx)nscd): Remove command override.
71749         * login/Makefile (others-pie): Add pt_chown.
71750         ($(objpfx)pt_chown): Remove command override.
71751         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71752         remove command overrides.
71754 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71756         * libio/tst_putwc.c: Fix error messages.
71758         [BZ #12724]
71759         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71760         currently writing and seek to current position when not.
71761         * libio/Makefile (tests): Add bug-fclose1.
71762         * libio/bug-fclose1.c: New file.
71764 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71766         [BZ #12511]
71767         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71768         don't set DF_1_NODELETE here.
71769         (do_lookup_x): When entering new entry test for copy relocation
71770         and if necessary set DF_1_NODELETE flag.
71771         * elf/tst-unique4.cc: New file.
71772         * elf/tst-unique4.h: New file.
71773         * elf/tst-unique4lib.cc: New file.
71774         * elf/Makefile: Add rules to build and run tst-unique4.
71775         Patch by Piotr Bury <pbury@goahead.com>.
71777 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71779         [BZ #12052]
71780         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71782         [BZ #12625]
71783         * misc/mntent_r.c (addmntent): Flush the stream after the output
71785         [BZ #12393]
71786         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71787         (is_trusted_path_normalize): Skip initial colon.  Append slash
71788         to empty buffer.  Duplicate is_trusted_path code but allow
71789         constructed patch to be prefix.
71790         (is_dst): Allow $ORIGIN followed by /.
71791         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71792         Correct testing of result of is_trusted_path_normalize
71793         (decompose_rpath): Fix warning.
71795 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71797         [BZ #11257]
71798         * grp/initgroups.c (internal_getgrouplist): When we found the service
71799         list through the initgroups entry in nsswitch.conf do not always
71800         continue on a successful lookup.  Don't always use the
71801         __nss_group_database value if it is set.
71802         * nss/nsswitch.conf (initgroups): Change action for successful db
71803         lookup to continue for compatibility.
71805 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71807         [BZ #11532]
71808         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71809         and CP774 modules.
71810         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71811         and CP774 modules.
71812         * iconvdata/tst-tables.sh: Likewise.
71813         * iconvdata/cp770.c: New file.
71814         * iconvdata/cp771.c: New file.
71815         * iconvdata/cp772.c: New file.
71816         * iconvdata/cp773.c: New file.
71817         * iconvdata/cp774.c: New file.
71818         * iconvdata/testdata/CP770: New file.
71819         * iconvdata/testdata/CP770..UTF8: New file.
71820         * iconvdata/testdata/CP771: New file.
71821         * iconvdata/testdata/CP771..UTF8: New file.
71822         * iconvdata/testdata/CP772: New file.
71823         * iconvdata/testdata/CP772..UTF8: New file.
71824         * iconvdata/testdata/CP773: New file.
71825         * iconvdata/testdata/CP773..UTF8: New file.
71826         * iconvdata/testdata/CP774: New file.
71827         * iconvdata/testdata/CP774..UTF8: New file.
71829         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71830         END CHARMAP line.
71831         * iconvdata/gen-8bit-gap.sh: Likewise.
71832         * iconvdata/gen-8bit.sh: Likewise.
71834         * locale/iso-639.def: Add ary entry.
71836         [BZ #11258]
71837         * locale/C-translit.h.in: Add U20A1 transliteration.
71839         [BZ #12178]
71840         * locale/iso-639.def: Add wae entry.
71841         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71843         [BZ #12545]
71844         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71845         for n.
71847         [BZ #12711]
71848         * locale/C-translit.h.in: Add entry for U20B9.
71849         Patch by pravin.d.s@gmail.com.
71851 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71853         [BZ #12713]
71854         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71855         ENAMETOOLONG use generic getcwd.
71856         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71857         in rtld.  Use *stat64.
71858         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71859         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71860         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71861         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71862         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71863         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71864         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71865         __fstatat64 macros.
71866         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71867         * dirent/rewinddir.c: Add libc_hidden_def.
71868         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71869         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71871         * include/dirent.h (__alloc_dir): Add flags parameter.
71872         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71873         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71874         __alloc_dir.
71875         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71876         from fdopendir if O_CLOEXEC is already set.
71878 2011-03-15  Alan Modra  <amodra@gmail.com>
71880         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71881         l_tls_firstbyte_offset non-zero.  Save padding offset in
71882         l_tls_firstbyte_offset for later use.
71883         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71884         freeing static tls block.
71886 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71888         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71889         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71890         being defined by the kernel headers.
71892 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71894         [BZ #12734]
71895         * resolv/resolv.h: Define RES_NOTLDQUERY.
71896         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71897         no-tld-query and set RES_NOTLDQUERY.
71898         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71899         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71900         modern BIND to search name as TLD unless forbidden.
71902 2011-05-07  Petr Baudis  <pasky@suse.cz>
71903             Ulrich Drepper  <drepper@gmail.com>
71905         [BZ #12393]
71906         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71907         (is_trusted_path): ...to here.
71908         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71909         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71910         using is_trusted_path_normalize() in setuid scripts.
71912 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71914         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71915         __BEGIN/__END_DECLS.
71917 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71919         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71920         NSS_STATUS_NOTFOUND if no record was found.
71922 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71924         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71925         (headers-not-in-tirpc): Remove rpc/netdb.h
71926         * resolv/netdb.h: Revert last change.
71928 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71930         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71931         circular dependency between libgcc.a and libc.a.
71933 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71935         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71936         * nis/Makefile: Don't install rpcsvc/*.
71937         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71938         instead of <rpc/types.h>.
71939         (MAXHOSTNAMELEN): Define.
71941 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71943         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71945 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71947         [BZ #12714]
71948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71949         gethostbyname4_r when IPv6 results are possible.
71951 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71953         [BZ #12723]
71954         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71955         _PC_PIPE_BUF handling.
71957 2011-04-30  Bruno Haible  <bruno@clisp.org>
71959         [BZ #12717]
71960         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71961         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71962         to 'int'.
71963         * inet/getnameinfo.c (getnameinfo): Likewise.
71965 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71967         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71968         to groups setting in database lookup.
71969         * nss/nsswitch.conf: Add initgroups entry.
71971 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71973         [BZ #12685]
71974         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71975         mode string.
71976         Patch by Eric Blake <eblake@redhat.com>.
71978 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71980         * sunrpc/Makefile (need-export-routines): Add svc_run.
71981         (routines): Remove svc_run.
71982         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71983         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71984         * sunrpc/svc_run.c (svc_run): Likewise.
71985         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71987 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71989         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71990         problem in reallocation in last patch.
71992 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71994         * sunrpc/Makefile: Move inclusion of Rules.
71996 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71998         * nss/nss_files/files-initgroups.c: New file.
71999         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72000         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72001         _nss_files_initgroups_dyn.
72003 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72005         * elf/elf.h (R_ARM_IRELATIVE): Define.
72007 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72009         * po/ru.po: Update from translation team.
72011 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72013         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72014         dependencies.
72016 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72018         [BZ #12653]
72019         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72020         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72021         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72022         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72023         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72025 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
72027         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72028         differing bytes.
72029         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72030         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72033 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72035         [BZ #12420]
72036         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72037         storing it.
72038         * stdlib/bug-getcontext.c: New file.
72039         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72041 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72043         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72044         instructions into .machine "z9-109".
72045         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72046         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72048 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72050         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72051         between environment variables and auxiliary vector.
72053 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72055         * Makefile: Add rules to build linkobj/libc.so.
72056         * include/libc-symbols.h: Define libc_hidden_nolink.
72057         * include/rpc/auth.h: Mark functions which are to be hidden.
72058         * include/rpc/auth_des.h: Likewise.
72059         * include/rpc/auth_unix.h: Likewise.
72060         * include/rpc/clnt.h: Likewise.
72061         * include/rpc/des_crypt.h: Likewise.
72062         * include/rpc/key_prot.h: Likewise.
72063         * include/rpc/pmap_clnt.h: Likewise.
72064         * include/rpc/pmap_prot.h: Likewise.
72065         * include/rpc/pmap_rmt.h: Likewise.
72066         * include/rpc/rpc_msg.h: Likewise.
72067         * include/rpc/svc.h: Likewise.
72068         * include/rpc/svc_auth.h: Likewise.
72069         * include/rpc/xdr.h: Likewise.
72070         * nis/Makefile: Link all DSOs against linkobj/libc.so.
72071         * nss/Makefile: Likewise.
72072         * sunrpc/Makefile: Don't install headers.  Build library with normal
72073         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
72074         * sunrpc/auth_des.c: Hide exported symbols by default, export some
72075         for the compat linking library.  Remove use of INTDEF/INTUSE.
72076         * sunrpc/auth_none.c: Likewise.
72077         * sunrpc/auth_unix.c: Likewise.
72078         * sunrpc/authdes_prot.c: Likewise.
72079         * sunrpc/authuxprot.c: Likewise.
72080         * sunrpc/clnt_gen.c: Likewise.
72081         * sunrpc/clnt_perr.c: Likewise.
72082         * sunrpc/clnt_raw.c: Likewise.
72083         * sunrpc/clnt_simp.c: Likewise.
72084         * sunrpc/clnt_tcp.c: Likewise.
72085         * sunrpc/clnt_udp.c: Likewise.
72086         * sunrpc/clnt_unix.c: Likewise.
72087         * sunrpc/des_crypt.c: Likewise.
72088         * sunrpc/des_soft.c: Likewise.
72089         * sunrpc/get_myaddr.c: Likewise.
72090         * sunrpc/key_call.c: Likewise.
72091         * sunrpc/key_prot.c: Likewise.
72092         * sunrpc/netname.c: Likewise.
72093         * sunrpc/pm_getmaps.c: Likewise.
72094         * sunrpc/pm_getport.c: Likewise.
72095         * sunrpc/pmap_clnt.c: Likewise.
72096         * sunrpc/pmap_prot.c: Likewise.
72097         * sunrpc/pmap_prot2.c: Likewise.
72098         * sunrpc/pmap_rmt.c: Likewise.
72099         * sunrpc/publickey.c: Likewise.
72100         * sunrpc/rpc_cmsg.c: Likewise.
72101         * sunrpc/rpc_common.c: Likewise.
72102         * sunrpc/rpc_dtable.c: Likewise.
72103         * sunrpc/rpc_prot.c: Likewise.
72104         * sunrpc/rpc_thread.c: Likewise.
72105         * sunrpc/rtime.c: Likewise.
72106         * sunrpc/svc.c: Likewise.
72107         * sunrpc/svc_auth.c: Likewise.
72108         * sunrpc/svc_authux.c: Likewise.
72109         * sunrpc/svc_raw.c: Likewise.
72110         * sunrpc/svc_run.c: Likewise.
72111         * sunrpc/svc_simple.c: Likewise.
72112         * sunrpc/svc_tcp.c: Likewise.
72113         * sunrpc/svc_udp.c: Likewise.
72114         * sunrpc/svc_unix.c: Likewise.
72115         * sunrpc/svcauth_des.c: Likewise.
72116         * sunrpc/xcrypt.c: Likewise.
72117         * sunrpc/xdr.c: Likewise.
72118         * sunrpc/xdr_array.c: Likewise.
72119         * sunrpc/xdr_float.c: Likewise.
72120         * sunrpc/xdr_intXX_t.c: Likewise.
72121         * sunrpc/xdr_mem.c: Likewise.
72122         * sunrpc/xdr_rec.c: Likewise.
72123         * sunrpc/xdr_ref.c: Likewise.
72124         * sunrpc/xdr_sizeof.c: Likewise.
72125         * sunrpc/xdr_stdio.c: Likewise.
72127 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
72129         [BZ #12650]
72130         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
72131         * sysdeps/ia64/dl-tls.h: Likewise.
72132         * sysdeps/powerpc/dl-tls.h: Likewise.
72133         * sysdeps/s390/dl-tls.h: Likewise.
72134         * sysdeps/sh/dl-tls.h: Likewise.
72135         * sysdeps/sparc/dl-tls.h: Likewise.
72136         * sysdeps/x86_64/dl-tls.h: Likewise.
72137         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
72139 2011-03-14  Andreas Schwab  <schwab@redhat.com>
72141         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
72142         rpath element also skip the following colon.
72143         (expand_dynamic_string_token): Add is_path parameter and pass
72144         down to DL_DST_REQUIRED and _dl_dst_substitute.
72145         (decompose_rpath): Call expand_dynamic_string_token with
72146         non-zero is_path.  Ignore empty rpaths.
72147         (_dl_map_object_from_fd): Call expand_dynamic_string_token
72148         with zero is_path.
72150 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
72152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72153         Make cancelable.
72155 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
72157         [BZ #12655]
72158         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
72159         Patch by Filipe David Manana <fdmanana@apache.org>.
72161 2011-04-07  Andreas Schwab  <schwab@redhat.com>
72163         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
72164         Maintain aligned stack.
72165         (CHECK_RSP): Remove unused macro.
72167 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
72169         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
72170         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
72172 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
72174         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
72176         * include/features.h: Mention __USE_XOPEN2K8 in comment.
72178 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
72180         [BZ #12518]
72181         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
72182         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
72183         * sysdeps/x86_64/memmove.c: New file.
72184         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
72185         (memcpy): Renamed to ...
72186         (__new_memcpy): This.
72187         (memcpy): Provide GLIBC_2_14 memcpy.
72188         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
72189         (memcpy): Provide GLIBC_2_2_5 memcpy.
72191 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72193         [BZ #12631]
72194         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
72196 2011-03-30  Andreas Schwab  <schwab@redhat.com>
72198         * misc/syncfs.c: New file.
72199         * misc/Makefile (routines): Add syncfs.
72200         * posix/unistd.h: Declare syncfs.
72201         * sysdeps/unix/syscalls.list: Add syncfs.
72203 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72205         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
72206         open_by_handle_at.
72207         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72208         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72209         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72210         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72212         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
72213         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72215 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72217         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
72218         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72219         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
72220         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72221         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72223         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72225         * io/Makefile: Compile fallocate.c, fallocate64.c, and
72226         sync_file_range.c with -fexceptions.
72227         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
72228         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
72229         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
72230         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
72231         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
72232         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72233         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
72234         sync_file_range as cancellation point
72235         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
72236         now a wrapper around __call_sync_file_range with cancellation handling.
72237         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
72238         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
72239         function name to __call_sync_file_range.
72240         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
72241         Add call_sync_file_range.
72243 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72245         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72246         bits/timex.h.
72248 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72250         * iconv/iconv.h: Fix typo in comment.
72251         * io/fcntl.h: Likewise.
72252         * libio/stdio.h: Likewise.
72253         * posix/spawn.h: Likewise.
72254         * posix/unistd.h: Likewise.
72255         * stdlib/stdlib.h: Likewise.
72256         * time/time.h: Likewise.
72257         * wcsmbs/wchar.h: Likewise.
72259         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
72260         open_by_handle): Add.
72261         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
72262         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
72263         Augment a few comments.
72264         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72265         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72266         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72268         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72269         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
72270         open_by_handle.
72272         * io/fcntl.h (AT_EMPTY_PATH): Define.
72274 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
72276         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
72277         * sysdeps/unix/sysv/linux/bits/time.h: New file.
72278         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
72279         to...
72280         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
72281         * Versions.def: Add GLIBC_2.14.
72282         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
72283         Export.
72285 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
72287         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
72288         round counter.
72289         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72291 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72293         [BZ #12597]
72294         * string/test-strncmp.c (do_page_test): New function.
72295         (check2): Likewise.
72296         (test_main): Call check2.
72297         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
72299 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
72301         [BZ #12587]
72302         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
72303         Handle cache information in CPU leaf 4.
72304         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72306 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
72308         [BZ #12583]
72309         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
72310         character representation.
72311         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
72313 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
72315         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
72316         END(__isnan) to END(__isnanf) to match function entry point/label
72317         EALIGN(__isnanf,...).
72319 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
72321         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
72323 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
72325         [BZ #12510]
72326         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
72327         copy from the symbol referenced in the relocation to initialize the
72328         used variable.
72329         Patch by Piotr Bury <pbury@goahead.com>.
72330         * elf/Makefile: Add rules to build and tst-unique3.
72331         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
72332         * elf/tst-unique3.cc: New file.
72333         * elf/tst-unique3.h: New file.
72334         * elf/tst-unique3lib.cc: New file.
72335         * elf/tst-unique3lib2.cc: New file.
72337         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
72339 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
72341         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
72342         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
72343         to _start.
72345 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
72347         * elf/dl-load.c (_dl_map_object): If we are looking for the first
72348         to-be-loaded object along a path to loader is ld.so.
72350 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72351             Ulrich Drepper  <drepper@gmail.com>
72353         * sysdeps/x86_64/memset.S: After aligning destination, code
72354         branches to different locations depending on the value of
72355         misalignment, when multiarch is enabled. Fix this.
72357 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72359         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
72360         Set _x86_64_preferred_memory_instruction for AMD processsors.
72361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72362         Set bit_Prefer_SSE_for_memop for AMD processors.
72364 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
72366         * libio/fmemopen.c (fmemopen): Optimize a bit.
72368 2011-03-03  Andreas Schwab  <schwab@redhat.com>
72370         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
72372 2011-03-03  Roland McGrath  <roland@redhat.com>
72374         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
72376 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
72378         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
72379         __bzero_ultra1 instead of __memset_ultra1.
72381 2011-02-23  Andreas Schwab  <schwab@redhat.com>
72382             Ulrich Drepper  <drepper@gmail.com>
72384         [BZ #12509]
72385         * include/link.h (struct link_map): Add l_orig_initfini.
72386         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
72387         returning unsuccessfully.
72388         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
72389         close of a file loaded at startup, restore the original l_initfini
72390         list.
72391         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
72392         list, store the pointer.
72393         * elf/Makefile ($(objpfx)noload-mem): New rule.
72394         (noload-ENV): Define.
72395         (tests): Add $(objpfx)noload-mem.
72396         * elf/noload.c: Include <memcheck.h>.
72397         (main): Call mtrace.  Close all opened handles.
72399 2011-02-17  Andreas Schwab  <schwab@redhat.com>
72401         [BZ #12454]
72402         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
72403         dependencies are missing.
72405 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72407         Fix __if_freereq crash: Unlike the generic version which uses free,
72408         Hurd needs munmap.
72409         * sysdeps/mach/hurd/ifreq.h: New file.
72411 2011-01-27  Petr Baudis  <pasky@suse.cz>
72412             Ulrich Drepper  <drepper@gmail.com>
72414         [BZ 12445]#
72415         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
72416         to extend_alloca().
72417         * stdio-common/bug23.c: New file.
72418         * stdio-common/Makefile (tests): Add bug23.
72420 2010-09-28  Andreas Schwab  <schwab@redhat.com>
72421             Ulrich Drepper  <drepper@gmail.com>
72423         [BZ #12489]
72424         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
72425         before performing relro protection.  At old place add assertion
72426         to make sure nothing changed.
72428 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
72429             Glauber de Oliveira Costa  <glommer@gmail.com>
72431         * elf/elf.h: Add new ARM TLS relocs.
72433 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
72435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72436         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
72437         cast from r3.
72438         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
72439         'tests' variable.
72440         * sysdeps/wordsize-64/tst-writev.c: New file.
72442 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
72444         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
72445         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
72446         insns in _dl_start to prevent a TOC reference before relocs are
72447         resolved.
72449 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
72451         [BZ #12469]
72452         * Makeconfig: Remove RANLIB definition.
72453         * Makerules: Don't use RANLIB.
72454         * aclocal.m4: Remove ranlib test.
72455         * configure.in: No need to check for ranlib.
72456         * elf/rtld-Rules: Don't use RANLIB.
72458 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72460         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
72461         protection macro.
72462         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
72463         inclusion protection macro.
72465         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
72466         SIGRTMIN and SIGRTMAX and print information in that case only when
72467         SIGRTMIN is defined.
72469 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
72471         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
72472         arginfo fn returning -1.
72474         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
72475         and thousands string is zero terminated.
72477 2011-02-03  Andreas Schwab  <schwab@redhat.com>
72479         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
72480         sysdeps/unix/sysv/linux/bits/socket.h.
72482 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72484         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
72485         (__CPU_COUNT): Remove old macros.
72486         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
72487         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
72488         (__CPU_ALLOC, __CPU_FREE): Add macros.
72489         (__sched_cpualloc, __sched_cpufree): Add declarations.
72491 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
72493         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
72494         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
72495         * nscd/aicache.c (addhstaiX): Return timeout of added value.
72496         (readdhstai): Return value of addhstaiX call.
72497         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
72498         (addgrbyX): Return value returned by cache_addgr.
72499         (readdgrbyname): Return value returned by addgrbyX.
72500         (readdgrbygid): Likewise.
72501         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
72502         (addpwbyX): Return value returned by cache_addpw.
72503         (readdpwbyname): Return value returned by addhstbyX.
72504         (readdpwbyuid): Likewise.
72505         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
72506         (addservbyX): Return value returned by cache_addserv.
72507         (readdservbyname): Return value returned by addservbyX:
72508         (readdservbyport): Likewise.
72509         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
72510         (addhstbyX): Return value returned by cache_addhst.
72511         (readdhstbyname): Return value returned by addhstbyX.
72512         (readdhstbyaddr): Likewise.
72513         (readdhstbynamev6): Likewise.
72514         (readdhstbyaddrv6): Likewise.
72515         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
72516         (readdinitgroups): Return value returned by addinitgroupsX.
72517         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
72518         (prune_cache): Keep track of timeout value of re-added entries.
72519         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
72520         * nscd/nscd.h: Adjust prototypes of readd* functions.
72522 2011-02-04  Roland McGrath  <roland@redhat.com>
72524         * nis/nis_server.c (nis_servstate): Use the right name for 0.
72525         (nis_stats): Likewise.
72526         * nis/nis_modify.c (nis_modify): Likewise.
72527         * nis/nis_remove.c (nis_remove): Likewise.
72528         * nis/nis_add.c (nis_add): Likewise.
72530         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
72532         * posix/fnmatch_loop.c: Add some consts.
72534         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
72536 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
72538         [BZ #12460]
72539         * config.make.in (config-cflags-novzeroupper): Define.
72540         * configure.in: Substitute libc_cv_cc_novzeroupper.
72541         * elf/Makefile (AVX-CFLAGS): Define.
72542         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
72543         (CFLAGS-tst-auditmod4a.c): Likewise.
72544         (CFLAGS-tst-auditmod4b.c): Likewise.
72545         (CFLAGS-tst-auditmod6b.c): Likewise.
72546         (CFLAGS-tst-auditmod6c.c): Likewise.
72547         (CFLAGS-tst-auditmod7b.c): Likewise.
72548         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
72550 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
72552         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
72553         function to the callback.
72554         Patch partly by Jiri Olsa <jolsa@redhat.com>.
72556 2011-02-02  Andreas Schwab  <schwab@redhat.com>
72558         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
72559         of errno.
72561 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
72563         [BZ #11724]
72564         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
72565         of constructors.
72566         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
72567         of destructors.
72568         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
72570         [BZ #11724]
72571         * elf/Makefile: Add rules to build and run new test.
72572         * elf/tst-initorder.c: New file.
72573         * elf/tst-initorder.exp: New file.
72574         * elf/tst-initordera1.c: New file.
72575         * elf/tst-initordera2.c: New file.
72576         * elf/tst-initordera3.c: New file.
72577         * elf/tst-initordera4.c: New file.
72578         * elf/tst-initorderb1.c: New file.
72579         * elf/tst-initorderb2.c: New file.
72580         * elf/tst-order-a1.c: New file.
72581         * elf/tst-order-a2.c: New file.
72582         * elf/tst-order-a3.c: New file.
72583         * elf/tst-order-a4.c: New file.
72584         * elf/tst-order-b1.c: New file.
72585         * elf/tst-order-b2.c: New file.
72586         * elf/tst-order-main.c: New file.
72587         New test case by George Gensure <werkt0@gmail.com>.
72589 2010-10-01  Andreas Schwab  <schwab@redhat.com>
72591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72592         decoding ACE if AI_CANONIDN.
72594 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
72596         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
72598 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
72600         * version.h (RELEASE): Bump for 2.13 release.
72601         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
72603         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
72605         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
72606         MADV_NOHUGEPAGE.
72607         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
72608         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
72609         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72610         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72611         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72612         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72614         * posix/getconf.c: Update copyright year.
72615         * catgets/gencat.c: Likewise.
72616         * csu/version.c: Likewise.
72617         * debug/catchsegv.sh: Likewise.
72618         * debug/xtrace.sh: Likewise.
72619         * elf/ldconfig.c: Likewise.
72620         * elf/ldd.bash.in: Likewise.
72621         * elf/sprof.c (print_version): Likewise.
72622         * iconv/iconv_prog.c: Likewise.
72623         * iconv/iconvconfig.c: Likewise.
72624         * locale/programs/locale.c: Likewise.
72625         * locale/programs/localedef.c: Likewise.
72626         * malloc/memusage.sh: Likewise.
72627         * malloc/mtrace.pl: Likewise.
72628         * nscd/nscd.c (print_version): Likewise.
72629         * nss/getent.c: Likewise.
72631         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72632         PF_CAIF, and PF_ALG.
72633         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72635 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
72637         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72638         (modules-names): Use them.
72639         (ifunc-test-modules, ifunc-pie-tests): Define.
72640         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72641         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72642         (test-extras): Likewise.
72643         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72644         $(compile-command.c).
72645         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72646         (all-built-dso): Define.
72647         (check-textrel.out, check-execstack.out): Depend on it.
72649         * configure.in: Don't override --enable-multi-arch.
72651 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
72653         [BZ #6812]
72654         * nscd/hstcache.c (tryagain): Define.
72655         (cache_addhst): Return tryagain not notfound for temporary errors.
72656         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72657         failed.
72659 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
72661         [BZ #10563]
72662         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
72663         to make the syscall.
72664         * sysdeps/unix/sysv/linux/setgroups.c: New file.
72666         [BZ #12378]
72667         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
72668         and fall back to matching as normal character if the string ends before
72669         the matching ']' is found.  This is what POSIX requires.
72670         * posix/testfnm.c: Adjust test result.
72671         * posix/globtest.sh: Adjust test result.  Add new test.
72672         * posix/tst-fnmatch.input: Likewise.
72673         * posix/tst-fnmatch2.c: Add new test.
72675 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
72677         * elf/Makefile (check-execstack): Revert last change.  Depend on
72678         check-execstack.h.
72679         (check-execstack.h): New target.
72680         (generated): Add check-execstack.h.
72681         * elf/check-execstack.c: Include "check-execstack.h".
72682         (main): Revert last change.
72683         (handle_file): Return zero if GNU_STACK is absent and
72684         DEFAULT_STACK_PERMS doesn't include PF_X.
72686 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
72688         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
72689         in child fails because the descriptor is already closed.
72690         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
72691         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
72692         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
72694         [BZ #12397]
72695         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
72696         syscall.
72698         [BZ #10484]
72699         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
72700         temporary buffer used to handle multi lookups locally.
72701         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
72703 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72705         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72706         loader is ld.so.
72708 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
72710         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72711         alignment for SSE2.
72713 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72715         [BZ #12394]
72716         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72717         characters.  When rounding increased number of integer digits recompute
72718         number of groups.
72719         * stdio-common/tst-grouping.c: New file.
72720         * stdio-common/Makefile: Add rules to build and run tst-grouping.
72722 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
72724         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72725         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
72727         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72728         void.
72729         * bits/select.h: Likewise.
72731 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
72733         * po/ja.po: Update from translation team.
72735 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
72737         [BZ #11155]
72738         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72739         implementation just like for lxstat, fxstatat, et al.
72741 2010-12-27  Jim Meyering  <meyering@redhat.com>
72743         [BZ #12348]
72744         * posix/regexec.c (build_trtable): Return failure indication upon
72745         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
72747 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
72749         [BZ #12201]
72750         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72751         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72752         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72753         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72755         [BZ #12207]
72756         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72758         [BZ #12204]
72759         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72760         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72762 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72764         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72765         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72766         script has SORT_BY_INIT_PRIORITY.
72767         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72768         NO_CTORS_DTORS_SECTIONS is defined.
72769         * elf/soinit.c: Likewise.
72770         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72771         NO_CTORS_DTORS_SECTIONS is defined.
72772         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72773         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72774         * sysdeps/sh/init-first.c: Likewise.
72775         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72777 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72779         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72780         always use the slow path.
72782 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72784         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72785         similar rule which adds the sysdep directories to the header search in
72786         order to pick up the correct platform stackinfo.h.
72787         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72788         perform test if it is, otherwise return successfully without testing.
72789         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72790         DEFAULT_STACK_PERMS define in stackinfo.h.
72791         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72792         defined in stackinfo.h.
72793         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72794         DEFAULT_STACK_PERMS defined in stackinfo.h.
72795         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72796         * sysdeps/ia64/stackinfo.h: Likewise.
72797         * sysdeps/s390/stackinfo.h: Likewise.
72798         * sysdeps/sh/stackinfo.h: Likewise.
72799         * sysdeps/sparc/stackinfo.h: Likewise.
72800         * sysdeps/x86_64/stackinfo.h: Likewise.
72801         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72802         PF_X for powerpc64.  Retain PF_X for powerpc32.
72804 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72806         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72807         accurately.
72808         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72809         GETDENTS_64BIT_ALIGNED.
72811 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72813         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72815 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72817         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72818         _GNU_SOURCE.
72820         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72821         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72822         Remove __restrict.
72823         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72824         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72826 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72828         [BZ #11655]
72829         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72830         are initialized.
72832 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72834         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72836 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72838         * po/it.po: Update from translation team.
72840 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72843         unused codes.
72845 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72847         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72849 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72851         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72852         specially.
72853         (gaih_getanswer_slice): Likewise.
72855 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72859 2010-05-31  Petr Baudis  <pasky@suse.cz>
72861         [BZ #11149]
72862         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72863         silently even in the chroot mode.
72865 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72867         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72868         last patch a bit.  Pretty printing
72870 2010-05-31  Petr Baudis <pasky@suse.cz>
72872         [BZ #10085]
72873         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72874         initialization of skip_initgroups_dyn.
72876 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72878         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72879         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72881 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72883         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72885 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72887         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72888         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72889         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72890         ($(objpfx)tst-fnmatch-mem): New rule.
72891         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72892         * posix/tst-fnmatch.c (main): Call mtrace.
72894 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72897         Support Intel processor model 6 and model 0x2c.
72899 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72901         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72902           signed comparison.
72904 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72906         [BZ #12205]
72907         * string/test-strncasecmp.c (check_result): New function.
72908         (do_one_test): Use it.
72909         (check1): New function.
72910         (test_main): Use it.
72911         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72912         Support strcasecmp and strncasecmp.
72914 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72916         [BZ #12194]
72917         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72918         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72920 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72922         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72923         IFUNC support.
72924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72925         memset-x86-64.
72926         * sysdeps/x86_64/multiarch/bzero.S: New file.
72927         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72928         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72929         * sysdeps/x86_64/multiarch/memset.S: New file.
72930         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72932         Set bit_Prefer_SSE_for_memop for Intel processors.
72933         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72934         Define.
72935         (index_Prefer_SSE_for_memop): Define.
72936         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72938 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72940         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72941         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72943 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72945         [BZ #12191]
72946         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72947         (__x86_64_raw_data_cache_size_half): Likewise.
72948         (__x86_64_raw_shared_cache_size): Likewise.
72949         (__x86_64_raw_shared_cache_size_half): Likewise.
72951         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72952         (__x86_64_raw_data_cache_size_half): Likewise.
72953         (__x86_64_raw_shared_cache_size): Likewise.
72954         (__x86_64_raw_shared_cache_size_half): Likewise.
72955         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72956         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72957         and __x86_64_raw_shared_cache_size_half.  Round
72958         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72959         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72960         to multiple of 256 bytes.
72962 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72964         [BZ #12167]
72965         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72966         of inacessible symlinks.  Verify result of symlink before returning it.
72967         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72968         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72970 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72972         * math/math.h (isinf): Fix typo in comment.
72974 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72976         * po/da.po: Update from translation team.
72978 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72980         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72981         is added to the list.
72983 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72984             Ulrich Drepper  <drepper@gmail.com>
72986         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72987         the global list here.  Move code to...
72988         (_dl_add_to_namespace_list): ...here.  New function.
72989         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72990         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72991         * elf/dl-load.c (lose): Don't remove the element from the list.
72992         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72993         (_dl_map_object): Likewise.
72995 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72997         [BZ #12159]
72998         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72999         into all bytes of SSE register.
73000         Patch by Richard Li <richardpku@gmail.com>.
73002 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73004         [BZ #12140]
73005         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73006         perturbing.
73008 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73010         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73011         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73012         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73013         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73015         submachine.
73016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73018 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73020         * include/dlfcn.h (__RTLD_SECURE): Define.
73021         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73022         mode & __RTLD_SECURE instead.
73023         (open_path): Rename preloaded parameter to secure.
73024         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73025         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73026         * elf/dl-deps.c (openaux): Likewise.
73027         * elf/rtld.c (struct map_args): Remove is_preloaded.
73028         (map_doit): Don't use it.
73029         (dl_main): Likewise.
73030         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73031         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73033 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73035         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73036         (sysd-rules-targets): Remove duplicates.
73037         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73038         rtld-%.$o dependency.
73040 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73042         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73043         _dl_map_object do it.
73045 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73047         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73048         fast fma builtins, define the macros in the C99 standard.
73049         (FP_FAST_FMAF): Likewise.
73050         (FP_FAST_FMAL): Likewise.
73051         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73053         * bits/mathdef.h: Update copyright year.
73054         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73056 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73058         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73059         builtins, define the macros in the C99 standard.
73060         (FP_FAST_FMAF): Likewise.
73061         (FP_FAST_FMAL): Likewise.
73062         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73063         multiply/add.
73064         (FP_FAST_FMAF): Likewise.
73066 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
73068         [BZ #3268]
73069         * math/libm-test.inc (fma_test): Some new testcases.
73070         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73071         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73072         y and infinite z.  Do multiplication by C already in long double.
73073         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73075         y and infinite z.  Do bitwise or of inexact bit into u.d.
73076         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73077         * sysdeps/i386/fpu/s_fmaf.S: Removed.
73078         * sysdeps/i386/fpu/s_fma.S: Removed.
73079         * sysdeps/i386/fpu/s_fmal.S: Removed.
73081 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
73083         [BZ #3268]
73084         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73086         computation is not scheduled after fetestexcept.  Fix value
73087         of minimum denormal long double.
73089 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
73091         [BZ #3268]
73092         * math/libm-test.inc (fma_test): Add some more tests.
73093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73094         correctly.
73096 2010-10-15  Andreas Schwab  <schwab@redhat.com>
73098         * scripts/data/localplt-s390-linux-gnu.data: New file.
73099         * scripts/data/localplt-s390x-linux-gnu.data: New file.
73101 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
73103         [BZ #3268]
73104         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73105         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73106         instead of dbl-64.
73107         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73108         inlines.
73109         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73110         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73111         if one of x and y is very large and the other is subnormal.
73112         * sysdeps/s390/fpu/s_fmaf.c: New file.
73113         * sysdeps/s390/fpu/s_fma.c: New file.
73114         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73115         * sysdeps/powerpc/fpu/s_fma.S: New file.
73116         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73117         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73118         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73120 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
73122         [BZ #3268]
73123         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73124         fma tests.
73125         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73126         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73127         * sysdeps/i386/i686/multiarch/s_fma.c: Include
73128         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73129         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
73130         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
73131         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
73133 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
73135         [BZ #12078]
73136         * posix/regcomp.c (parse_branch): One more memory leak plugged.
73137         * posix/bug-regex31.input: Add test case.
73139 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73141         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
73142         * posix/bug-regex31.input: New file.
73144         [BZ #12078]
73145         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
73146         (parse_sub_exp): Fix last change, use postorder.
73148         * posix/bug-regex31.c: New file.
73149         * posix/Makefile: Add rules to build and run bug-regex31.
73151         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
73153         [BZ #12078]
73154         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
73156         [BZ #12108]
73157         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
73158         to have entries in sys_siglist.
73160         [BZ #12093]
73161         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
73162         be NULL.
73164 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
73166         [BZ #3268]
73167         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
73168         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
73169         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
73170         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
73171         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73172         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
73173         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
73174         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
73175         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
73176         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
73177         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
73178         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
73179         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
73180         * math/ftestexcept.c (fetestexcept): Likewise.
73181         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
73182         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
73183         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
73184         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
73185         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
73186         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
73187         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73189 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73191         [BZ #12107]
73192         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
73193         newline.
73195 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
73197         * string/bug-strstr1.c: New file.
73198         * string/Makefile: Add rules to build and run bug-strstr1.
73200 2010-10-05  Eric Blake  <eblake@redhat.com>
73202         [BZ #12092]
73203         * string/str-two-way.h (two_way_long_needle): Always clear memory
73204         when skipping input due to the shift table.
73206 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
73208         [BZ #12005]
73209         * malloc/mcheck.c: Handle large requests.
73211         [BZ #12077]
73212         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
73213         for strncmp and strncasecmp.
73214         * string/stratcliff.c: Add tests for strcmp and strncmp.
73215         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
73217 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73219         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
73220         __set_fpscr.
73222 2010-09-30  Andreas Jaeger  <aj@suse.de>
73224         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
73225         (CGROUP_SUPER_MAGIC): Define.
73226         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73227         Handle btrfs and cgroup file systems.
73228         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
73229         Likewise.
73231 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
73233         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
73234         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
73236 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73238         [BZ #12067]
73239         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
73240         trying to locate the ELF header.
73242 2010-09-27  Andreas Schwab  <schwab@redhat.com>
73244         [BZ #11611]
73245         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
73246         Mask out sign-bit copies when constructing f_fsid.
73248 2010-09-24  Petr Baudis <pasky@suse.cz>
73250         * debug/stack_chk_fail_local.c: Add missing licence exception.
73251         * debug/warning-nop.c: Likewise.
73253 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
73255         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
73256         implementing getdents64 using getdents syscall, set d_type if
73257         __ASSUME_GETDENTS32_D_TYPE.
73259 2010-09-16  Andreas Schwab  <schwab@redhat.com>
73261         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
73262         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
73264 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
73266         [BZ #12037]
73267         * posix/unistd.h: Undo change of feature selection for ftruncate from
73268         2010-01-11.
73270 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
73272         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
73273         detection.
73275 2010-09-20  Andreas Schwab  <schwab@redhat.com>
73277         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
73278         fanotify_mark.
73279         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73281 2010-09-14  Andreas Schwab  <schwab@redhat.com>
73283         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
73284         variables after CHECK_SP call.
73285         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
73287 2010-09-13  Andreas Schwab  <schwab@redhat.com>
73288             Ulrich Drepper  <drepper@redhat.com>
73290         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
73291         re-relocationg ld.so.
73292         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
73293         _dl_init_paths call.
73294         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
73295         here anymore.
73297 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
73299         * resolv/res_init.c (__res_vinit): Count the default server we added.
73301 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
73302             Ulrich Drepper  <drepper@redhat.com>
73304         [BZ #11968]
73305         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73306         (____longjmp_chk): Use %ebx for saving value across system call.
73307         Add unwind info.
73309 2010-09-06  Andreas Schwab  <schwab@redhat.com>
73311         * manual/Makefile: Don't mix pattern rules with normal rules.
73313 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73315         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
73316         operation.
73317         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
73318         * libio/iofopncook.c (_IO_cookie_init): Likewise.
73319         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
73320         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
73321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73322         Likewise.
73324 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
73326         [BZ #11979]
73327         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
73328         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
73330 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
73332         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
73333         * sysdeps/x86_64/addmul_1.S: Likewise.
73334         * sysdeps/x86_64/lshift.S: Likewise.
73335         * sysdeps/x86_64/mul_1.S: Likewise.
73336         * sysdeps/x86_64/rshift.S: Likewise.
73337         * sysdeps/x86_64/sub_n.S: Likewise.
73338         * sysdeps/x86_64/submul_1.S: Likewise.
73340 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73342         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
73343         Define __sched_param instead of SCHED_* and sched_param when
73344         <bits/sched.h> is included with __need_schedparam defined.
73345         * bits/sched.h [__need_schedparam]
73346         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
73347         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
73348         (__defined_schedparam): Define to 1.
73349         (__sched_param): New structure, identical to sched_param.
73350         (__need_schedparam): Undefine.
73352 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
73354         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
73355         (epoll_create1): Declare.
73357         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
73359 2010-08-31  Andreas Schwab  <schwab@redhat.com>
73361         [BZ #7066]
73362         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
73363         shifting retval into place.
73365 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
73367         * nis/rpcsvc/nis.h: Update copyright notice.
73368         * nis/rpcsvc/nis.x: Likewise.
73369         * nis/rpcsvc/nis_callback.h: Likewise.
73370         * nis/rpcsvc/nis_callback.x: Likewise.
73371         * nis/rpcsvc/nis_object.x: Likewise.
73372         * nis/rpcsvc/nis_tags.h: Likewise.
73373         * nis/rpcsvc/yp.h: Likewise.
73374         * nis/rpcsvc/yp.x: Likewise.
73375         * nis/rpcsvc/ypupd.h: Likewise.
73376         * nis/yp_xdr.c: Likewise.
73377         * nis/ypupdate_xdr.c: Likewise.
73379         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
73380         mainly the body of pmap_getport.  Add parameters to specify timeouts.
73381         (pmap_getport): Use __libc_rpc_getport.
73382         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
73383         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
73384         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
73386 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
73388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
73389         fanotify_mark.
73391 2010-08-27  Roland McGrath  <roland@redhat.com>
73393         * sysdeps/i386/i686/multiarch/Makefile
73394         (CFLAGS-varshift.c): New variable.
73396 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
73398         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
73399         * sysdeps/i386/i686/multiarch/varshift.c: New file.
73401         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
73403         * sysdeps/x86_64/strlen.S: Minimal code improvement.
73405 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
73407         * sysdeps/x86_64/strlen.S: Unroll the loop.
73408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73409         strlen-sse2 strlen-sse2-bsf.
73410         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
73411         __strlen_no_bsf if bit_Slow_BSF is set.
73412         (__strlen_sse42): Removed.
73413         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
73414         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
73416 2010-08-25  Roland McGrath  <roland@redhat.com>
73418         * sysdeps/x86_64/multiarch/varshift.S: File removed.
73419         * sysdeps/x86_64/multiarch/varshift.c: New file.
73420         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
73421         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
73422         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
73423         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73425 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
73427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73428         strlen-sse2 strlen-sse2-bsf.
73429         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
73430         __strlen_sse2_bsf if bit_Slow_BSF is unset.
73431         (__strlen_sse2): Removed.
73432         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
73433         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
73434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
73435         bit_Slow_BSF for Atom.
73436         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
73437         (index_Slow_BSF): Define.
73438         (HAS_SLOW_BSF): Define.
73440 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
73442         [BZ #10851]
73443         * resolv/res_init.c (__res_vinit): When no server address at all
73444         is given default to loopback.
73446 2010-08-24  Roland McGrath  <roland@redhat.com>
73448         * configure.in: Remove config-name.h generation.
73449         * configure: Regenerated.
73450         * config-name.in: File removed.
73451         * scripts/config-uname.sh: New file.
73452         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
73453         ($(objdir)config-name.h): New target.
73455         * sunrpc/rpc_parse.h: Avoid nested comment.
73457 2010-08-24  Richard Henderson  <rth@redhat.com>
73458             Ulrich Drepper  <drepper@redhat.com>
73459             H.J. Lu  <hongjiu.lu@intel.com>
73461         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
73462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
73463         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
73464         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
73465         _mm_alignr_epi8 with _mm_loadu_si128.
73466         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
73467         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
73468         (__m128i_shift_right): Removed.
73469         * sysdeps/i386/i686/multiarch/varshift.h: New file.
73470         * sysdeps/i386/i686/multiarch/varshift.S: New file.
73471         * sysdeps/x86_64/multiarch/varshift.h: New file.
73472         * sysdeps/x86_64/multiarch/varshift.S: New file.
73474 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
73476         * configure.in: Move assembler checks to before sysdep dir checking.
73478 2010-08-20  Petr Baudis  <pasky@suse.cz>
73480         * LICENSES: Sync the sunrpc license.
73482 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
73484         * sunrpc/auth_des.c: Update copyright notice once again.
73485         * sunrpc/auth_none.c: Likewise.
73486         * sunrpc/auth_unix.c: Likewise.
73487         * sunrpc/authdes_prot.c: Likewise.
73488         * sunrpc/authuxprot.c: Likewise.
73489         * sunrpc/bindrsvprt.c: Likewise.
73490         * sunrpc/clnt_gen.c: Likewise.
73491         * sunrpc/clnt_perr.c: Likewise.
73492         * sunrpc/clnt_raw.c: Likewise.
73493         * sunrpc/clnt_simp.c: Likewise.
73494         * sunrpc/clnt_tcp.c: Likewise.
73495         * sunrpc/clnt_udp.c: Likewise.
73496         * sunrpc/clnt_unix.c: Likewise.
73497         * sunrpc/des_crypt.c: Likewise.
73498         * sunrpc/des_soft.c: Likewise.
73499         * sunrpc/get_myaddr.c: Likewise.
73500         * sunrpc/getrpcport.c: Likewise.
73501         * sunrpc/key_call.c: Likewise.
73502         * sunrpc/key_prot.c: Likewise.
73503         * sunrpc/openchild.c: Likewise.
73504         * sunrpc/pm_getmaps.c: Likewise.
73505         * sunrpc/pm_getport.c: Likewise.
73506         * sunrpc/pmap_clnt.c: Likewise.
73507         * sunrpc/pmap_prot.c: Likewise.
73508         * sunrpc/pmap_prot2.c: Likewise.
73509         * sunrpc/pmap_rmt.c: Likewise.
73510         * sunrpc/rpc/auth.h: Likewise.
73511         * sunrpc/rpc/auth_unix.h: Likewise.
73512         * sunrpc/rpc/clnt.h: Likewise.
73513         * sunrpc/rpc/des_crypt.h: Likewise.
73514         * sunrpc/rpc/key_prot.h: Likewise.
73515         * sunrpc/rpc/netdb.h: Likewise.
73516         * sunrpc/rpc/pmap_clnt.h: Likewise.
73517         * sunrpc/rpc/pmap_prot.h: Likewise.
73518         * sunrpc/rpc/pmap_rmt.h: Likewise.
73519         * sunrpc/rpc/rpc.h: Likewise.
73520         * sunrpc/rpc/rpc_des.h: Likewise.
73521         * sunrpc/rpc/rpc_msg.h: Likewise.
73522         * sunrpc/rpc/svc.h: Likewise.
73523         * sunrpc/rpc/svc_auth.h: Likewise.
73524         * sunrpc/rpc/types.h: Likewise.
73525         * sunrpc/rpc/xdr.h: Likewise.
73526         * sunrpc/rpc_clntout.c: Likewise.
73527         * sunrpc/rpc_cmsg.c: Likewise.
73528         * sunrpc/rpc_common.c: Likewise.
73529         * sunrpc/rpc_cout.c: Likewise.
73530         * sunrpc/rpc_dtable.c: Likewise.
73531         * sunrpc/rpc_hout.c: Likewise.
73532         * sunrpc/rpc_main.c: Likewise.
73533         * sunrpc/rpc_parse.c: Likewise.
73534         * sunrpc/rpc_parse.h: Likewise.
73535         * sunrpc/rpc_prot.c: Likewise.
73536         * sunrpc/rpc_sample.c: Likewise.
73537         * sunrpc/rpc_scan.c: Likewise.
73538         * sunrpc/rpc_scan.h: Likewise.
73539         * sunrpc/rpc_svcout.c: Likewise.
73540         * sunrpc/rpc_tblout.c: Likewise.
73541         * sunrpc/rpc_util.c: Likewise.
73542         * sunrpc/rpc_util.h: Likewise.
73543         * sunrpc/rpcinfo.c: Likewise.
73544         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
73545         * sunrpc/rpcsvc/key_prot.x: Likewise.
73546         * sunrpc/rpcsvc/klm_prot.x: Likewise.
73547         * sunrpc/rpcsvc/mount.x: Likewise.
73548         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
73549         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
73550         * sunrpc/rpcsvc/rex.x: Likewise.
73551         * sunrpc/rpcsvc/rstat.x: Likewise.
73552         * sunrpc/rpcsvc/rusers.x: Likewise.
73553         * sunrpc/rpcsvc/sm_inter.x: Likewise.
73554         * sunrpc/rpcsvc/spray.x: Likewise.
73555         * sunrpc/rpcsvc/yppasswd.x: Likewise.
73556         * sunrpc/rtime.c: Likewise.
73557         * sunrpc/svc.c: Likewise.
73558         * sunrpc/svc_auth.c: Likewise.
73559         * sunrpc/svc_authux.c: Likewise.
73560         * sunrpc/svc_raw.c: Likewise.
73561         * sunrpc/svc_run.c: Likewise.
73562         * sunrpc/svc_simple.c: Likewise.
73563         * sunrpc/svc_tcp.c: Likewise.
73564         * sunrpc/svc_udp.c: Likewise.
73565         * sunrpc/svc_unix.c: Likewise.
73566         * sunrpc/svcauth_des.c: Likewise.
73567         * sunrpc/xcrypt.c: Likewise.
73568         * sunrpc/xdr.c: Likewise.
73569         * sunrpc/xdr_array.c: Likewise.
73570         * sunrpc/xdr_float.c: Likewise.
73571         * sunrpc/xdr_mem.c: Likewise.
73572         * sunrpc/xdr_rec.c: Likewise.
73573         * sunrpc/xdr_ref.c: Likewise.
73574         * sunrpc/xdr_sizeof.c: Likewise.
73575         * sunrpc/xdr_stdio.c: Likewise.
73577         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
73578         handling.
73580 2010-08-19  Andreas Schwab  <schwab@redhat.com>
73582         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
73584 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
73586         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
73587         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
73588         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
73589         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
73590         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
73591         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
73592         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
73593         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
73594         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
73595         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
73596         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
73597         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
73598         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
73599         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
73601 2010-07-26  Anton Blanchard  <anton@samba.org>
73603         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
73604         * malloc/arena.c (heap_trim): Likewise.
73606 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
73608         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
73609         here.  Not...
73610         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
73611         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
73613 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
73615         * sysdeps/i386/elf/Makefile: New file.
73617 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73619         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73620         from fanotify_init.
73621         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73622         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73624 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
73626         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73627         of strncasecmp_l.
73628         * sysdeps/multiarch/strcmp.S: Likewise.
73630 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
73632         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73633         strncase_l-nonascii.
73634         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73635         Add strncase_l-ssse3.
73636         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73637         * sysdeps/x86_64/strcmp.S: Likewise.
73638         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73639         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73640         * sysdeps/x86_64/strncase.S: New file.
73641         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73642         * sysdeps/x86_64/strncase_l.S: New file.
73643         * string/Makefile (strop-tests): Add strncasecmp.
73644         * string/test-strncasecmp.c: New file.
73646         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73647         warning.
73649         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73650         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73652 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73654         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73656 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
73658         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73659         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73660         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73662 2010-05-01  Alan Modra  <amodra@gmail.com>
73664         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
73665         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
73666         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
73667         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
73668         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
73669         tidying.  Don't tail-call __sigjmp_save for static lib.
73670         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
73671         save location.
73672         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
73673         (CALL_MCOUNT): Add eh info, and nop after bl.
73674         (TAIL_CALL_SYSCALL_ERROR): New macro.
73675         (PSEUDO_RET): Use it.
73676         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
73677         Correct save location of integer regs and cr.
73678         (_dl_profile_resolve): Correct cr save location.  Delete nops
73679         after bl when SHARED.  Reduce cfi size a little by better
73680         placement of cfi directives.
73681         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
73682         make a stack frame.  Instead use parm save area as a temp.
73683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
73684         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
73685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
73686         Don't make a stack frame for parent, use parm save area.
73687         Increase child stack frame to 112 bytes.  Don't save unused reg,
73688         and adjust reg usage.  Set up cfi on error recovery and
73689         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
73690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73691         (__makecontext): Add dummy nop after jump to exit.
73692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
73693         Use correct parm save area and cr save, reduce stack frame.
73694         Correct cfi for possible PSEUDO_RET frame setup.
73695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
73696         Branch to local label emitted by PSEUDO_RET rather than
73697         __syscall_error.
73699 2010-08-12  Andreas Schwab  <schwab@redhat.com>
73701         [BZ #11904]
73702         * locale/programs/locale.c (print_assignment): New function.
73703         (show_locale_vars): Use it.
73705 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
73707         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73708         field.
73709         (struct statfs64): Likewise.
73710         (_STATFS_F_FLAGS): Define.
73711         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73712         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73713         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73714         (ST_VALID): Define locally.
73715         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73716         __statvfs_getflags, use the provided value.
73717         * sysdeps/unix/sysv/linux/kernel-features.h: Define
73718         __ASSUME_STATFS_F_FLAGS.
73720         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73722         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73723         Add sys/fanotify.h.
73724         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73725         fanotify_mask for GLIBC_2.13.
73726         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73727         fanotify_init and fanotify_mark.
73728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73729         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73731         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73732         Add prlimit.
73733         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73734         prlimit64 for GLIBC_2.13.
73735         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73736         prlimit64.
73737         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73738         syscall.
73739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73740         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73741         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73742         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73743         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
73744         add prlimit alias.
73745         * sysdeps/unix/sysv/linux/prlimit.c: New file.
73747         [BZ #11903]
73748         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73749         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73751         * nss/Makefile: Add rules to build and run tst-nss-test1.
73752         * shlib-versions: Add entry for libnss_test1.
73753         * nss/nss_test1.c: New file.
73754         * nss/tst-nss-test1.c: New file.
73756         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73757         (__nss_configure_lookup): Set appropriate entry in
73758         __nss_configure_lookup to true.
73759         * nss/nsswitch.h: Define enum with indeces of databases in
73760         databases and __nss_database_custom arrays.  Declare
73761         __nss_database_custom.
73762         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73763         to avoid using nscd when custom rules are installed.
73764         * nss/getXXbyYY_r.c: Likewise.
73765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73767         * nss/nss_files/files-parse.c: Whitespace fixes.
73769 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73771         [BZ #11883]
73772         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73773         * posix/fnmatch_loop.c: Likewise.
73775 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73777         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73778         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73779         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73780         * Versions.def [GLIBC_2.13]: Add.
73782 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73784         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73785         Also fail if tpwd after pwuid call is NULL.
73787 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73789         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73790         when converting to ms.
73792 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73794         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73795         EOPNOTSUPP errors with ENOTTY.
73796         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73797         EOPNOTSUPP errors with ENOTTY.
73799 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73801         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73802         Add strcasecmp_l-ssse3.
73803         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73804         strcasecmp.
73805         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73806         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73807         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73809 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73811         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73813         * string/Makefile (strop-tests): Add strcasecmp.
73814         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73815         strcasecmp_l-nonascii.
73816         (gen-as-const-headers): Add locale-defines.sym.
73817         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73818         * sysdeps/x86_64/strcasecmp.S: New file.
73819         * sysdeps/x86_64/strcasecmp_l.S: New file.
73820         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73821         * sysdeps/x86_64/locale-defines.sym: New file.
73822         * string/test-strcasecmp.c: New file.
73824         * string/test-strcasestr.c: Test both ends of the range of characters.
73825         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73827 2010-07-29  Roland McGrath  <roland@redhat.com>
73829         [BZ #11856]
73830         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73832 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73834         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73835         for ld.so.
73837 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73839         * manual/memory.texi (Malloc Tunable Parameters): Document
73840         M_PERTURB.
73842 2010-07-26  Roland McGrath  <roland@redhat.com>
73844         [BZ #11840]
73845         * configure.in (-fgnu89-inline check): Set and substitute
73846         gnu89_inline, not libc_cv_gnu89_inline.
73847         * configure: Regenerated.
73848         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73850 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73852         * string/test-strnlen.c: New file.
73853         * string/Makefile (strop-tests): Add strnlen.
73854         * string/tester.c (test_strnlen): Add a few more test cases.
73855         * string/tst-strlen.c: Better error reporting.
73857         * sysdeps/x86_64/strnlen.S: New file.
73859 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73861         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73862         lower-latency instructions.
73864 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73866         * string/test-strcasestr.c: New file.
73867         * string/test-strstr.c: New file.
73868         * string/Makefile (strop-tests): Add strstr and strcasestr.
73869         * string/str-two-way.h: Don't undefine MAX.
73870         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73872 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73874         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73875         strcasestr-nonascii.
73876         (CFLAGS-strcasestr-nonascii.c): Define.
73877         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73878         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73879         Remove unused attribute.
73881 2010-07-20  Roland McGrath  <roland@redhat.com>
73883         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73884         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73885         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73886         like LD_HWCAP_MASK can disable hwcaps.
73888 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73890         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73892 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73894         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73895         call in strcasestr.
73896         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73897         __strcasestr_sse42_nonascii.
73898         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73899         strcasestr-nonascii.c.
73900         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73902 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73904         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73905         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73906         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73907         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73909 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73911         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73912         fcntl.
73914 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73916         [BZ #11577]
73917         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73918         dl_signal_cerror.
73920 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73922         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73923         _PC_PIPE_BUF using F_GETPIPE_SZ.
73925 2010-07-05  Roland McGrath  <roland@redhat.com>
73927         * manual/arith.texi (Rounding Functions): Fix rint description
73928         implicit in round description.
73930 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73932         * elf/Makefile: Fix linking for a few tests to make recent linker
73933         happy.
73935 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73937         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73938         $(common-objpfx)libc_nonshared.a.
73940 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73942         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73943         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73944         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73945         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73946         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73947         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73948         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73949         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73964         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73965         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73966         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73967         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73968         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73969         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73970         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73971         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73972         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73973         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73974         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73975         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73991 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73993         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73994         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73995         * string/memmove.c (memmove): Renamed to ...
73996         (MEMMOVE): ...this.  Default to memmove.
73997         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73998         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73999         (END_CHK): Define.
74000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74001         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74002         mempcpy-ssse3-back memmove-ssse3-back.
74003         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74004         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74005         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74006         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74007         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74008         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74009         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74010         * sysdeps/x86_64/multiarch/memmove.c: New file.
74011         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74012         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74013         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74014         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74016         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74017         Define.
74018         (index_Fast_Copy_Backward): Define.
74019         (HAS_ARCH_FEATURE): Define.
74020         (HAS_FAST_REP_STRING): Define.
74021         (HAS_FAST_COPY_BACKWARD): Define.
74023 2010-06-21  Andreas Schwab  <schwab@redhat.com>
74025         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74026         Restore proper fallback handling.
74028 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
74030         [BZ #11701]
74031         * posix/group_member.c (__group_member): Correct checking loop.
74033         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74034         OOM in getpwuid_r correctly.  Return error number when the caller
74035         should return, otherwise -1.
74036         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74037         call returning > 0 value.
74038         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74040 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74042         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74043         libc_nonshared.a from targets in modules-names.
74045 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74047         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74048         requires it.
74050 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74052         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74053         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74054         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74055         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74057 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74059         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74061 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
74063         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74064         and F_GETPIPE_SZ.
74065         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74066         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74068         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74069         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74070         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74072 2010-06-14  Roland McGrath  <roland@redhat.com>
74074         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74076 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
74078         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74079         __REDIRECT followed by __THROW.
74080         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74081         * posix/getopt.h (getopt): Likewise.
74083 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74085         * hurd/lookup-at.c (__file_name_lookup_at): Accept
74086         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
74087         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74088         in AT_FLAGS.
74089         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74090         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74092 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
74094         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74096 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
74098         [BZ #11640]
74099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74100         Properly check family and model.
74102 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
74104         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74106 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
74108         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74110 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
74112         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74113         symbol reference.
74115 2010-05-19  Andreas Schwab  <schwab@redhat.com>
74117         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74118         symbol reference.
74120 2010-05-21  Andreas Schwab  <schwab@redhat.com>
74122         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74123         and internal_recvmmsg.
74124         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74125         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74126         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74127         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74129         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
74130         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74131         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74133 2010-05-20  Andreas Schwab  <schwab@redhat.com>
74135         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
74137 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
74139         POWER7 optimizations.
74140         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
74141         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
74143 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
74145         * version.h: Update for 2.13 development version.
74147 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
74149         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
74150         exceptions.  Return 0.
74152 2010-05-07  Roland McGrath  <roland@redhat.com>
74154         * elf/ldconfig.c (main): Add a const.
74156 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
74158         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
74159         (args_options): Add no-idn option.
74160         (ahosts_keys_int): Add idn_flags to ai_flags.
74161         (parse_option): Handle 'i' option to clear idn_flags.
74163         * malloc/malloc.c (_int_free): Possible race in the most recently
74164         added check.  Only act on the data if no current modification
74165         happened.
74167 See ChangeLog.17 for earlier changes.